diff --git a/source b/source index d62312c0048..9e2dc13fc11 100644 --- a/source +++ b/source @@ -88585,9 +88585,8 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEvent form owner, let form owner be that form owner. Otherwise, let form owner be null.

-
  • Let script settings be the relevant settings object of - document's browsing context's - Window object.

  • +
  • Let settings object be the relevant settings object of + document.

  • @@ -88600,10 +88599,10 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEvent
  • Report the error for the appropriate script and with the appropriate position (line number and - column number) given by location, using the global object specified by script - settings as the target. If the error is still not - handled after this, then the error may be reported to a developer console.

  • + column number) given by location, using settings object's global object. If the error is still not handled after this, then the error may be reported + to a developer console.

  • Return null.

  • @@ -88620,6 +88619,10 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEvent +
  • Push settings object's realm execution context onto the + JavaScript execution context stack; it is now the running JavaScript + execution context.

  • +
  • Let function be the result of calling OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEvent

  • +
  • Remove settings object's realm execution context from the + JavaScript execution context stack.

  • +
  • Set H's value to function.