diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-12-17 10:37:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 09:37:52 +0000 |
commit | 0a01d069680a38de94555209bb845314ab70970c (patch) | |
tree | adb3dbaf73d5813970167ce4e4f054398975b132 /tests/wpt | |
parent | 1e17dfdf31f0741632720889a1da0870d2e9ee06 (diff) | |
download | servo-0a01d069680a38de94555209bb845314ab70970c.tar.gz servo-0a01d069680a38de94555209bb845314ab70970c.zip |
layout: Allow same `ScriptThread` `<iframe>`s to be resized synchronously (#34656)
Post layout, when a `Window` has all of the new `<iframe>` sizes, size
any `Window`s for `Pipeline`s in the same `ScriptThread` synchronously.
This ensures that when laying out from the outermost frame to the
innermost frames, the frames sizes are set properly.
There is still an issue where a non-same-`ScriptThread` `<iframe>` sits
in between two `<iframe>`s of the same origin. According to the
specification these frames should all be synchrnously laid out --
something quite difficult in Servo. This is issue #34655.
This is the first change in a series of changes to improve the
consistency of `<iframe>` loading and sizing.
Fixes #14719.
Fixes #24569.
Fixes #24571.
Fixes #25269.
Fixes #25275.
Fixes #25285.
Fixes #30571.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'tests/wpt')
9 files changed, 30 insertions, 72 deletions
diff --git a/tests/wpt/meta/css/css-values/dynamic-viewport-units-rule-cache.html.ini b/tests/wpt/meta/css/css-values/dynamic-viewport-units-rule-cache.html.ini deleted file mode 100644 index 88f44ae9571..00000000000 --- a/tests/wpt/meta/css/css-values/dynamic-viewport-units-rule-cache.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[dynamic-viewport-units-rule-cache.html] - expected: TIMEOUT - [dynamic-viewport-units-rule-cache] - expected: TIMEOUT diff --git a/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini b/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini index c124d4bb540..037d7e0f951 100644 --- a/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini +++ b/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini @@ -4,12 +4,3 @@ [throws if handleEvent is thruthy and not callable] expected: FAIL - - [looks up handleEvent method on every event dispatch] - expected: FAIL - - [doesn't look up handleEvent method on callable event listeners] - expected: FAIL - - [rethrows errors when getting handleEvent] - expected: FAIL diff --git a/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini b/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini index 7e55b5e346e..314dca9c1f5 100644 --- a/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini +++ b/tests/wpt/meta/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini @@ -1,18 +1,3 @@ [MediaQueryList-addListener-removeListener.html] [listeners are called when <iframe> is resized] expected: FAIL - - [listeners are called correct number of times] - expected: FAIL - - [listeners are called in order they were added] - expected: FAIL - - [listener that was added twice is called only once] - expected: FAIL - - [listeners are called in order their MQLs were created] - expected: FAIL - - [removing listener from one MQL doesn't remove it from all MQLs] - expected: FAIL diff --git a/tests/wpt/meta/css/cssom-view/MediaQueryList-extends-EventTarget-interop.html.ini b/tests/wpt/meta/css/cssom-view/MediaQueryList-extends-EventTarget-interop.html.ini deleted file mode 100644 index b5218650b98..00000000000 --- a/tests/wpt/meta/css/cssom-view/MediaQueryList-extends-EventTarget-interop.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[MediaQueryList-extends-EventTarget-interop.html] - [listener added with addListener and addEventListener (capture) is called twice] - expected: FAIL - - [removeEventListener (capture) doesn't remove listener added with addListener] - expected: FAIL - - [removeListener doesn't remove listener added with addEventListener (capture)] - expected: FAIL - - [capturing event listener fires before non-capturing listener at target] - expected: FAIL diff --git a/tests/wpt/meta/css/cssom-view/MediaQueryList-extends-EventTarget.html.ini b/tests/wpt/meta/css/cssom-view/MediaQueryList-extends-EventTarget.html.ini deleted file mode 100644 index bfd64f1c58d..00000000000 --- a/tests/wpt/meta/css/cssom-view/MediaQueryList-extends-EventTarget.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[MediaQueryList-extends-EventTarget.html] - [onchange removes listener] - expected: FAIL - - [listeners for "change" type are called] - expected: FAIL - - [addEventListener "once" option is respected] - expected: FAIL diff --git a/tests/wpt/meta/css/cssom-view/MediaQueryListEvent.html.ini b/tests/wpt/meta/css/cssom-view/MediaQueryListEvent.html.ini deleted file mode 100644 index 2bff632780a..00000000000 --- a/tests/wpt/meta/css/cssom-view/MediaQueryListEvent.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[MediaQueryListEvent.html] - [argument of onchange] - expected: FAIL - - [constructor of "change" event] - expected: FAIL diff --git a/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini b/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini index e1b5107c93c..cdb346e0520 100644 --- a/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini +++ b/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini @@ -1,5 +1,4 @@ [element-img-environment-change.https.sub.html] - expected: TIMEOUT [sec-fetch-site - Cross-site, no attributes] expected: FAIL @@ -59,3 +58,9 @@ [sec-fetch-site - Same origin, no attributes] expected: FAIL + + [sec-fetch-storage-access - Cross-site, no attributes] + expected: FAIL + + [sec-fetch-storage-access - Same site, no attributes] + expected: FAIL diff --git a/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini b/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini index 5e6dca448af..9a39915caa5 100644 --- a/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini +++ b/tests/wpt/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini @@ -1,46 +1,54 @@ [element-img-environment-change.sub.html] - expected: TIMEOUT [sec-fetch-site - Not sent to non-trustworthy same-site destination, no attributes] expected: FAIL [sec-fetch-site - Not sent to non-trustworthy cross-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-mode - Not sent to non-trustworthy same-origin destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-mode - Not sent to non-trustworthy same-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-mode - Not sent to non-trustworthy cross-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-dest - Not sent to non-trustworthy same-origin destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-dest - Not sent to non-trustworthy same-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-dest - Not sent to non-trustworthy cross-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-user - Not sent to non-trustworthy same-origin destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-user - Not sent to non-trustworthy same-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-user - Not sent to non-trustworthy cross-site destination, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-site - HTTPS downgrade (header not sent), no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-site - HTTPS upgrade, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-site - HTTPS downgrade-upgrade, no attributes] - expected: NOTRUN + expected: FAIL [sec-fetch-site - Not sent to non-trustworthy same-origin destination, no attributes] expected: FAIL + + [sec-fetch-storage-access - Not sent to non-trustworthy same-origin destination, no attributes] + expected: FAIL + + [sec-fetch-storage-access - Not sent to non-trustworthy same-site destination, no attributes] + expected: FAIL + + [sec-fetch-storage-access - Not sent to non-trustworthy cross-site destination, no attributes] + expected: FAIL diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini b/tests/wpt/meta/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini index d7ccdbdf676..c5fc1407992 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini @@ -4,7 +4,7 @@ expected: FAIL [Navigating to a different document with link click] - expected: TIMEOUT + expected: FAIL [Navigating to a different document with form submission] - expected: NOTRUN + expected: TIMEOUT |