mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Fix null realm assertion when activating a service worker (#36256)
Ensure there is an active realm when dispatching the `activation` DOM event to the ServiceWorker global. Testing: Existing WPT coverage. Fixes: #36114 Fixes: #36235 Fixes: #36231 Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
be38c5478f
commit
fcef1dff9d
50 changed files with 579 additions and 116 deletions
|
@ -1,7 +1,7 @@
|
|||
[serviceworker-partitioning.tentative.https.window.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Anonymous iframes get partitioned service workers.]
|
||||
expected: FAIL
|
||||
|
||||
[credentialless iframes get partitioned service workers.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -13,9 +13,5 @@
|
|||
|
||||
|
||||
[worker-cookies.tentative.https.window.html?worker=service_worker]
|
||||
expected: CRASH
|
||||
[Worker spawned from normal iframe can access global cookies]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Worker spawned from credentialless iframe can't access global cookies]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[iframe-src-aboutblank-navigate-immediately.html]
|
||||
[Navigating to a different document with window.open]
|
||||
expected: FAIL
|
||||
|
||||
[Navigating to a different document with form submission]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[navigation-unload-cross-origin.sub.window.html]
|
||||
[Cross-origin navigation started from unload handler must be ignored]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[2d.canvas.host.size.large.html]
|
||||
expected: CRASH
|
|
@ -1,4 +1,3 @@
|
|||
[document-base-url-window-initiator-is-not-opener.https.window.html]
|
||||
expected: TIMEOUT
|
||||
[window.open() gets base url from initiator not opener.]
|
||||
expected: [FAIL, PASS, TIMEOUT]
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[document-with-fragment-valid.html]
|
||||
[Autofocus elements in top-level browsing context's documents with URL fragments should be skipped.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[iframe_sandbox_popups_escaping-1.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[iframe_sandbox_popups_escaping-2.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[iframe_sandbox_popups_escaping-3.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue