[Webkit-unassigned] [Bug 144284] New: ES6 classes: Incorrect check of extends expression

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 27 15:38:29 PDT 2015


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

            Bug ID: 144284
           Summary: ES6 classes: Incorrect check of extends expression
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: arv at chromium.org

http://trac.webkit.org/browser/trunk/LayoutTests/js/script-tests/class-syntax-extends.js#L73

shouldThrow('new (class extends undefined { constructor () { this } })', '"ReferenceError: Cannot access uninitialized variable."');

the `extends undefined` should throw a TypeError.

-- 
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/20150427/b68b5f20/attachment.html>


More information about the webkit-unassigned mailing list