-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chakra cannot override RegExp.prototype.exec property #5187
Comments
Most likely has to do with this property being |
|
One thing I don’t understand about the repro above is why there should be six calls to |
This test case only make sense when RegEx symbols is enabled, because String.prototype.split is not defined based on Regexp.prototype[@@split]. Currently RegEx symbols is not fully implemented. When I tried with the flag -ES6RegExSymbols, I ran into another exception: The error comes form the implementation of @@split, where it ask for the flags from the passed in regex and got "undefinedy" which seems wrong to me. |
Consolidating as part of #6390 |
OS: Ubuntu 16.04 x86
Chakra: 1.10.0.0-beta
Step to reproduce:
Actual results:
Expected results:
V8, SpiderMonkey and JavascriptCore works as expected.
cinfuzz
The text was updated successfully, but these errors were encountered: