From 2508c60dcd81d2c2ff909f79690e499601aa4261 Mon Sep 17 00:00:00 2001
From: Domenic Denicola
The incumbent settings object is determined as follows:
@@ -86912,19 +86912,24 @@ interface NavigatorOnLine {Assert: queueName is "PromiseJobs"
. ("ScriptJobs"
must not be used by user agents.)
Let settings be the settings
+ Let job settings be the settings
object of job.[[Realm]]. Let incumbent settings be the incumbent settings object. Queue a microtask, on settings's responsible event
+ Queue a microtask, on job settings's responsible event
loop, to perform the following steps: Check if we can run script with settings. If this returns "do
- not run" then abort these steps. Prepare to run script with settings. Check if we can run script with job settings. If this returns
+ "do not run" then abort these steps. Push incumbent settings onto the backup incumbent settings object
+ stack. Prepare to run script with job settings. Let result be the result of performing the abstract operation specified by
job, using the elements of arguments as its arguments. Clean up after running script with settings. Clean up after running script with job settings. Pop incumbent settings off of the backup incumbent settings object
+ stack. If result is an abrupt completion, report the exception given by
result.[[Value]].
-