[Webkit-unassigned] [Bug 178522] New: Test262: RegExp/property-escapes/character-class.js fails with current RegExp Unicode Properties implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 19 10:23:34 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=178522

            Bug ID: 178522
           Summary: Test262: RegExp/property-escapes/character-class.js
                    fails with current RegExp Unicode Properties
                    implementation
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: msaboff at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171019/f63ca704/attachment.html>


More information about the webkit-unassigned mailing list