| Summary: | Yarr interpreter reports non-match instead of throwing when bailing out | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Till Schneidereit <till> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | bzbarsky |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://bugzilla.mozilla.org/show_bug.cgi?id=953013 | ||
|
Description
Till Schneidereit
2014-01-17 09:53:23 PST
Note that this leads to incorrect behavior in Safari. For example:
/^a(\w+)+b/.test("axbxxxxxxxxxxxxxxxxxxxx")
returns false in Safari, whereas the correct value is true. Chrome gets this right.
|