Bug 130399

Summary: Yarr doesn't look at runtime errors
Product: WebKit Reporter: hv1989
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=953013#c5

Description hv1989 2014-03-18 09:13:55 PDT
For performance yarr has a runtime check that makes sure no more than 1000000 matches are tested. If there are more than so many matches it will always return NoMatch.
Testcase is in the mozilla bugzilla. We decided to throw an error when that happens instead of erroneously saying there is NoMatch.