mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #26849 - servo-wpt-sync:wpt_update_10-06-2020, r=servo-wpt-sync
Sync WPT with upstream (10-06-2020) Automated downstream sync of changes from upstream as of 10-06-2020. [no-wpt-sync] r? @servo-wpt-sync
This commit is contained in:
commit
04fae2fdca
300 changed files with 44918 additions and 1815 deletions
|
@ -4,7 +4,7 @@
|
|||
expected: TIMEOUT
|
||||
|
||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Fetching a blob URL immediately before revoking it works in an iframe.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-002.html]
|
||||
[Hit test float]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-003.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-005.html]
|
||||
[Miss clipped float]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[white-space-letter-spacing-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[subpixel-transform-changes-001.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,2 @@
|
|||
[subpixel-transform-changes-002.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,2 @@
|
|||
[subpixel-transform-changes-003.html]
|
||||
expected: TIMEOUT
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[CaretPosition-001.html]
|
||||
[Element at (400, 100)]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[listeners are called when <iframe> is resized]
|
||||
expected: FAIL
|
||||
|
||||
[listeners are called correct number of times]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -17,6 +17,3 @@
|
|||
[test the top of layer]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: TIMEOUT
|
|
@ -318,21 +318,15 @@
|
|||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,3 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[split-cache.tentative.html]
|
||||
[HTTP Cache - Partioning by top-level origin 3]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP Cache - Partioning by top-level origin 1]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_2.html]
|
||||
[traverse_the_history_3.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_2.html]
|
||||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,5 +1,5 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[opener of discarded nested browsing context]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,176 @@
|
|||
[hash-name-reference.html]
|
||||
expected: ERROR
|
||||
[HTML (standards) IMG usemap="no-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#percent-escape-id-%42"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#two-maps-with-this-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="http://example.org/#garbage-before-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#two-maps-with-this-id-or-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) OBJECT usemap=undefined]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="http://example.org/#garbage-before-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="# hash-space-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="http://example.org/#garbage-before-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#two-maps-with-this-id-or-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#percent-escape-id-%42"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#\\n"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="# hash-space-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#percent-escape-name-%42"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#non-map-with-this-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML object usemap=undefined]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap=" #space-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#percent-escape-id-%42"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#two-maps-with-this-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#two-maps-with-this-name-or-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap=" #space-before-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#percent-escape-name-%42"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="# "]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="http://example.org/#garbage-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap=" #space-before-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="# "]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="# hash-space-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#two-maps-with-this-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#two-maps-with-this-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#non-map-with-this-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="# hash-space-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) OBJECT usemap=undefined]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#two-maps-with-this-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#\\n"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#non-map-with-this-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#non-map-with-this-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#two-maps-with-this-name-or-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="# hash-space-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#\\n"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#two-maps-with-this-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#non-map-with-this-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#non-map-with-this-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap=" #space-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#percent-escape-name-%42"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#two-maps-with-this-id-or-name"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap=" #space-before-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="http://example.org/#garbage-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="#two-maps-with-this-name-or-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap=" #space-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="# "]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="# hash-space-id"]
|
||||
expected: FAIL
|
||||
|
||||
[XHTML img usemap="#hash-id"]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[networkState_during_progress.html]
|
||||
expected: TIMEOUT
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_escaping-2.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[iframe_sandbox_popups_escaping-3.html]
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-2.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[form-double-submit-3.html]
|
||||
[<button> should have the same double-submit protection as <input type=submit>]
|
||||
expected: FAIL
|
||||
|
|
@ -3,6 +3,3 @@
|
|||
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: TIMEOUT
|
||||
|
||||
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[iframe-upgrade-request.sub.https.html]
|
||||
[If an insecure iframe request is upgraded to https to be same-origin, referrer policies that consider same-origin-ness should be applied correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[003.html]
|
||||
expected: ERROR
|
||||
[shared]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
[shared-worker-in-data-url-context.window.html]
|
||||
expected: TIMEOUT
|
||||
[Create a shared worker in a data url frame]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Create a data url shared worker in a data url frame]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
||||
expected: TIMEOUT
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-002.html]
|
||||
[Hit test float]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-003.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-005.html]
|
||||
[Miss clipped float]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[white-space-letter-spacing-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[subpixel-transform-changes-001.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,2 @@
|
|||
[subpixel-transform-changes-002.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,2 @@
|
|||
[subpixel-transform-changes-003.html]
|
||||
expected: TIMEOUT
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[CaretPosition-001.html]
|
||||
[Element at (400, 100)]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[listeners are called when <iframe> is resized]
|
||||
expected: FAIL
|
||||
|
||||
[listeners are called correct number of times]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -21,6 +21,3 @@
|
|||
[test the top of layer]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: TIMEOUT
|
|
@ -318,21 +318,15 @@
|
|||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,3 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
[HTTP Cache - Partioning by top-level origin 1]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP Cache - Partioning by top-level origin 3]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_3.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,5 +1,5 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[opener and "removed" embedded documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -172,3 +172,6 @@
|
|||
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="no-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[networkState_during_progress.html]
|
||||
expected: TIMEOUT
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_escaping-2.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[iframe_sandbox_popups_escaping-3.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-2.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[form-double-submit-3.html]
|
||||
[<button> should have the same double-submit protection as <input type=submit>]
|
||||
expected: FAIL
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
[html5lib_menuitem-element.html?run_type=uri]
|
||||
type: testharness
|
||||
[html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f]
|
||||
expected: FAIL
|
||||
|
||||
[html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed]
|
||||
expected: FAIL
|
||||
|
||||
[html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[html5lib_menuitem-element.html?run_type=write_single]
|
||||
type: testharness
|
||||
[html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f]
|
||||
expected: FAIL
|
||||
|
||||
[html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed]
|
||||
expected: FAIL
|
||||
|
||||
[html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[html5lib_menuitem-element.html?run_type=write]
|
||||
type: testharness
|
||||
[html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f]
|
||||
expected: FAIL
|
||||
|
||||
[html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed]
|
||||
expected: FAIL
|
||||
|
||||
[html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845]
|
||||
expected: FAIL
|
||||
|
|
@ -4,6 +4,3 @@
|
|||
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: TIMEOUT
|
||||
|
||||
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[iframe-upgrade-request.sub.https.html]
|
||||
[If an insecure iframe request is upgraded to https to be same-origin, referrer policies that consider same-origin-ness should be applied correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
[003.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[shared]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
[shared-worker-in-data-url-context.window.html]
|
||||
expected: TIMEOUT
|
||||
[Create a shared worker in a data url frame]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Create a data url shared worker in a data url frame]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[send-data-readablestream.any.html]
|
||||
|
||||
[send-data-readablestream.any.worker.html]
|
||||
|
||||
[send-data-readablestream.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
[send-data-readablestream]
|
||||
expected: FAIL
|
||||
|
|
@ -69,6 +69,8 @@ commands are:
|
|||
* `wpt manifest` - For updating or generating a `MANIFEST.json` test manifest
|
||||
* `wpt install` - For installing the latest release of a browser or
|
||||
webdriver server on the local machine.
|
||||
* `wpt serve-wave` - For starting the wpt http server and the WAVE test runner.
|
||||
For more details on how to use the WAVE test runner see the [documentation](./tools/wave/docs/usage/usage.md).
|
||||
|
||||
<span id="windows-notes">Windows Notes</span>
|
||||
=============================================
|
||||
|
|
|
@ -6,14 +6,14 @@ def main(request, response):
|
|||
location - The resource to redirect to.
|
||||
"""
|
||||
status = 302
|
||||
if "status" in request.GET:
|
||||
if b"status" in request.GET:
|
||||
try:
|
||||
status = int(request.GET.first("status"))
|
||||
status = int(request.GET.first(b"status"))
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
response.status = status
|
||||
|
||||
location = request.GET.first("location")
|
||||
location = request.GET.first(b"location")
|
||||
|
||||
response.headers.set("Location", location)
|
||||
response.headers.set(b"Location", location)
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>CSS Test reference</title>
|
||||
<style>
|
||||
div {
|
||||
font: 16px monospace;
|
||||
float: left;
|
||||
clear: left;
|
||||
border: 1px solid silver;
|
||||
margin: 1em;
|
||||
letter-spacing: .5em;
|
||||
}
|
||||
</style>
|
||||
<p>The five boxes below should all look the same:</p>
|
||||
<div>Two lines<br>of text</div>
|
||||
<div>Two lines<br>of text</div>
|
||||
<div>Two lines<br>of text</div>
|
||||
<div>Two lines<br>of text</div>
|
||||
<div>Two lines<br>of text</div>
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>CSS Test: letter-spacing is not applied to preserved line-breaks</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"/>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#letter-spacing-property"/>
|
||||
<link rel="match" href="reference/white-space-letter-spacing-001-ref.html"/>
|
||||
<meta name="assert" content="Letter-spacing must not be applied at the beginning or at the end of a line."/>
|
||||
<style>
|
||||
div {
|
||||
font: 16px monospace;
|
||||
float: left;
|
||||
clear: left;
|
||||
border: 1px solid silver;
|
||||
margin: 1em;
|
||||
letter-spacing: .5em;
|
||||
}
|
||||
.test1 {
|
||||
white-space: pre;
|
||||
}
|
||||
.test2 {
|
||||
white-space: pre-line;
|
||||
}
|
||||
.test3 {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.test4 {
|
||||
white-space: break-spaces;
|
||||
}
|
||||
</style>
|
||||
<p>The five boxes below should all look the same:</p>
|
||||
<div>Two lines<br>of text</div>
|
||||
<div class=test1>Two lines
|
||||
of text</div>
|
||||
<div class=test2>Two lines
|
||||
of text</div>
|
||||
<div class=test3>Two lines
|
||||
of text</div>
|
||||
<div class=test4>Two lines
|
||||
of text</div>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transforms Reference Test: Subpixel transform changes</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
|
||||
<div id="translateX1" style="transform: translateX(0.48px);">transform: translateX(0.48px);</div>
|
||||
<div id="translateX2" style="transform: translateX(3.17px);">transform: translateX(3.17px);</div>
|
||||
<div id="translateX3" style="transform: translateX(0.34px);">transform: translateX(0.34px);</div>
|
||||
|
||||
<div id="translateY1" style="transform: translateY(0.48px);">transform: translateY(0.48px);</div>
|
||||
<div id="translateY2" style="transform: translateY(3.17px);">transform: translateY(3.17px);</div>
|
||||
<div id="translateY3" style="transform: translateY(0.34px);">transform: translateY(0.34px);</div>
|
||||
|
||||
<div id="translateZ1" style="transform: translateZ(0.48px);">transform: translateZ(0.48px);</div>
|
||||
<div id="translateZ2" style="transform: translateZ(3.17px);">transform: translateZ(3.17px);</div>
|
||||
<div id="translateZ3" style="transform: translateZ(0.34px);">transform: translateZ(0.34px);</div>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transforms Reference Test: Subpixel transform changes 'backface-visibility: hidden'</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<style>
|
||||
div {
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="translateX1" style="transform: translateX(0.48px);">transform: translateX(0.48px);</div>
|
||||
<div id="translateX2" style="transform: translateX(3.17px);">transform: translateX(3.17px);</div>
|
||||
<div id="translateX3" style="transform: translateX(0.34px);">transform: translateX(0.34px);</div>
|
||||
|
||||
<div id="translateY1" style="transform: translateY(0.48px);">transform: translateY(0.48px);</div>
|
||||
<div id="translateY2" style="transform: translateY(3.17px);">transform: translateY(3.17px);</div>
|
||||
<div id="translateY3" style="transform: translateY(0.34px);">transform: translateY(0.34px);</div>
|
||||
|
||||
<div id="translateZ1" style="transform: translateZ(0.48px);">transform: translateZ(0.48px);</div>
|
||||
<div id="translateZ2" style="transform: translateZ(3.17px);">transform: translateZ(3.17px);</div>
|
||||
<div id="translateZ3" style="transform: translateZ(0.34px);">transform: translateZ(0.34px);</div>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transforms Reference Test: Subpixel transform changes fixed positioning</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<style>
|
||||
div {
|
||||
position: fixed;
|
||||
left: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="translateX1" style="transform: translateX(0.48px); top: 0px;">transform: translateX(0.48px);</div>
|
||||
<div id="translateX2" style="transform: translateX(3.17px); top: 30px;">transform: translateX(3.17px);</div>
|
||||
<div id="translateX3" style="transform: translateX(0.34px); top: 60px;">transform: translateX(0.34px);</div>
|
||||
|
||||
<div id="translateY1" style="transform: translateY(0.48px); top: 90px;">transform: translateY(0.48px);</div>
|
||||
<div id="translateY2" style="transform: translateY(3.17px); top: 120px;">transform: translateY(3.17px);</div>
|
||||
<div id="translateY3" style="transform: translateY(0.34px); top: 150px;">transform: translateY(0.34px);</div>
|
||||
|
||||
<div id="translateZ1" style="transform: translateZ(0.48px); top: 180px;">transform: translateZ(0.48px);</div>
|
||||
<div id="translateZ2" style="transform: translateZ(3.17px); top: 210px;">transform: translateZ(3.17px);</div>
|
||||
<div id="translateZ3" style="transform: translateZ(0.34px); top: 240px;">transform: translateZ(0.34px);</div>
|
||||
|
||||
<!-- Force overflow on the body element. -->
|
||||
<div style="width: 200vw; height: 300vh;"></div>
|
|
@ -2,7 +2,7 @@
|
|||
<link ref="help" href="https://drafts.csswg.org/css-transforms-2/#perspective-property">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#backface-visibility-property">
|
||||
<link rel="match" href="subpixel-perspective-backface-hidden-ref.html">
|
||||
<meta name="assert" content="Subpixel-positioned contents should not renderred the same regardless of perspective and backface-visibility:hidden">
|
||||
<meta name="assert" content="Subpixel-positioned contents should be rendered the same regardless of perspective and backface-visibility:hidden">
|
||||
<div style="padding: 0.4px 0.6px">
|
||||
<div style="perspective: 1000px; backface-visibility: hidden">
|
||||
<div style="width: 100px; height: 100px;
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transforms Test: Subpixel transform changes</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-transforms/#transform-property">
|
||||
<link rel="match" href="reference/subpixel-transform-changes-001-ref.html">
|
||||
<meta name="assert" content="Test checks that subpixel transform changes work as expected.">
|
||||
|
||||
<div id="translateX1" style="transform: translateX(0.12px);">transform: translateX(0.48px);</div>
|
||||
<div id="translateX2" style="transform: translateX(0.56px);">transform: translateX(3.17px);</div>
|
||||
<div id="translateX3" style="transform: translateX(1.87px);">transform: translateX(0.34px);</div>
|
||||
|
||||
<div id="translateY1" style="transform: translateY(0.12px);">transform: translateY(0.48px);</div>
|
||||
<div id="translateY2" style="transform: translateY(0.56px);">transform: translateY(3.17px);</div>
|
||||
<div id="translateY3" style="transform: translateY(1.87px);">transform: translateY(0.34px);</div>
|
||||
|
||||
<div id="translateZ1" style="transform: translateZ(0.12px);">transform: translateZ(0.48px);</div>
|
||||
<div id="translateZ2" style="transform: translateZ(0.56px);">transform: translateZ(3.17px);</div>
|
||||
<div id="translateZ3" style="transform: translateZ(1.87px);">transform: translateZ(0.34px);</div>
|
||||
|
||||
<script>
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
translateX1.style.transform = "translateX(0.48px)";
|
||||
translateX2.style.transform = "translateX(3.17px)";
|
||||
translateX3.style.transform = "translateX(0.34px)";
|
||||
|
||||
translateY1.style.transform = "translateY(0.48px)";
|
||||
translateY2.style.transform = "translateY(3.17px)";
|
||||
translateY3.style.transform = "translateY(0.34px)";
|
||||
|
||||
translateZ1.style.transform = "translateZ(0.48px)";
|
||||
translateZ2.style.transform = "translateZ(3.17px)";
|
||||
translateZ3.style.transform = "translateZ(0.34px)";
|
||||
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}));
|
||||
</script>
|
||||
</html>
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transforms Test: Subpixel transform changes 'backface-visibility: hidden'</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-transforms/#transform-property">
|
||||
<link rel="match" href="reference/subpixel-transform-changes-002-ref.html">
|
||||
<meta name="assert" content="Test checks that subpixel transform changes work as expected regardless of 'backface-visibility: hidden'.">
|
||||
<style>
|
||||
div {
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="translateX1" style="transform: translateX(0.12px);">transform: translateX(0.48px);</div>
|
||||
<div id="translateX2" style="transform: translateX(0.56px);">transform: translateX(3.17px);</div>
|
||||
<div id="translateX3" style="transform: translateX(1.87px);">transform: translateX(0.34px);</div>
|
||||
|
||||
<div id="translateY1" style="transform: translateY(0.12px);">transform: translateY(0.48px);</div>
|
||||
<div id="translateY2" style="transform: translateY(0.56px);">transform: translateY(3.17px);</div>
|
||||
<div id="translateY3" style="transform: translateY(1.87px);">transform: translateY(0.34px);</div>
|
||||
|
||||
<div id="translateZ1" style="transform: translateZ(0.12px);">transform: translateZ(0.48px);</div>
|
||||
<div id="translateZ2" style="transform: translateZ(0.56px);">transform: translateZ(3.17px);</div>
|
||||
<div id="translateZ3" style="transform: translateZ(1.87px);">transform: translateZ(0.34px);</div>
|
||||
|
||||
<script>
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
translateX1.style.transform = "translateX(0.48px)";
|
||||
translateX2.style.transform = "translateX(3.17px)";
|
||||
translateX3.style.transform = "translateX(0.34px)";
|
||||
|
||||
translateY1.style.transform = "translateY(0.48px)";
|
||||
translateY2.style.transform = "translateY(3.17px)";
|
||||
translateY3.style.transform = "translateY(0.34px)";
|
||||
|
||||
translateZ1.style.transform = "translateZ(0.48px)";
|
||||
translateZ2.style.transform = "translateZ(3.17px)";
|
||||
translateZ3.style.transform = "translateZ(0.34px)";
|
||||
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}));
|
||||
</script>
|
||||
</html>
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transforms Test: Subpixel transform changes fixed positioning</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-transforms/#transform-property">
|
||||
<link rel="match" href="reference/subpixel-transform-changes-003-ref.html">
|
||||
<meta name="assert" content="Test checks that subpixel transform changes work as expected regardless of fixed positioning.">
|
||||
<style>
|
||||
div {
|
||||
position: fixed;
|
||||
left: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="translateX1" style="transform: translateX(0.12px); top: 0px;">transform: translateX(0.48px);</div>
|
||||
<div id="translateX2" style="transform: translateX(0.56px); top: 30px;">transform: translateX(3.17px);</div>
|
||||
<div id="translateX3" style="transform: translateX(1.87px); top: 60px;">transform: translateX(0.34px);</div>
|
||||
|
||||
<div id="translateY1" style="transform: translateY(0.12px); top: 90px;">transform: translateY(0.48px);</div>
|
||||
<div id="translateY2" style="transform: translateY(0.56px); top: 120px;">transform: translateY(3.17px);</div>
|
||||
<div id="translateY3" style="transform: translateY(1.87px); top: 150px;">transform: translateY(0.34px);</div>
|
||||
|
||||
<div id="translateZ1" style="transform: translateZ(0.12px); top: 180px;">transform: translateZ(0.48px);</div>
|
||||
<div id="translateZ2" style="transform: translateZ(0.56px); top: 210px;">transform: translateZ(3.17px);</div>
|
||||
<div id="translateZ3" style="transform: translateZ(1.87px); top: 240px;">transform: translateZ(0.34px);</div>
|
||||
|
||||
<!-- Force overflow on the body element. -->
|
||||
<div style="width: 200vw; height: 300vh;"></div>
|
||||
|
||||
<script>
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
translateX1.style.transform = "translateX(0.48px)";
|
||||
translateX2.style.transform = "translateX(3.17px)";
|
||||
translateX3.style.transform = "translateX(0.34px)";
|
||||
|
||||
translateY1.style.transform = "translateY(0.48px)";
|
||||
translateY2.style.transform = "translateY(3.17px)";
|
||||
translateY3.style.transform = "translateY(0.34px)";
|
||||
|
||||
translateZ1.style.transform = "translateZ(0.48px)";
|
||||
translateZ2.style.transform = "translateZ(3.17px)";
|
||||
translateZ3.style.transform = "translateZ(0.34px)";
|
||||
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}));
|
||||
</script>
|
||||
</html>
|
|
@ -0,0 +1,34 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>HTTP Cache - helper</title>
|
||||
<meta name="help" href="https://fetch.spec.whatwg.org/#http-cache-partitions">
|
||||
<meta name="timeout" content="normal">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/common/get-host-info.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
const host = get_host_info();
|
||||
|
||||
// Create iframe that is same-origin to the opener.
|
||||
var iframe = document.createElement("iframe");
|
||||
iframe.src = host.HTTP_ORIGIN + window.location.pathname.replace(/\/[^\/]*$/, '/') + "split-origin-popup.html";
|
||||
document.body.appendChild(iframe);
|
||||
|
||||
window.addEventListener("message", function listener(event) {
|
||||
if (event.origin !== host.HTTP_ORIGIN) {
|
||||
// Ignore messages not from the iframe or opener
|
||||
return;
|
||||
} else if (typeof(event.data) === "object") {
|
||||
// This message came from the opener, pass it on to the iframe
|
||||
iframe.contentWindow.postMessage(event.data, host.HTTP_ORIGIN);
|
||||
} else if (typeof(event.data) === "string") {
|
||||
// This message came from the iframe, pass it on to the opener
|
||||
window.opener.postMessage(event.data, host.HTTP_ORIGIN);
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>HTTP Cache - helper</title>
|
||||
<meta name="help" href="https://fetch.spec.whatwg.org/#request">
|
||||
<meta name="help" href="https://fetch.spec.whatwg.org/#http-cache-partitions">
|
||||
<meta name="timeout" content="normal">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="../http-cache.js"></script>
|
||||
|
@ -19,9 +19,10 @@
|
|||
event.source.postMessage("success", event.origin)
|
||||
},
|
||||
function(response) {
|
||||
event.source.postMessage("success", event.origin)
|
||||
event.source.postMessage("error", event.origin)
|
||||
}
|
||||
)
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>HTTP Cache - Partioning by top-level origin</title>
|
||||
<meta name="help" href="https://fetch.spec.whatwg.org/#request">
|
||||
<meta name="help" href="https://fetch.spec.whatwg.org/#http-cache-partitions">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/utils.js"></script>
|
||||
|
@ -14,8 +14,12 @@
|
|||
<script>
|
||||
const host = get_host_info();
|
||||
|
||||
// We run this entire test twice: first with a same-origin then with a cross-origin popup
|
||||
function performFullTest(is_same_origin_test) {
|
||||
// We run this entire test four times, varying the following two booleans:
|
||||
// - is_same_origin_test, which controls whether the popup is same-origin.
|
||||
// - load_resource_in_iframe, which controls whether the popup loads the
|
||||
// resource in an iframe or the mainframe. Note that the iframe is always
|
||||
// same-origin to the opener.
|
||||
function performFullTest(is_same_origin_test, load_resource_in_iframe) {
|
||||
const POPUP_HTTP_ORIGIN = is_same_origin_test ? host.HTTP_ORIGIN : host.HTTP_NOTSAMESITE_ORIGIN
|
||||
const LOCAL_HTTP_ORIGIN = host.HTTP_ORIGIN
|
||||
|
||||
|
@ -40,6 +44,9 @@ function performFullTest(is_same_origin_test) {
|
|||
],
|
||||
// If the popup's request was a cache hit, we would only expect 2
|
||||
// requests to the server. If it was a cache miss, we would expect 3.
|
||||
// load_resource_in_iframe does not affect the expectation as, even
|
||||
// though the iframe (if present) is same-origin, we expect a cache miss
|
||||
// when the popup's mainframe is a different origin.
|
||||
expected_response_headers: [
|
||||
["server-request-count", is_same_origin_test ? "2" : "3"]
|
||||
],
|
||||
|
@ -61,10 +68,13 @@ function performFullTest(is_same_origin_test) {
|
|||
|
||||
function popup_fetch() {
|
||||
return new Promise(function(resolve, reject) {
|
||||
var win = window.open(popupBaseURL + "resources/split-origin-popup.html")
|
||||
var relativeUrl = load_resource_in_iframe
|
||||
? "resources/split-origin-popup-with-iframe.html"
|
||||
: "resources/split-origin-popup.html";
|
||||
var win = window.open(popupBaseURL + relativeUrl);
|
||||
|
||||
// Post a message to intisearchte the popup's request and give the necessary
|
||||
// information. Posted researchtedly to account for dropped messages as the
|
||||
// Post a message to initiate the popup's request and give the necessary
|
||||
// information. Posted repeatedly to account for dropped messages as the
|
||||
// popup is loading.
|
||||
function postMessage(event) {
|
||||
var payload = {
|
||||
|
@ -111,8 +121,10 @@ function performFullTest(is_same_origin_test) {
|
|||
promise_test(() => local_fetch().then(popup_fetch).then(local_fetch2).then(check_server_info))
|
||||
}
|
||||
|
||||
performFullTest(true);
|
||||
performFullTest(false);
|
||||
performFullTest(true, true);
|
||||
performFullTest(false, true);
|
||||
performFullTest(true, false);
|
||||
performFullTest(false, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -46,10 +46,9 @@ promise_test(async (t) => {
|
|||
|
||||
promise_test(async (t) => {
|
||||
const worker = await createWorker(t, true, false, {});
|
||||
worker.onerror = () => t.done();
|
||||
|
||||
await new Promise(resolve => t.step_timeout(resolve, 500));
|
||||
assert_unreached('The worker should fire an error event');
|
||||
await new Promise(resolve => {
|
||||
worker.onerror = resolve;
|
||||
});
|
||||
}, 'COEP: none worker in COEP: require-corp frame');
|
||||
|
||||
promise_test(async (t) => {
|
||||
|
@ -84,10 +83,9 @@ promise_test(async (t) => {
|
|||
|
||||
promise_test(async (t) => {
|
||||
const worker = await createWorker(t, true, false, {type: 'module'});
|
||||
worker.onerror = () => t.done();
|
||||
|
||||
await new Promise(resolve => t.step_timeout(resolve, 500));
|
||||
assert_unreached('The worker should fire an error event');
|
||||
await new Promise(resolve => {
|
||||
worker.onerror = resolve;
|
||||
});
|
||||
}, 'COEP: none module worker in COEP: require-corp frame');
|
||||
|
||||
promise_test(async (t) => {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -18,9 +18,9 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
var num_iframes = 8;
|
||||
var order = ['5097f2cd0124cf5a23c7ccbe25f71a06966503df','0e11d51b0f71098caaccd166c368918c93683a7c','5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32','a1fe2c2debb936fc1bf663f0d7228eb509522467','dbd09e012016b52703ab081360265d3bf96f3c76','a57d838264ec0d79c8b0c3cb1feb5cb941c0084d','263ff1438ee785d081669eea0fa110cca1d0d590','1ace730a87644923b11aa89e4e472cc5dd91edb7','26454c08b0d791754bf2f94fbee62624cae5fa5c',];
|
||||
var order = ['5097f2cd0124cf5a23c7ccbe25f71a06966503df','0e11d51b0f71098caaccd166c368918c93683a7c','5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32','a1fe2c2debb936fc1bf663f0d7228eb509522467','dbd09e012016b52703ab081360265d3bf96f3c76','bf7c4a4a4872a47746e3e26a2e57394352514c2a','a57d838264ec0d79c8b0c3cb1feb5cb941c0084d','263ff1438ee785d081669eea0fa110cca1d0d590','1ace730a87644923b11aa89e4e472cc5dd91edb7','26454c08b0d791754bf2f94fbee62624cae5fa5c',];
|
||||
var tests = {
|
||||
"5097f2cd0124cf5a23c7ccbe25f71a06966503df":[async_test('html5lib_tests8.html 5097f2cd0124cf5a23c7ccbe25f71a06966503df'), "%3Cdiv%3E%0A%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"0e11d51b0f71098caaccd166c368918c93683a7c":[async_test('html5lib_tests8.html 0e11d51b0f71098caaccd166c368918c93683a7c'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32":[async_test('html5lib_tests8.html 5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22"],"a1fe2c2debb936fc1bf663f0d7228eb509522467":[async_test('html5lib_tests8.html a1fe2c2debb936fc1bf663f0d7228eb509522467'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ey%3C/span%3Ez", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22yz%22"],"dbd09e012016b52703ab081360265d3bf96f3c76":[async_test('html5lib_tests8.html dbd09e012016b52703ab081360265d3bf96f3c76'), "%3Ctable%3E%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"a57d838264ec0d79c8b0c3cb1feb5cb941c0084d":[async_test('html5lib_tests8.html a57d838264ec0d79c8b0c3cb1feb5cb941c0084d'), "x%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"263ff1438ee785d081669eea0fa110cca1d0d590":[async_test('html5lib_tests8.html 263ff1438ee785d081669eea0fa110cca1d0d590'), "x%3Ctable%3E%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"1ace730a87644923b11aa89e4e472cc5dd91edb7":[async_test('html5lib_tests8.html 1ace730a87644923b11aa89e4e472cc5dd91edb7'), "%3Cb%3Ea%3Cdiv%3E%3C/div%3E%3Cdiv%3E%3C/b%3Ey", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22y%22"],"26454c08b0d791754bf2f94fbee62624cae5fa5c":[async_test('html5lib_tests8.html 26454c08b0d791754bf2f94fbee62624cae5fa5c'), "%3Ca%3E%3Cdiv%3E%3Cp%3E%3C/a%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ca%3E"],
|
||||
"5097f2cd0124cf5a23c7ccbe25f71a06966503df":[async_test('html5lib_tests8.html 5097f2cd0124cf5a23c7ccbe25f71a06966503df'), "%3Cdiv%3E%0A%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"0e11d51b0f71098caaccd166c368918c93683a7c":[async_test('html5lib_tests8.html 0e11d51b0f71098caaccd166c368918c93683a7c'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32":[async_test('html5lib_tests8.html 5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22"],"a1fe2c2debb936fc1bf663f0d7228eb509522467":[async_test('html5lib_tests8.html a1fe2c2debb936fc1bf663f0d7228eb509522467'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ey%3C/span%3Ez", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22yz%22"],"dbd09e012016b52703ab081360265d3bf96f3c76":[async_test('html5lib_tests8.html dbd09e012016b52703ab081360265d3bf96f3c76'), "%3Ctable%3E%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"bf7c4a4a4872a47746e3e26a2e57394352514c2a":[async_test('html5lib_tests8.html bf7c4a4a4872a47746e3e26a2e57394352514c2a'), "%3Ctable%3E%3Cli%3E%3Cli%3E%3C/table%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%3Ctable%3E"],"a57d838264ec0d79c8b0c3cb1feb5cb941c0084d":[async_test('html5lib_tests8.html a57d838264ec0d79c8b0c3cb1feb5cb941c0084d'), "x%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"263ff1438ee785d081669eea0fa110cca1d0d590":[async_test('html5lib_tests8.html 263ff1438ee785d081669eea0fa110cca1d0d590'), "x%3Ctable%3E%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"1ace730a87644923b11aa89e4e472cc5dd91edb7":[async_test('html5lib_tests8.html 1ace730a87644923b11aa89e4e472cc5dd91edb7'), "%3Cb%3Ea%3Cdiv%3E%3C/div%3E%3Cdiv%3E%3C/b%3Ey", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22y%22"],"26454c08b0d791754bf2f94fbee62624cae5fa5c":[async_test('html5lib_tests8.html 26454c08b0d791754bf2f94fbee62624cae5fa5c'), "%3Ca%3E%3Cdiv%3E%3Cp%3E%3C/a%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ca%3E"],
|
||||
}
|
||||
init_tests(get_type());
|
||||
</script>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -764,5 +764,8 @@ TESTHARNESS-IN-OTHER-TYPE: svg/extensibility/foreignObject/foreign-object-under-
|
|||
TESTHARNESS-IN-OTHER-TYPE: svg/extensibility/foreignObject/foreign-object-under-defs-crash.html
|
||||
TESTHARNESS-IN-OTHER-TYPE: svg/svg-in-svg/svg-in-svg-circular-filter-reference-crash.html
|
||||
|
||||
TESTHARNESS-PATH: referrer-policy/generic/iframe-upgrade-request.sub.html
|
||||
TESTHARNESSREPORT-PATH: referrer-policy/generic/iframe-upgrade-request.sub.html
|
||||
|
||||
PRINT STATEMENT: webdriver/tests/print/printcmd.py
|
||||
PRINT STATEMENT: webdriver/tests/print/user_prompts.py
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Dominic Farolino" href="dom@chromium.org">
|
||||
<script src="https://{{domains[www]}}:{{ports[https][0]}}/resources/testharness.js"></script>
|
||||
<script src="https://{{domains[www]}}:{{ports[https][0]}}/resources/testharnessreport.js"></script>
|
||||
<body>
|
||||
<iframe id="iframe"></iframe>
|
||||
<script>
|
||||
async_test(t => {
|
||||
const iframe = document.querySelector('iframe');
|
||||
const insecure_origin = new URL(location.href).origin;
|
||||
iframe.src = insecure_origin + '/referrer-policy4generic/resources/referrer.py';
|
||||
|
||||
iframe.onload = t.step_func_done(() => {
|
||||
assert_true(iframe.contentDocument,
|
||||
"The iframe's contentDocument should be accessible, because the iframe");
|
||||
assert_equals(iframe.contentDocument.body.textContent, location.href + '/',
|
||||
"The referrer header sent for the iframe request should be redacted");
|
||||
});
|
||||
}, "If an insecure iframe request is upgraded to https to be cross-origin, " +
|
||||
"referrer policies that consider same-origin-ness should be applied correctly");
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,2 @@
|
|||
Content-Security-Policy: upgrade-insecure-requests
|
||||
Referrer-Policy: origin-when-cross-origin
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Dominic Farolino" href="dom@chromium.org">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<body>
|
||||
<iframe id="iframe"></iframe>
|
||||
<script>
|
||||
async_test(t => {
|
||||
const iframe = document.querySelector('iframe');
|
||||
const insecure_origin = new URL(location.href).origin.replace("https", "http");
|
||||
iframe.src = insecure_origin + '/referrer-policy/generic/resources/referrer.py';
|
||||
|
||||
iframe.onload = t.step_func_done(() => {
|
||||
assert_not_equals(iframe.contentDocument, null,
|
||||
"The iframe's contentDocument should be accessible");
|
||||
assert_equals(iframe.contentDocument.body.textContent, location.href,
|
||||
"The referrer header sent for the iframe request should not be redacted");
|
||||
});
|
||||
}, "If an insecure iframe request is upgraded to https to be same-origin, " +
|
||||
"referrer policies that consider same-origin-ness should be applied correctly");
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,2 @@
|
|||
Content-Security-Policy: upgrade-insecure-requests
|
||||
Referrer-Policy: origin-when-cross-origin
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue