Closed
Bug 1008895
Opened 11 years ago
Closed 11 years ago
InternalError: an error occurred while executing regular expression
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 998785
People
(Reporter: amit5148, Unassigned)
References
Details
(Keywords: regression, testcase)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Steps to reproduce:
Calling string.replace.
Sample test case is available at http://jsfiddle.net/6GT6K/1/
Actual results:
Works fine in Firefox 28.0.0.
In firefox 29.0.1 got error saying "InternalError: an error occurred while executing regular expression"
Expected results:
It should have trimmed the string without any error.
Reporter | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → JavaScript Engine
Ever confirmed: true
Product: Firefox → Core
Updated•11 years ago
|
Comment 2•11 years ago
|
||
There is currently not much we can do about this. Previously our regexp engine just crashed or reported no matches, without signaling there is something wrong. So behaviour in FF28 is also incorrect!
Now there is improvement coming! Hopefully in FF31 we will have the same regexp jit as chrome. So we will be able to run those regexp, without reporting an error.
This is being tracked in bug 976446
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•