Bug 9180
Summary: | Case insensitivity flag in RegExps doesn't work on Intel-based Macs | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nick Piasecki <runningnick531> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap, ddkilzer, ggaren |
Priority: | P2 | Keywords: | InRadar |
Version: | 417.x | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | javascript:alert( "UL".match(/ul/i ) ) |
Nick Piasecki
Paste javascript:alert( "UL".match(/ul/i ) ) into your address bar.
Opera 9 Beta 2, IE 6, and Firefox 1.5 return "UL".
Safari 417.9.3 returns null.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Geoffrey Garen
Works for me in Version 2.0.3 (418.3).
Nick Piasecki
Great news. Should be noted, however, that this bug made it into the released 2.0.3 version (417.9.3).
The bug, however, did not exist in previous builds. Is there a regression test to prevent this error from happening again?
David Kilzer (:ddkilzer)
(In reply to comment #2)
> Great news. Should be noted, however, that this bug made it into the released
> 2.0.3 version (417.9.3).
This works for me in Safari 2.0.3 (417.9.3) as well.
Nick Piasecki
(In reply to comment #3)
> (In reply to comment #2)
> > Great news. Should be noted, however, that this bug made it into the released
> > 2.0.3 version (417.9.3).
>
> This works for me in Safari 2.0.3 (417.9.3) as well.
>
Interesting. Could this be an Intel / PPC issue? I'm on an Intel Mac. (If it's not, I'll let it go and wait for the next release. Thanks for all of your help!)
David Kilzer (:ddkilzer)
(In reply to comment #4)
> Interesting. Could this be an Intel / PPC issue? I'm on an Intel Mac. (If it's
> not, I'll let it go and wait for the next release. Thanks for all of your
> help!)
Ugh! I tested on a PowerPC PowerBook G4. This is very interesting (in a bad way). Reopening bug for now.
I wonder what type of Mac Geoffrey used to test?
Nick Piasecki
All right, did some more testing:
Coworker's PPC iBook: returns "UL" on 2.0.3 (417.9.2)
Coworker's PPC G5: returns "UL" on 2.0.3 (417.9.3)
My Intel Macbook: returns null on 2.0.3 (417.9.3)
Coworker's Intel Macbook: returns null on 2.0.3 (417.9.3)
I think this definitely means that something's up with the 417.9.3 build on the newly released Intels. Can anyone give insight or more confirmation?
Geoffrey Garen
Confirmed bug on MacBook Pro using Safari 417.9.3. Running under Rosetta fixes the issue. Seems to be an intel-specific bug.
Alice Liu
<rdar://problem/4570881>
Alexey Proskuryakov
I can reproduce this bug with stock 10.4.6 Safari/WebKit, but not with TOT (debug build) on a MacBook Pro. Any reason not to close as WORKSFORME?
Geoffrey Garen
Why don't you try with a release build, just to be sure. Then I think we can close this bug.
Alexey Proskuryakov
WFM with release build, too.