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,28 +1,27 @@
|
|||
[service-worker-background-fetch.tentative.https.window.html]
|
||||
expected: CRASH
|
||||
[local to local: success.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[private to local: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[private to private: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[public to local: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[public to private: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[public to public: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[treat-as-public to local: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[treat-as-public to private: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[treat-as-public to public: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[service-worker-fetch-document-treat-as-public.tentative.https.window.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[treat-as-public to local: failed preflight.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[service-worker-fetch-document.tentative.https.window.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[local to local: success.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[service-worker-fetch.tentative.https.window.html?9-last]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[public to public: success.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
|
||||
|
||||
[service-worker-fetch.tentative.https.window.html?1-8]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[local to local: success.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[service-worker-update.tentative.https.window.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[update public to local: success.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
[service-worker.tentative.https.window.html]
|
||||
expected: CRASH
|
||||
[treat-as-public to local: success.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[treat-as-public to private: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[public to public: success.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue