File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ explicit JobQueue(JSContext *cx);
34
34
*/
35
35
bool init (JSContext *cx);
36
36
37
- /* *
38
- * @brief Ask the embedding for the incumbent global.
39
- *
40
- * SpiderMonkey doesn't itself have a notion of incumbent globals as defined
41
- * by the HTML spec, so we need the embedding to provide this. See
42
- * dom/script/ScriptSettings.h for details.
43
- */
44
- JSObject *getIncumbentGlobal (JSContext *cx) override ;
45
-
46
37
/* *
47
38
* @brief Enqueue a reaction job `job` for `promise`, which was allocated at
48
39
* `allocationSite`. Provide `incumbentGlobal` as the incumbent global for
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ JobQueue::JobQueue(JSContext *cx) {
26
26
finalizationRegistryCallbacks = new JS::PersistentRooted<FunctionVector>(cx); // Leaks but it's OK since freed at process exit
27
27
}
28
28
29
- JSObject *JobQueue::getIncumbentGlobal (JSContext *cx) {
30
- return JS::CurrentGlobalOrNull (cx);
31
- }
32
-
33
29
bool JobQueue::enqueuePromiseJob (JSContext *cx,
34
30
[[maybe_unused]] JS::HandleObject promise,
35
31
JS::HandleObject job,
You can’t perform that action at this time.
0 commit comments