diff --git a/source b/source index 6ce7b1491a8..e4e524289e8 100644 --- a/source +++ b/source @@ -94805,33 +94805,35 @@ dictionary PromiseRejectionEventInit : EventInit

Let script be the running script.

  • If script is a classic script and script's muted - errors is true, terminate these steps.

  • + errors
    is true, then return.

    -
  • Let settings object be script's settings object.

    -
  • +
  • Let settings object be the current settings object.

  • + +
  • If script is not null, then set settings object to + script's settings object.

  • -

    If operation is "reject", +

    If operation is "reject", then:

      -
    1. Add promise to settings object's about-to-be-notified - rejected promises list.

    2. +
    3. Append promise to settings + object's about-to-be-notified rejected promises list.

  • -

    If operation is "handle", +

    If operation is "handle", then:

    1. If settings object's about-to-be-notified rejected promises - list contains promise, then remove promise from that list and - return.

    2. + list contains promise, then remove promise from that list and return.

    3. If settings object's outstanding rejected promises weak set - does not contain promise, then return.

    4. + does not contain promise, then return.

      -
    5. Remove promise from settings object's outstanding rejected - promises weak set.

    6. +
    7. Remove promise from settings + object's outstanding rejected promises weak set.

    8. Let global be settings object's global object.

    9. @@ -94842,7 +94844,7 @@ dictionary PromiseRejectionEventInit : EventInitPromiseRejectionEvent, with the promise attribute initialized to promise, and the reason - attribute initialized to the value of promise's [[PromiseResult]] internal slot.

      + attribute initialized to promise.[[PromiseResult]].