[Webkit-unassigned] [Bug 209124] New: Promise.{all, allSettled, race} does not always close iterator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 15 10:06:33 PDT 2020


            Bug ID: 209124
           Summary: Promise.{all,allSettled,race} does not always close
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shvaikalesh at gmail.com

Test case:
  delete Promise.resolve;

    [Symbol.iterator]() { return this; },
    return() { console.log("iterator closed"); },

  Promise rejected with TypeError, "iterator closed" logged

  Promise rejected with TypeError, no logs

ECMA262: https://tc39.es/ecma262/#sec-promise.all (step 6.a)
Test262: https://test262.report/browse/built-ins/Promise/all/invoke-resolve-get-error-close.js

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/20200315/ec618af3/attachment.htm>

More information about the webkit-unassigned mailing list