ASSIGNED178522
Test262: RegExp/property-escapes/character-class.js fails with current RegExp Unicode Properties implementation
https://bugs.webkit.org/show_bug.cgi?id=178522
Summary Test262: RegExp/property-escapes/character-class.js fails with current RegExp...
Michael Saboff
Reported 2017-10-19 10:23:34 PDT
The test262 test JSTests/test262/test/built-ins/RegExp/property-escapes/character-class.js fails with the current implementation of RegExp Unicode Properties. The failure is: Exception: Test262Error: Function: /[\p{Hex}-\uFFFF]/u Expected a SyntaxError to be thrown but no exception was thrown at all The issue is that the test doesn’t allow a built-in property in a character class. JavaScriptCore specifically allows this. The spec says that this is disallowed for unicode expressions (https://tc39.github.io/ecma262/#sec-runtime-semantics-characterrangeorunion-abstract-operation). We need to make this fix in JSC.
Attachments
Michael Saboff
Comment 1 2017-10-19 10:24:40 PDT
Note You need to log in before you can comment on or make changes to this bug.