[Webkit-unassigned] [Bug 169778] New: import(arg) crashes when ToString(arg) throws

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 16 13:02:47 PDT 2017


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

            Bug ID: 169778
           Summary: import(arg) crashes when ToString(arg) throws
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsathya at chromium.org

Test case:

let x = { get toString() { throw new Error('wat'); } };
import(x);

Expected result :
a new rejected promise is created

Actual result :
Safari crashes and reloads the page

-- 
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/20170316/ebfdf13f/attachment.html>


More information about the webkit-unassigned mailing list