[Webkit-unassigned] [Bug 159332] New: Scopes that are not under TDZ should still push their variables onto the TDZ stack so that lifting TDZ doesn't bypass that scope

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 23:21:06 PDT 2016


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

            Bug ID: 159332
           Summary: Scopes that are not under TDZ should still push their
                    variables onto the TDZ stack so that lifting TDZ
                    doesn't bypass that scope
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

This fixes an instacrash in this code:

function foo () {
try{}catch(e){}print(e);let e;
}

foo();

We lift TDZ for "e" in "catch (e){}", but since that scope doesn't push anything onto the TDZ stack, we lift TDZ from "let e".

-- 
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/20160701/8c8c2b7d/attachment-0001.html>


More information about the webkit-unassigned mailing list