Update web-platform-tests to revision 2ccf303ec934a8adfc613c2a73395a31956ec817

This commit is contained in:
WPT Sync Bot 2020-12-24 08:21:07 +00:00
parent cbda5c3e3e
commit b960606d13
143 changed files with 1789 additions and 305 deletions

View file

@ -1,4 +0,0 @@
[hit-test-floats-003.html]
[Miss float below something else]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -17,6 +17,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -1,2 +0,0 @@
[HTMLMediaElement.html]
expected: TIMEOUT

View file

@ -321,12 +321,12 @@
[<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>: 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;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -53,3 +53,6 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript x/x]
expected: FAIL

View file

@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,5 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
expected: TIMEOUT
[opener of discarded nested browsing context]
expected: FAIL

View file

@ -171,3 +171,6 @@
[XHTML img usemap="#hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -0,0 +1,2 @@
[readyState_during_canplaythrough.html]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.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

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-1.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -1,16 +1,7 @@
[select-event.html]
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd a second time (must not fire select)]
expected: FAIL
@ -23,27 +14,12 @@
[input type text: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type url: select() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
@ -62,9 +38,39 @@
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart a second time (must not fire select)]
expected: FAIL
[input type url: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd out of range a second time (must not fire select)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[activation-behavior.window.html]
[<a> that is not connected should be followed]
expected: FAIL

View file

@ -0,0 +1,19 @@
[escaping.html]
[document.implementation.createHTMLDocument and createContextualFragment]
expected: FAIL
[document.implementation.createHTMLDocument and document.write]
expected: FAIL
[DOMParser.parseFromString]
expected: FAIL
[template.innerHTML]
expected: FAIL
[document.implementation.createHTMLDocument and innerHTML]
expected: FAIL
[XMLHttpRequest]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -3,3 +3,6 @@
[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

View file

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

@ -449,3 +449,6 @@
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t-1.1388579153751666e-22\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t-4.0842222620435689e-37\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
expected: FAIL

View file

@ -1,5 +1,4 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -1142,6 +1142,15 @@
]
]
},
"shadow-dom": {
"nested-slot-remove-crash.html": [
"3081dd6540fe2b2ad42ad3c98ca1bde29b0c79dd",
[
null,
{}
]
]
},
"svg": {
"animations": {
"animated-classname-crash.svg": [
@ -127360,12 +127369,12 @@
]
],
"box-shadow-radius-000.html": [
"7ca2cffad0cd4e89c1e12bd928bd8aa4f3ae28e2",
"69474d1a5d2dcb5a6847c7e7692ee7f1115d772c",
[
null,
[
[
"/css/css-backgrounds/box-shadow-radius-001-ref.html",
"/css/css-backgrounds/box-shadow-radius-000-ref.html",
"=="
]
],
@ -143442,7 +143451,7 @@
]
],
"flexbox-min-height-auto-002b.html": [
"e8c94f766f74583abc64c7af1ed6a16317442292",
"412b4b98c714320202c2fe02794583796bd546af",
[
null,
[
@ -334326,6 +334335,10 @@
}
},
"document-policy": {
"META.yml": [
"673defaa02ed0eab478056f8bb12ad4cb82f8c74",
[]
],
"echo-policy-nested.html": [
"5a01f4e1ece983dc44136b763dc93430a5578c2b",
[]
@ -341728,7 +341741,7 @@
},
"cross-origin-embedder-policy": {
"META.yml": [
"103217d38892308541fbc0dbc8d39acfb47d4e80",
"dc7010880b61d455c7ecdc43cbc2a4e00081bd19",
[]
],
"README.md": [
@ -341936,7 +341949,7 @@
},
"cross-origin-opener-policy": {
"META.yml": [
"6c6d26211861f5af94cebae7a687b70d10ffe1b4",
"b9d578d22f005fd46b503da335202abae340c54c",
[]
],
"README.md": [
@ -351966,6 +351979,10 @@
]
},
"installedapp": {
"META.yml": [
"fa67e2fdfae76093fe0b130e781b97cbd496f435",
[]
],
"resources": {
"iframe.html": [
"8c7fe21114be50b7f92ef014b8ff6660b1500a95",
@ -352195,7 +352212,7 @@
[]
],
"encrypted-media.idl": [
"0a43cb7481b0a790327542c6e0694496b86f527d",
"851232b8bf7c68559295dd211766f8c0f34124f2",
[]
],
"entries-api.idl": [
@ -352795,7 +352812,7 @@
},
"js": {
"META.yml": [
"d4cbc628516bf0d2694b6a420d81a6d05e0eee0a",
"555eb7fe2fc42c42d3d30deccf4fd4858ec5ef9d",
[]
],
"builtins": {
@ -353715,7 +353732,7 @@
},
"measure-memory": {
"META.yml": [
"0c7b5bf7808ac6fc2d45883ed73c2ed81116fcb7",
"c80aa788b85e3216b16b1e7e7dcba062d7143efb",
[]
],
"README.md": [
@ -354684,6 +354701,10 @@
]
},
"native-file-system": {
"META.yml": [
"b4eaf1a49c5d1d841b116a4ec272b7b2b60dc87a",
[]
],
"README.md": [
"6905a68e7901ce26bc1a363062304e1536604400",
[]
@ -359206,6 +359227,10 @@
]
},
"screen_enumeration": {
"META.yml": [
"abfee89ffbdd29ccd2741bbd3d4a314387025509",
[]
],
"README.md": [
"42a5ebfc5169f43fa9289e85fed4d640071fde3d",
[]
@ -360632,18 +360657,6 @@
"ff333bd97da4c6949a3142ac8789cb2e45d41b86",
[]
],
"dummy-worker-interceptor.js": [
"5129ed51ea550c210abc53e11209e7a3e9dc36b1",
[]
],
"dummy.html": [
"12a179980df2ff60c258827119c78a645e1a74a7",
[]
],
"dummy.txt": [
"802992c4220de19a90767f3000a79a31b98d0df7",
[]
],
"echo-content.py": [
"70ae4b60254cf7971cdd92dc2b1e382ef1a6196b",
[]
@ -360837,7 +360850,7 @@
[]
],
"fetch-event-within-sw-worker.js": [
"f3180d776c5b02ed2cf202c298fabfd1e8f8ea11",
"5903bab968dc47aec8d5a51da1422d1eccbdb076",
[]
],
"fetch-event-worker-timing.js": [
@ -360849,11 +360862,11 @@
[]
],
"fetch-mixed-content-iframe-inscope-to-inscope.html": [
"b6a260d066bfba04023ae35cf5bfb5690c9f9c5e",
"64a634e9db7b955bcb291ffa02b23da3b8962f47",
[]
],
"fetch-mixed-content-iframe-inscope-to-outscope.html": [
"b8c940c2a0a5680aa2282cb7e3b619408ed82f86",
"be0b5c8f561defcf7b10977f54d270ab838bc09f",
[]
],
"fetch-mixed-content-iframe.html": [
@ -360865,11 +360878,11 @@
[]
],
"fetch-request-css-base-url-style.css": [
"7643f667adbc263243d93f6fa3a3b46a77d4de11",
"f14fcaae7275d42f68cac83eed6d78727461a6e3",
[]
],
"fetch-request-css-base-url-worker.js": [
"e8dbd2725c68f9326c41ae5e7bde65158970a272",
"10d3b1880934e633ecaaf9a0dc590547ce46e462",
[]
],
"fetch-request-css-cross-origin-mime-check-cross.css": [
@ -360909,11 +360922,11 @@
[]
],
"fetch-request-html-imports-iframe.html": [
"795185944e9423038e70421bcb86ed4537e0687f",
"07a084257a8cfec3a1e6310433c6d5b0b7693f55",
[]
],
"fetch-request-html-imports-worker.js": [
"5525d526866af8a9941031d0bc54621b2c6d62bf",
"110727bd52cf62242778482e49a6ccf7a902bfb9",
[]
],
"fetch-request-no-freshness-headers-iframe.html": [
@ -360937,11 +360950,11 @@
[]
],
"fetch-request-resources-worker.js": [
"5c9e86d66846605a96a9fd61889e71b7ad4b7d00",
"983cccb8db7895d8d72943061b6660a86fe99a04",
[]
],
"fetch-request-xhr-iframe.https.html": [
"4e8116c0c4122dd9fe7b1d150b384f7849f6b57d",
"b3ddec1a701b438025d9b5dd2075662dadb79bf6",
[]
],
"fetch-request-xhr-sync-iframe.html": [
@ -360957,7 +360970,7 @@
[]
],
"fetch-request-xhr-worker.js": [
"91b3abb14d9c675a0bd886344a26482f36bb5770",
"4e428374bc227191c1bf7ac23d27b820aa56dd9e",
[]
],
"fetch-response-taint-iframe.html": [
@ -360965,11 +360978,11 @@
[]
],
"fetch-response-xhr-iframe.https.html": [
"612c9341eb785768a3d4f9ad5ba2910fc90f677d",
"c26eebee49d83e768b9e58f55d6e4687a2c5c110",
[]
],
"fetch-response-xhr-worker.js": [
"465fbc91baa71669ca9c3f32117ee834de8294d0",
"0301b12c18a54b2c24ec430c469390545abd7a50",
[]
],
"fetch-rewrite-worker-referrer-policy.js": [
@ -361101,11 +361114,11 @@
[]
],
"invalid-blobtype-iframe.https.html": [
"1e6cacb55d7f80f6c71e3be513c10a756d66543b",
"04a9cb515e092153ee016fa9a3e3da63635c55b1",
[]
],
"invalid-blobtype-worker.js": [
"93f496ef44e713ca246fb82e1cbf71391143bcef",
"865dc30d428228d9fc5c0161d669360f84df7660",
[]
],
"invalid-chunked-encoding-with-flush.py": [
@ -361117,19 +361130,19 @@
[]
],
"invalid-header-iframe.https.html": [
"80531b79db95723f880d6bb8f36332f1d41ac3de",
"8f0e6baca1757cfc18c929438b72750920303343",
[]
],
"invalid-header-worker.js": [
"31e7f29d06fd7e4f2d38560339ec4445eec51328",
"850874b8116dabc2a86de9c183ca430b2a415f06",
[]
],
"iso-latin1-header-iframe.html": [
"90e3f698cfa6bb6d12ee8184953b4f7fbde719e4",
"cf2fa8d14f7c6089d11979e4be4094f4e7fbab25",
[]
],
"iso-latin1-header-worker.js": [
"3ab5c7e73186b49d88eaae971ce8c2a6bef5d431",
"d9ecca277b3fae5bc4698ff467a85714be7b15a3",
[]
],
"load_worker.js": [
@ -361141,11 +361154,11 @@
[]
],
"local-url-inherit-controller-frame.html": [
"b331f88d47179ef15d3f2634f84d6a2791001934",
"5520c3a31bf70a88ec7441f29cc7d5ab3401332f",
[]
],
"local-url-inherit-controller-worker.js": [
"9d8955f111f6f3624da8a31e033544e738ba2751",
"4b7aad0f58a850f0e9f6765b84ae08cccc62f6d3",
[]
],
"malformed-http-response.asis": [
@ -361357,7 +361370,7 @@
[]
],
"performance-timeline-worker.js": [
"cac327c34bf9df184913c561b584b038f3504c94",
"6c6dfcbd281173549535af9cbab4f461b1e2b21c",
[]
],
"postmessage-blob-url.js": [
@ -361469,11 +361482,11 @@
[]
],
"resource-timing-iframe.sub.html": [
"41bc2e77c1b4acb3a57a83f9c9889f4e9c538103",
"384c29b536bf1db829532b9485d41020f85bed95",
[]
],
"resource-timing-worker.js": [
"5bc6ef34748f6de4b418fd16d2261a4276483a6a",
"b74e8cd6a236bd7c4477910a064f366e3da8470b",
[]
],
"respond-then-throw-worker.js": [
@ -361492,6 +361505,18 @@
"b9c28f51f90a8fc95c687713d945f4a19b127a64",
[]
],
"sample-worker-interceptor.js": [
"5129ed51ea550c210abc53e11209e7a3e9dc36b1",
[]
],
"sample.html": [
"12a179980df2ff60c258827119c78a645e1a74a7",
[]
],
"sample.txt": [
"802992c4220de19a90767f3000a79a31b98d0df7",
[]
],
"sandboxed-iframe-fetch-event-iframe.html": [
"239fa7330371bceb58567186d18095d04e4eee5b",
[]
@ -361613,7 +361638,7 @@
[]
],
"test-helpers.sub.js": [
"38840b75303dc598cf66a8771e51bbc5877db8fa",
"3f6a2055f68bd33d124774c3f14301ba53f7653f",
[]
],
"test-request-headers-worker.js": [
@ -363897,7 +363922,7 @@
}
},
"localpaths.py": [
"87eafccf4d23367d765cffd9754543c72aec38a7",
"a79acb82a50c55ece58bb6040f6b9a19808c8a2a",
[]
],
"manifest": {
@ -370446,6 +370471,112 @@
[]
]
}
},
"zipp": {
".flake8": [
"790c109fdbef2581d223125bd21b663cb354c2d2",
[]
],
".pre-commit-config.yaml": [
"922d94247a0d7639cbe137435cd9dee84ef0ab8b",
[]
],
".readthedocs.yml": [
"8ae4468428bedf7441c4b43928425055a4453191",
[]
],
".travis.yml": [
"b7d8f3ac9d6fb151a63a4ee74984dd755564bc5e",
[]
],
"CHANGES.rst": [
"a464a6324b7bea813db8846bd6c69fe9cdec433f",
[]
],
"LICENSE": [
"5e795a61f302ff5d425eac2281ff13c15b21ed1b",
[]
],
"PKG-INFO": [
"33ef1cf01c4b232648a70a0f2fa9733a4232b498",
[]
],
"README.rst": [
"ce128a32ba3113f118830a1fb975879b7dd1038b",
[]
],
"appveyor.yml": [
"f35aa27d684244ed59c1dedfd84d758aedab4cd2",
[]
],
"conftest.py": [
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
[]
],
"docs": {
"conf.py": [
"41b53557fb2e372683899c51a6a5892b80bc5935",
[]
],
"history.rst": [
"8e217503ba1a68826af8e1e9db4bd16ce7a21857",
[]
],
"index.rst": [
"ff49bf9dc706d62c9e8524f346db1bdd63d026bb",
[]
]
},
"pyproject.toml": [
"3afc8c33b78baa7666d30f38ee522c84a21bfb7f",
[]
],
"setup.cfg": [
"ef4abd248a435a9f990f78401172db9f6f3650e3",
[]
],
"setup.py": [
"827e955fcd6c2af63ad1ad4cb42e41e29e62074f",
[]
],
"skeleton.md": [
"52b97f09b418894679951fb9867b5b0dc6618f1b",
[]
],
"test_zipp.py": [
"810d10bd68fc27f897dff2d411582de979962451",
[]
],
"tox.ini": [
"cb542c136c38eaf330fd2e9b3231d1010fbe1aac",
[]
],
"zipp.egg-info": {
"PKG-INFO": [
"33ef1cf01c4b232648a70a0f2fa9733a4232b498",
[]
],
"SOURCES.txt": [
"845b342cefc40058134ac715dc8fa806e40b6e95",
[]
],
"dependency_links.txt": [
"8b137891791fe96927ad78e64b0aad7bded08bdc",
[]
],
"requires.txt": [
"90bab46ac4930d35f39e82172aadf0e9a5bdd8a2",
[]
],
"top_level.txt": [
"e82f676f82a3381fa909d1e6578c7a22044fafca",
[]
]
},
"zipp.py": [
"892205834abaee2b4c1d3bb4507609de0ad1c2f6",
[]
]
}
},
"tox.ini": [
@ -374685,7 +374816,7 @@
},
"webrtc-extensions": {
"META.yml": [
"4ceee0664cbfb800ac8b410c295dde4c7009b024",
"be8cb028f08842589d6c2f06391bc5c8469048d2",
[]
]
},
@ -378399,7 +378530,7 @@
],
"x-frame-options": {
"META.yml": [
"21ef0699364f406f337cfda70d974bacc4b5a934",
"622213edadbf2145a5039c8b06923ec9cc48bab4",
[]
],
"README.md": [
@ -495437,6 +495568,13 @@
]
},
"serializing-html-fragments": {
"escaping.html": [
"1602964ee1dc21c57f0fa22981edeaeaafcae026",
[
null,
{}
]
],
"initial-linefeed-pre.html": [
"d4e30bb60d3e0a9ac7c0f954c3e9d7441b9457b9",
[
@ -529635,7 +529773,7 @@
]
],
"activation.https.html": [
"e6f136e6b8bb6ae5c7ae4d40555c90abbc80fdef",
"278454d3383e3d71a3925663dfcfc3444eddff83",
[
null,
{
@ -529872,7 +530010,7 @@
]
],
"detached-context.https.html": [
"cbb818f7ac0ebcb87ea53d94e85b5045d9ead35e",
"747a953f6203758f0ff7d18fc6eb8cc9c19f17de",
[
null,
{}
@ -529969,7 +530107,7 @@
]
],
"fetch-csp.https.html": [
"4f176220d6100c4efb1bfda817b84cf5f53a4f3d",
"2522f4828bd02907e74012062da68d68f57aae83",
[
null,
{}
@ -530004,7 +530142,7 @@
]
],
"fetch-event-handled.https.html": [
"89f3d79a681a22cfd6889b3c0603f7388d460472",
"8d39b65bb628b8dcda07c804162583c80986a6c3",
[
null,
{}
@ -530099,7 +530237,7 @@
]
],
"fetch-event-within-sw.https.html": [
"f5a60c3060961a2b1674c8959c5d4a0af7b5452a",
"0b52b18305faa1e36ea6873ed534913adb6e5c75",
[
null,
{
@ -530158,7 +530296,7 @@
]
],
"fetch-request-css-base-url.https.html": [
"a08e0c74881364f7fd29d3e6ac332a7e1d94bf7a",
"467a66cee464e687238c25da2fb17cb01501fb0d",
[
null,
{}
@ -530172,7 +530310,7 @@
]
],
"fetch-request-css-images.https.html": [
"958de1af85f4ee6ba58b47de38971f9ff2aa2ba0",
"586dea26135fc535bf812d86c9854541daabbc39",
[
null,
{}
@ -530193,7 +530331,7 @@
]
],
"fetch-request-redirect.https.html": [
"57fb8eb4c95d54b20d674728270e140db0f6b473",
"5ce015b421fcaf73777926b6cb1f1a2aa0a1d30f",
[
null,
{
@ -530202,7 +530340,7 @@
]
],
"fetch-request-resources.https.html": [
"50864ca78955ea2d52b8e6f71abe2dd6dfef431a",
"b4680c3ccd58d9d7def9d69ff1d1048a6ae02905",
[
null,
{}
@ -530585,7 +530723,7 @@
]
],
"performance-timeline.https.html": [
"1fe19da53be6c460cae5f069794bbdee3f4a0da8",
"e56e6fe416ff215341ba9b6df088f111f9645623",
[
null,
{}
@ -530652,7 +530790,7 @@
]
],
"redirected-response.https.html": [
"7262af36aba6977638cccc341d6935979cc86af6",
"d2c7858beddfcf471a4c157fea16bab4baa1e45b",
[
null,
{}
@ -530805,7 +530943,7 @@
]
],
"registration-updateviacache.https.html": [
"b7b2b40d756a21dc178730dbbd7fa561ac9f723a",
"b2f6bbc6f849c7e8051f1aedc9f476c47d5a39a4",
[
null,
{
@ -530835,7 +530973,7 @@
]
],
"resource-timing.sub.https.html": [
"f2f81bc35a1a49e2e690a967d16caf90b5c2e257",
"9808ae5ae1bed06f5303240b772e4ead0d317137",
[
null,
{}
@ -531034,7 +531172,7 @@
]
],
"update-after-oneday.https.html": [
"d9b9fcfb8db37ea3b0d571250b22b88ca7354772",
"e7a8aa42d307799b157fd3994ac291d5c596bfd1",
[
null,
{}
@ -531182,7 +531320,7 @@
]
],
"worker-interception.https.html": [
"302a214ac619400c38f7564c065a5e0be47ac6df",
"eb79203a44183403704ebe0389b2bb957a327d56",
[
null,
{
@ -531191,7 +531329,7 @@
]
],
"xhr-response-url.https.html": [
"1ad2ce3851cc7bce24120dd80bdf54662781ac66",
"673ca52cc67450f8b296ea50f7ac4c4fee310602",
[
null,
{}
@ -531335,7 +531473,7 @@
]
],
"declarative-shadow-dom-opt-in.tentative.html": [
"d1fd9fc448a220c270dff51117648ccc8ba16607",
"a49e759ed4a7cc7f3c63f8e4452ee5915169ae5b",
[
null,
{}

View file

@ -1,4 +0,0 @@
[hit-test-floats-003.html]
[Miss float below something else]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -21,6 +21,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -1,2 +0,0 @@
[HTMLMediaElement.html]
expected: TIMEOUT

View file

@ -321,12 +321,12 @@
[<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>: 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;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -53,3 +53,6 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript x/x]
expected: FAIL

View file

@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,5 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
expected: TIMEOUT
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -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

View file

@ -0,0 +1,2 @@
[readyState_during_canplaythrough.html]
expected: TIMEOUT

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-1.html]
type: testharness
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

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-1.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -1,16 +1,7 @@
[select-event.html]
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd a second time (must not fire select)]
expected: FAIL
@ -23,27 +14,12 @@
[input type text: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type url: select() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
@ -62,9 +38,39 @@
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart a second time (must not fire select)]
expected: FAIL
[input type url: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd out of range a second time (must not fire select)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[activation-behavior.window.html]
[<a> that is not connected should be followed]
expected: FAIL

View file

@ -0,0 +1,19 @@
[escaping.html]
[document.implementation.createHTMLDocument and createContextualFragment]
expected: FAIL
[document.implementation.createHTMLDocument and document.write]
expected: FAIL
[DOMParser.parseFromString]
expected: FAIL
[template.innerHTML]
expected: FAIL
[document.implementation.createHTMLDocument and innerHTML]
expected: FAIL
[XMLHttpRequest]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -4,3 +4,6 @@
[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

View file

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

@ -677,3 +677,6 @@
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t-1.1388579153751666e-22\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t-4.0842222620435689e-37\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
expected: FAIL

View file

@ -1,5 +1,4 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -2,7 +2,7 @@
<title>Box Shadow Border Radius (Outset)</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#shadow-shape">
<link rel="match" href="box-shadow-radius-001-ref.html">
<link rel="match" href="box-shadow-radius-000-ref.html">
<style>
body > div {

View file

@ -32,6 +32,7 @@
.flexbox {
display: flex;
flex-direction: column;
max-width: 34px; /* Constrain the flex container's cross size. */
height: 1px; /* No available space; shrink flex items to min-height */
margin-right: 2px; /* (Just for spacing things out, visually) */
float: left;

View file

@ -0,0 +1 @@
spec: https://wicg.github.io/document-policy/

View file

@ -1,4 +1,4 @@
spec: https://mikewest.github.io/corpp/
spec: https://html.spec.whatwg.org/multipage/origin.html#coep
suggested_reviewers:
- mikewest
- jugglinmike

View file

@ -1,4 +1,4 @@
spec: https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e
spec: https://html.spec.whatwg.org/multipage/origin.html#cross-origin-opener-policies
suggested_reviewers:
- mikewest
- jugglinmike

View file

@ -0,0 +1,89 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Serialization of script-disabled documents should follow escaping rules</title>
<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org">
<link rel="help" href="https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
const html_escaped = '&amp;&nbsp;&lt;&gt;';
const html_unescaped = '& <>';
function getHtml(deEscapeParse) {
return `<noscript>${deEscapeParse ? html_escaped : html_unescaped}</noscript>`;
}
function testDoc(escapeSerialize, parsedNode) {
const node = parsedNode.firstChild;
const innerText = node.textContent;
assert_equals(innerText, html_unescaped, 'Content should be unescaped');
const serialized = node.innerHTML;
const expectation = escapeSerialize ? html_escaped : html_unescaped;
assert_equals(serialized, expectation, `Serialization ${escapeSerialize ? 'should' : 'should NOT'} re-escape <noscript> contents`);
}
test(() => {
const div = document.createElement('div');
document.body.appendChild(div);
div.innerHTML = getHtml(false);
testDoc(false, div);
}, 'div.innerHTML');
test(() => {
const div = document.createElement('div');
div.insertAdjacentHTML('afterbegin',getHtml(false));
testDoc(false, div);
}, 'div.insertAdjacentHTML');
test(() => {
const id = 'doc-write-1';
document.write(`<div id=${id} style="display:none">${getHtml(false)}</div>`);
testDoc(false, document.getElementById(id));
}, 'document.write on main document');
test(() => {
const doc = (new DOMParser()).parseFromString(`<body>${getHtml(true)}</body>`, 'text/html');
testDoc(true, doc.body);
}, 'DOMParser.parseFromString');
test(() => {
const template = document.createElement('template');
document.body.appendChild(template);
template.innerHTML = getHtml(true);
testDoc(true, template.content);
}, 'template.innerHTML');
test(() => {
const doc = document.implementation.createHTMLDocument('');
doc.body.innerHTML=`<pre>${getHtml(true)}</pre>`;
testDoc(true, doc.body.firstChild);
}, 'document.implementation.createHTMLDocument and innerHTML');
test(() => {
const doc = document.implementation.createHTMLDocument('');
let range = doc.createRange();
range.selectNode(doc.body);
const frag = range.createContextualFragment(getHtml(true));
testDoc(true, frag);
}, 'document.implementation.createHTMLDocument and createContextualFragment');
test(() => {
const id = 'doc-write-2';
const doc = document.implementation.createHTMLDocument('');
doc.write(`<div id=${id} style="display:none">${getHtml(false)}</div>`);
testDoc(true, doc.getElementById(id));
}, 'document.implementation.createHTMLDocument and document.write');
async_test((t) => {
let client = new XMLHttpRequest();
client.addEventListener('load', t.step_func_done(() => {
assert_true(client.status == 200 && client.responseXML != null);
testDoc(true, client.responseXML.body.firstChild);
t.done();
}));
client.open("GET", `data:text/html,<pre>${getHtml(true)}</pre>`);
client.responseType = 'document';
client.send();
}, 'XMLHttpRequest');
</script>

View file

@ -0,0 +1 @@
spec: https://wicg.github.io/get-installed-related-apps/spec/

View file

@ -65,7 +65,7 @@ enum MediaKeySessionType {
iterable<BufferSource,MediaKeyStatus>;
readonly attribute unsigned long size;
boolean has (BufferSource keyId);
any get (BufferSource keyId);
(MediaKeyStatus or undefined) get (BufferSource keyId);
};
enum MediaKeyStatus {

View file

@ -1,3 +1,3 @@
spec: https://tc39.github.io/ecma262/
spec: https://tc39.es/ecma262/
suggested_reviewers:
- Ms2ger

View file

@ -1,2 +1,3 @@
spec: https://wicg.github.io/performance-measure-memory/
suggested_reviewers:
- ulan

View file

@ -0,0 +1 @@
spec: https://wicg.github.io/file-system-access/

View file

@ -0,0 +1 @@
spec: https://webscreens.github.io/window-placement/

View file

@ -50,7 +50,7 @@ function setup_activation_test(t, scope, worker_url) {
return wait_for_state(t, registration.installing, 'installed');
})
.then(() => {
return wait_for_activation_on_dummy_scope(t, self);
return wait_for_activation_on_sample_scope(t, self);
})
.then(() => {
assert_not_equals(registration.waiting, null);
@ -70,7 +70,7 @@ promise_test(t => {
iframe = result.iframe;
// Finish the in-flight request.
registration.active.postMessage('go');
return wait_for_activation_on_dummy_scope(t, self);
return wait_for_activation_on_sample_scope(t, self);
})
.then(() => {
// The new worker is still waiting. Remove the frame and it should

View file

@ -47,14 +47,14 @@ promise_test(t => {
// resolve on a detached registration. We can't check for
// an explicit rejection, though, because not all browsers
// fire rejection callbacks on detached promises. Instead
// we wait for a dummy scope to install, activate, and
// we wait for a sample scope to install, activate, and
// unregister before declaring that the promises did not
// resolve.
r.unregister().then(() => resolvedCount += 1,
() => {});
r.update().then(() => resolvedCount += 1,
() => {});
return wait_for_activation_on_dummy_scope(t, window);
return wait_for_activation_on_sample_scope(t, window);
})
.then(() => {
assert_equals(resolvedCount, 0,

View file

@ -59,7 +59,7 @@ promise_test(function(t) {
return assert_resolves(
frame.contentWindow.load_image(
// The request for IMAGE_URL will be fetched in SW.
'./dummy?url=' + encodeURIComponent(IMAGE_URL)),
'./sample?url=' + encodeURIComponent(IMAGE_URL)),
'Allowed scope image resource which was fetched via SW should ' +
'be loaded.');
})
@ -67,7 +67,7 @@ promise_test(function(t) {
return assert_rejects(
frame.contentWindow.load_image(
// The request for REMOTE_IMAGE_URL will be fetched in SW.
'./dummy?mode=no-cors&url=' +
'./sample?mode=no-cors&url=' +
encodeURIComponent(REMOTE_IMAGE_URL)),
'Disallowed scope image resource which was fetched via SW ' +
'should not be loaded.');

View file

@ -40,7 +40,7 @@ promise_test(async (t) => {
' navigation request');
promise_test(async (t) => {
frame.contentWindow.fetch('dummy.txt?respondWith-not-called');
frame.contentWindow.fetch('sample.txt?respondWith-not-called');
const message = await wait_for_message_from_worker();
assert_equals(message, 'RESOLVED');
}, 'FetchEvent.handled should resolve when respondWith() is not called for a' +
@ -48,7 +48,7 @@ promise_test(async (t) => {
promise_test(async (t) => {
frame.contentWindow.fetch(
'dummy.txt?respondWith-not-called-and-event-canceled').catch((e) => {});
'sample.txt?respondWith-not-called-and-event-canceled').catch((e) => {});
const message = await wait_for_message_from_worker();
assert_equals(message, 'REJECTED');
}, 'FetchEvent.handled should reject when respondWith() is not called and the' +
@ -56,7 +56,7 @@ promise_test(async (t) => {
promise_test(async (t) => {
frame.contentWindow.fetch(
'dummy.txt?respondWith-called-and-promise-resolved');
'sample.txt?respondWith-called-and-promise-resolved');
const message = await wait_for_message_from_worker();
assert_equals(message, 'RESOLVED');
}, 'FetchEvent.handled should resolve when the promise provided' +
@ -64,7 +64,7 @@ promise_test(async (t) => {
promise_test(async (t) => {
frame.contentWindow.fetch(
'dummy.txt?respondWith-called-and-promise-resolved-to-invalid-response')
'sample.txt?respondWith-called-and-promise-resolved-to-invalid-response')
.catch((e) => {});
const message = await wait_for_message_from_worker();
assert_equals(message, 'REJECTED');
@ -73,7 +73,7 @@ promise_test(async (t) => {
promise_test(async (t) => {
frame.contentWindow.fetch(
'dummy.txt?respondWith-called-and-promise-rejected').catch((e) => {});
'sample.txt?respondWith-called-and-promise-rejected').catch((e) => {});
const message = await wait_for_message_from_worker();
assert_equals(message, 'REJECTED');
}, 'FetchEvent.handled should reject when the promise provided to' +

View file

@ -28,12 +28,12 @@ promise_test(async t => {
const iframe = await registerSwAndOpenFrame(t);
const fetchText =
await iframe.contentWindow.fetch('dummy.txt').then(r => r.text());
await iframe.contentWindow.fetch('sample.txt').then(r => r.text());
const cache = await iframe.contentWindow.caches.open('test');
await cache.add('dummy.txt');
await cache.add('sample.txt');
const response = await cache.match('dummy.txt');
const response = await cache.match('sample.txt');
const cacheText = await (response ? response.text() : 'cache match failed');
assert_equals(fetchText, 'intercepted', 'fetch intercepted');
assert_equals(cacheText, 'intercepted', 'cache.add intercepted');
@ -42,8 +42,8 @@ promise_test(async t => {
promise_test(async t => {
const iframe = await registerSwAndOpenFrame(t);
const [fetchText, cacheText] = await Promise.all([
iframe.contentWindow.fetch('dummy.txt-inner-fetch').then(r => r.text()),
iframe.contentWindow.fetch('dummy.txt-inner-cache').then(r => r.text())
iframe.contentWindow.fetch('sample.txt-inner-fetch').then(r => r.text()),
iframe.contentWindow.fetch('sample.txt-inner-cache').then(r => r.text())
]);
assert_equals(fetchText, 'Hello world\n', 'fetch within SW not intercepted');
assert_equals(cacheText, 'Hello world\n',

View file

@ -70,13 +70,13 @@ const cssFile = 'fetch-request-css-base-url-style.css';
base_url_test({
framePath: SCOPE + '?fetch',
expectImageRequestPath: 'resources/dummy.png',
expectImageRequestPath: 'resources/sample.png',
expectImageRequestReferrer: `resources/${cssFile}?fetch`,
description: 'base URL when service worker does respondWith(fetch(responseUrl)).'});
base_url_test({
framePath: SCOPE + '?newResponse',
expectImageRequestPath: 'resources/request-url-path/dummy.png',
expectImageRequestPath: 'resources/request-url-path/sample.png',
expectImageRequestReferrer: `resources/request-url-path/${cssFile}?newResponse`,
description: 'base URL when service worker does respondWith(new Response()).'});

View file

@ -9,9 +9,9 @@ var SCOPE = 'resources/fetch-request-resources-iframe.https.html';
var SCRIPT = 'resources/fetch-request-resources-worker.js';
var host_info = get_host_info();
var LOCAL_URL =
host_info['HTTPS_ORIGIN'] + base_path() + 'resources/dummy?test';
host_info['HTTPS_ORIGIN'] + base_path() + 'resources/sample?test';
var REMOTE_URL =
host_info['HTTPS_REMOTE_ORIGIN'] + base_path() + 'resources/dummy?test';
host_info['HTTPS_REMOTE_ORIGIN'] + base_path() + 'resources/sample?test';
function css_image_test(expected_results, frame, url, type,
expected_mode, expected_credentials) {

View file

@ -63,7 +63,7 @@ promise_test(function(t) {
var IMAGE_URL = base_path() + 'resources/square.png';
var AUDIO_URL = getAudioURI("/media/sound_5");
var XHR_URL = base_path() + 'resources/simple.txt';
var HTML_URL = base_path() + 'resources/dummy.html';
var HTML_URL = base_path() + 'resources/sample.html';
var REDIRECT_TO_IMAGE_URL = REDIRECT_URL + encodeURIComponent(IMAGE_URL);
var REDIRECT_TO_AUDIO_URL = REDIRECT_URL + encodeURIComponent(AUDIO_URL);

View file

@ -162,9 +162,9 @@ promise_test(async t => {
const SCRIPT = 'resources/fetch-request-resources-worker.js';
const host_info = get_host_info();
const LOCAL_URL =
host_info['HTTPS_ORIGIN'] + base_path() + 'resources/dummy?test';
host_info['HTTPS_ORIGIN'] + base_path() + 'resources/sample?test';
const REMOTE_URL =
host_info['HTTPS_REMOTE_ORIGIN'] + base_path() + 'resources/dummy?test';
host_info['HTTPS_REMOTE_ORIGIN'] + base_path() + 'resources/sample?test';
const registration =
await service_worker_unregister_and_register(t, SCRIPT, SCOPE);

View file

@ -12,7 +12,7 @@ service_worker_test(
// is included in the Performance API's timing information.
promise_test(t => {
let script = 'resources/empty-but-slow-worker.js';
let scope = 'resources/dummy.txt?slow-sw-timing';
let scope = 'resources/sample.txt?slow-sw-timing';
let url = new URL(scope, window.location).href;
let slowURL = url + '&slow';
let frame;

View file

@ -267,7 +267,7 @@ promise_test(t => setup_and_clean()
promise_test(t => setup_and_clean()
.then(() => {
const url = host_info['HTTPS_ORIGIN'] + base_path() +
'dummy?url=' + encodeURIComponent(TARGET_URL) +
'sample?url=' + encodeURIComponent(TARGET_URL) +
'&original-redirect-mode=follow&sw=gen';
return redirected_test({url: url,
fetch_option: {redirect: 'follow'},
@ -281,7 +281,7 @@ promise_test(t => setup_and_clean()
promise_test(t => setup_and_clean()
.then(() => {
const url = host_info['HTTPS_ORIGIN'] + base_path() +
'dummy?url=' + encodeURIComponent(TARGET_URL) +
'sample?url=' + encodeURIComponent(TARGET_URL) +
'&original-redirect-mode=error&sw=gen';
return promise_rejects_js(
t, frame.contentWindow.TypeError,
@ -296,7 +296,7 @@ promise_test(t => setup_and_clean()
promise_test(t => setup_and_clean()
.then(() => {
const url = host_info['HTTPS_ORIGIN'] + base_path() +
'dummy?url=' + encodeURIComponent(TARGET_URL) +
'sample?url=' + encodeURIComponent(TARGET_URL) +
'&original-redirect-mode=follow&sw=gen';
return redirected_test({url: url,
fetch_option: {redirect: 'manual'},
@ -319,7 +319,7 @@ promise_test(t => setup_and_clean()
// So fetch can follow the redirect response 20 times.
let urls = [TARGET_URL];
for (let i = 0; i < 20; ++i) {
urls.unshift(host_info['HTTPS_ORIGIN'] + '/dummy?sw=gen&url=' +
urls.unshift(host_info['HTTPS_ORIGIN'] + '/sample?sw=gen&url=' +
encodeURIComponent(urls[0]));
}
@ -339,7 +339,7 @@ promise_test(t => setup_and_clean()
// network error." https://fetch.spec.whatwg.org/#http-redirect-fetch
// So fetch can't follow the redirect response 21 times.
for (let i = 0; i < 21; ++i) {
urls.unshift(host_info['HTTPS_ORIGIN'] + '/dummy?sw=gen&url=' +
urls.unshift(host_info['HTTPS_ORIGIN'] + '/sample?sw=gen&url=' +
encodeURIComponent(urls[0]));
}
@ -360,7 +360,7 @@ promise_test(t => setup_and_clean()
// =======================================================
promise_test(t => setup_and_clean()
.then(() => {
const url = host_info['HTTPS_ORIGIN'] + base_path() + 'dummy?url=' +
const url = host_info['HTTPS_ORIGIN'] + base_path() + 'sample?url=' +
encodeURIComponent(TARGET_URL) +'&sw=fetch-url';
return redirected_test({url: url,
fetch_option: {},

View file

@ -145,7 +145,7 @@
}
// Wait for all registration related tasks on |frame| to complete.
await wait_for_activation_on_dummy_scope(t, frame.contentWindow);
await wait_for_activation_on_sample_scope(t, frame.contentWindow);
// The updateViaCache change should have been propagated to all
// corresponding JS registration objects.
assert_equals(reg_in_frame.updateViaCache, expected_updateViaCache, "reg_in_frame.updateViaCache updated");

View file

@ -74,7 +74,7 @@ promise_test(async (t) => {
const performance = frame.contentWindow.performance;
verify({
performance: performance,
resource: 'resources/dummy.js',
resource: 'resources/sample.js',
mode: 'same-origin',
description: 'Generated response',
});
@ -127,7 +127,7 @@ promise_test(async (t) => {
});
verify({
performance: performance,
resource: 'resources/dummy.txt?SWFetched',
resource: 'resources/sample.txt?SWFetched',
mode: 'same-origin',
description: 'Resource fetched as response from missing.jpg?SWRespondsWithFetch.',
should_no_performance_entry: true,

View file

@ -5,20 +5,20 @@ addEventListener('fetch', event => {
if (url.origin != location.origin) return;
if (url.pathname.endsWith('/dummy.txt')) {
if (url.pathname.endsWith('/sample.txt')) {
event.respondWith(new Response('intercepted'));
return;
}
if (url.pathname.endsWith('/dummy.txt-inner-fetch')) {
event.respondWith(fetch('dummy.txt'));
if (url.pathname.endsWith('/sample.txt-inner-fetch')) {
event.respondWith(fetch('sample.txt'));
return;
}
if (url.pathname.endsWith('/dummy.txt-inner-cache')) {
if (url.pathname.endsWith('/sample.txt-inner-cache')) {
event.respondWith(
caches.open('test-inner-cache').then(cache =>
cache.add('dummy.txt').then(() => cache.match('dummy.txt'))
cache.add('sample.txt').then(() => cache.match('sample.txt'))
)
);
return;

View file

@ -15,7 +15,7 @@ function test1() {
results += 'FAIL(1)';
test2();
};
img.src = './dummy?url=' +
img.src = './sample?url=' +
encodeURIComponent(host_info['HTTPS_ORIGIN'] + image_path);
}
@ -29,7 +29,7 @@ function test2() {
results += 'FAIL(2)';
test3();
};
img.src = './dummy?mode=no-cors&url=' +
img.src = './sample?mode=no-cors&url=' +
encodeURIComponent(host_info['HTTPS_REMOTE_ORIGIN'] + image_path);
}
@ -43,7 +43,7 @@ function test3() {
img.onerror = function() {
test4();
};
img.src = './dummy?mode=no-cors&url=' +
img.src = './sample?mode=no-cors&url=' +
encodeURIComponent(host_info['HTTP_ORIGIN'] + image_path);
}
@ -57,7 +57,7 @@ function test4() {
img.onerror = function() {
finish();
};
img.src = './dummy?mode=no-cors&url=' +
img.src = './sample?mode=no-cors&url=' +
encodeURIComponent(host_info['HTTP_REMOTE_ORIGIN'] + image_path);
}

View file

@ -67,7 +67,7 @@ function test5() {
results += 'FAIL(5)';
finish();
};
img.src = './dummy?generate-png';
img.src = './sample?generate-png';
}
function finish() {

View file

@ -1 +1 @@
body { background-image: url("./dummy.png");}
body { background-image: url("./sample.png");}

View file

@ -23,7 +23,7 @@ self.addEventListener('fetch', event => {
}
// Respond with new Response().
else if (url.search == '?newResponse') {
const styleString = 'body { background-image: url("./dummy.png");}';
const styleString = 'body { background-image: url("./sample.png");}';
const headers = {'content-type': 'text/css'};
event.respondWith(new Response(styleString, headers));
}
@ -31,7 +31,7 @@ self.addEventListener('fetch', event => {
// The image request indicates what the base URL of the CSS was. Message the
// result back to the test page.
else if (url.pathname.indexOf('dummy.png') != -1) {
else if (url.pathname.indexOf('sample.png') != -1) {
// For some reason |source| is undefined here when running the test manually
// in Firefox. The test author experimented with both using Client
// (event.source) and MessagePort to try to get the test to pass, but

View file

@ -8,6 +8,6 @@
link.href = url;
document.documentElement.appendChild(link);
};
makeLink('same', hostInfo.HTTPS_ORIGIN + '/dummy-dir/same.html');
makeLink('other', hostInfo.HTTPS_REMOTE_ORIGIN + '/dummy-dir/other.html');
makeLink('same', hostInfo.HTTPS_ORIGIN + '/sample-dir/same.html');
makeLink('other', hostInfo.HTTPS_REMOTE_ORIGIN + '/sample-dir/other.html');
</script>

View file

@ -3,27 +3,27 @@ var host_info = get_host_info();
self.addEventListener('fetch', function(event) {
var url = event.request.url;
if (url.indexOf('dummy-dir') == -1) {
if (url.indexOf('sample-dir') == -1) {
return;
}
var result = 'mode=' + event.request.mode +
' credentials=' + event.request.credentials;
if (url == host_info.HTTPS_ORIGIN + '/dummy-dir/same.html') {
if (url == host_info.HTTPS_ORIGIN + '/sample-dir/same.html') {
event.respondWith(new Response(
result +
'<link id="same-same" rel="import" ' +
'href="' + host_info.HTTPS_ORIGIN + '/dummy-dir/same-same.html">' +
'href="' + host_info.HTTPS_ORIGIN + '/sample-dir/same-same.html">' +
'<link id="same-other" rel="import" ' +
' href="' + host_info.HTTPS_REMOTE_ORIGIN +
'/dummy-dir/same-other.html">'));
} else if (url == host_info.HTTPS_REMOTE_ORIGIN + '/dummy-dir/other.html') {
'/sample-dir/same-other.html">'));
} else if (url == host_info.HTTPS_REMOTE_ORIGIN + '/sample-dir/other.html') {
event.respondWith(new Response(
result +
'<link id="other-same" rel="import" ' +
' href="' + host_info.HTTPS_ORIGIN + '/dummy-dir/other-same.html">' +
' href="' + host_info.HTTPS_ORIGIN + '/sample-dir/other-same.html">' +
'<link id="other-other" rel="import" ' +
' href="' + host_info.HTTPS_REMOTE_ORIGIN +
'/dummy-dir/other-other.html">'));
'/sample-dir/other-other.html">'));
} else {
event.respondWith(new Response(result));
}

View file

@ -11,7 +11,7 @@ self.onmessage = e => {
self.addEventListener('fetch', e => {
const url = e.request.url;
if (!url.includes('dummy?test')) {
if (!url.includes('sample?test')) {
return;
}
port.postMessage({

View file

@ -32,7 +32,7 @@ function xhr_send(url_base, method, data, with_credentials) {
if (with_credentials) {
xhr.withCredentials = true;
}
xhr.open(method, url_base + '/dummy?test', true);
xhr.open(method, url_base + '/sample?test', true);
xhr.send(data);
});
}

View file

@ -1,6 +1,6 @@
self.addEventListener('fetch', function(event) {
var url = event.request.url;
if (url.indexOf('dummy?test') == -1) {
if (url.indexOf('sample?test') == -1) {
return;
}
event.respondWith(new Promise(function(resolve) {

View file

@ -13,7 +13,7 @@ function xhr_send(method, data) {
reject('XHR should succeed.');
};
xhr.responseType = 'text';
xhr.open(method, './dummy?test', true);
xhr.open(method, './sample?test', true);
xhr.send(data);
});
}

View file

@ -1,6 +1,6 @@
self.addEventListener('fetch', function(event) {
var url = event.request.url;
if (url.indexOf('dummy?test') == -1) {
if (url.indexOf('sample?test') == -1) {
return;
}
event.respondWith(new Promise(function(resolve) {

View file

@ -14,7 +14,7 @@ function xhr_send(method, data) {
reject('XHR must succeed.');
};
xhr.responseType = 'text';
xhr.open(method, './dummy?test', true);
xhr.open(method, './sample?test', true);
xhr.send(data);
});
}

View file

@ -1,6 +1,6 @@
self.addEventListener('fetch', function(event) {
var url = event.request.url;
if (url.indexOf('dummy?test') == -1) {
if (url.indexOf('sample?test') == -1) {
return;
}
event.respondWith(new Promise(function(resolve) {

View file

@ -11,7 +11,7 @@ function xhr_send(method, data) {
resolve();
};
xhr.responseType = 'text';
xhr.open(method, './dummy?test', true);
xhr.open(method, './sample?test', true);
xhr.send(data);
});
}

View file

@ -1,6 +1,6 @@
self.addEventListener('fetch', function(event) {
var url = event.request.url;
if (url.indexOf('dummy?test') == -1) {
if (url.indexOf('sample?test') == -1) {
return;
}
event.respondWith(new Promise(function(resolve) {

View file

@ -9,7 +9,7 @@ function xhr_send(method, data) {
reject('XHR must succeed.');
};
xhr.responseType = 'text';
xhr.open(method, './dummy?test', true);
xhr.open(method, './sample?test', true);
xhr.send(data);
});
}

View file

@ -1,6 +1,6 @@
self.addEventListener('fetch', function(event) {
var url = event.request.url;
if (url.indexOf('dummy?test') == -1) {
if (url.indexOf('sample?test') == -1) {
return;
}

Some files were not shown because too many files have changed in this diff Show more