mirror of
https://github.com/servo/servo.git
synced 2025-09-08 05:58:20 +01:00
improve spec compliance of discarding BCs
do not handle compositor input events when BC is being discarded prevent firing of timers for discarded BCs return null for opener is BC has been discarded bundle discard BC steps into window method return null in window.opener, if BC has already been discarded move the window closed check pre-event to script-thread
This commit is contained in:
parent
4fe8238b14
commit
45ec250b0a
7 changed files with 133 additions and 53 deletions
|
@ -1,7 +1,3 @@
|
|||
[close-method.window.html]
|
||||
[window.close() affects name targeting immediately]
|
||||
expected: FAIL
|
||||
|
||||
[window.close() queues a task to discard, but window.closed knows immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
[nested-context-navigations-iframe.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Test that iframe navigations are not observable by the parent, even after history navigations by the parent]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Test that crossorigin iframe navigations are not observable by the parent, even after history navigations by the parent]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Test that iframe refreshes are not observable by the parent]
|
||||
expected: NOTRUN
|
||||
expected: TIMEOUT
|
||||
|
||||
[Test that crossorigin iframe navigations are not observable by the parent]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Test that crossorigin iframe refreshes are not observable by the parent]
|
||||
expected: NOTRUN
|
||||
|
||||
[Test that iframe navigations are not observable by the parent]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,29 +1,17 @@
|
|||
[dedicated-worker-import-csp.html]
|
||||
expected: CRASH
|
||||
expected: OK
|
||||
[DedicatedWorker: CSP for ES Modules]
|
||||
expected: FAIL
|
||||
|
||||
[worker-src 'self' directive should disallow cross origin static import.]
|
||||
expected: FAIL
|
||||
|
||||
[worker-src * directive should allow cross origin static import.]
|
||||
expected: FAIL
|
||||
|
||||
[script-src 'self' directive should disallow cross origin static import.]
|
||||
expected: FAIL
|
||||
|
||||
[script-src * directive should allow cross origin static import.]
|
||||
expected: FAIL
|
||||
|
||||
[worker-src * directive should override script-src 'self' directive and allow cross origin static import.]
|
||||
expected: FAIL
|
||||
|
||||
[worker-src 'self' directive should override script-src * directive and disallow cross origin static import.]
|
||||
expected: FAIL
|
||||
|
||||
[script-src 'self' directive should disallow cross origin dynamic import.]
|
||||
expected: FAIL
|
||||
|
||||
[script-src * directive should allow cross origin dynamic import.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue