[Webkit-unassigned] [Bug 168184] New: [ES6]. Implement Annex B.3.3 function hoisting rules for eval in catch block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 12 00:47:20 PST 2017


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

            Bug ID: 168184
           Summary: [ES6]. Implement Annex B.3.3 function hoisting rules
                    for eval in catch block
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local 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

function foo () {
 try {
    throw new Error('Error');
  } catch (boo) {
    eval('{ function boo() {} }');
    print(boo); // should be Error 
  }
  print(boo);  // should be function boo
}

-- 
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/20170212/c0e5b8af/attachment.html>


More information about the webkit-unassigned mailing list