Bug 50654
Summary: | REGRESSION: Invalid regular expression errors on this site | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | JavaScriptCore | Assignee: | Gavin Barraclough <barraclough> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | barraclough, cmarrin, msaboff, oliver, simon.fraser |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
URL: | http://ecsstender.org/demos/spoon/ |
Simon Fraser (smfr)
Hovering over "Spooon" on this site no longer does transitions.
It looks like the page is trying to do feature detection, and is serving up un-prefixed 'transform' properties now. I'm not sure why.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
The real issue is:
SyntaxError: Invalid regular expression: invalid range in character class:
Beautifying the source, I see failures relating to the following lines:
bO = bO.replace(/#[\w-_]+/, aA);
bO = bO.replace(/(?:::|:|\.)[\w-_()]+|\[.*?\]/, aA);
Simon Fraser (smfr)
<rdar://problem/8741502>
Gavin Barraclough
The problem here is that /[\w-_]/ is technically invalid, and we've been experimenting with slightly closer conformance to the spec in our regex engine. This appears to be breaking the web, so we'll be relaxing our interpretation of these rules again soon.
cheers,
G.
Gavin Barraclough
This should be fixed in r73594.
*** This bug has been marked as a duplicate of bug 50483 ***