[Webkit-unassigned] [Bug 155922] New: A better workaround for webkit.org/b/155904.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 25 22:44:39 PDT 2016


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

            Bug ID: 155922
           Summary: A better workaround for webkit.org/b/155904.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

In r198698, for the purpose of enabling feature testing, I changed the RegExp.prototype flag property getters to always return undefined instead of throwing when "this" is not a RegExp object.  However, for the purpose of feature testing, we only need to apply this change for the cases where the getters are called on the RegExp.prototype itself.  If called with any other "this" values that is not a RegExp object, they should throw a TypeError as the ES6 spec expects.

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


More information about the webkit-unassigned mailing list