[Webkit-unassigned] [Bug 154027] New: [ES6] Arrow function syntax. Issue with calling super in arrow function within eval when cache is switched off

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 9 07:08:10 PST 2016


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

            Bug ID: 154027
           Summary: [ES6] Arrow function syntax. Issue with calling super
                    in arrow function within eval when cache is switched
                    off
    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: gskachkov at gmail.com

Created attachment 270924
  --> https://bugs.webkit.org/attachment.cgi?id=270924&action=review
dump of the error

Error during execution following script when cache is off:

class A {}
var B = class B extends A {
    constructor () {
        var arrow = () => eval("eval('(() => super())()')");
        arrow();
    }
};
new B();

Dump of error in attach

-- 
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/20160209/3e82234e/attachment.html>


More information about the webkit-unassigned mailing list