[prev in list] [next in list] [prev in thread] [next in thread]
List: selenium-commits
Subject: [Selenium-commits] [JIRA] Commented: (SEL-142)
From: "Mike Williams (JIRA)" <jira () public ! thoughtworks ! org>
Date: 2005-08-26 11:28:37
Message-ID: 29845464.1125055717677.JavaMail.jira () atlassian ! public ! thoughtworks ! org
[Download RAW message or body]
[ http://jira.public.thoughtworks.org/browse/SEL-142?page=comments#action_12117 ] \
Mike Williams commented on SEL-142:
-----------------------------------
Works for me!
Specifically, "TestPatternMatching" (which includes some "exact:" matches) passes in \
Firefox-1.0.6, on my system.
Alexander, can you provide a failing test?
> PatternMatcher.selectStrategy fails on Firefox 1.0.6
> ----------------------------------------------------
>
> Key: SEL-142
> URL: http://jira.public.thoughtworks.org/browse/SEL-142
> Project: Selenium
> Type: Bug
> Versions: 0.5
> Environment: Firefox 1.0.6
> Reporter: Alexander Dvoretskiy
> Assignee: Mike Williams
>
>
> Explicit specification of matching strategy (e.g. "exact:some text") fails in \
> Firefox 1.0.6 The code of PatternMatcher.selectStrategy (lines ~140-143) :
> if (/^([a-zA-Z]+):(.*)/.test(pattern)) {
> strategyName = RegExp.$1;
> pattern = RegExp.$2;
> }
> change with
> var found = pattern.match(/^([a-zA-Z]+):(.*)/);
> if (found) {
> strategyName = found[1];
> pattern = found[2];
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Selenium-commits mailing list
Selenium-commits@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic