[Webkit-unassigned] [Bug 205590] New: Fail to throw TypeError in Promise.race

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 25 00:52:44 PST 2019


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

            Bug ID: 205590
           Summary: Fail to throw TypeError in Promise.race
           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: sunlili at ict.ac.cn

Running following code:

var obj = new Object();
Promise.race(obj);
According to ECMA manual, since obj is not iterable object, a TypeError should be thrown. However, ch output nothing.

ISec Lab
2019.12.25

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191225/a9a96a28/attachment.htm>


More information about the webkit-unassigned mailing list