diff --git a/tests/wpt/metadata/FileAPI/idlharness.html.ini b/tests/wpt/metadata/FileAPI/idlharness.html.ini index bcf886825d9..e0de309e99f 100644 --- a/tests/wpt/metadata/FileAPI/idlharness.html.ini +++ b/tests/wpt/metadata/FileAPI/idlharness.html.ini @@ -15,3 +15,6 @@ [FileReader interface: new FileReader() must inherit property "readAsBinaryString(Blob)" with the proper type] expected: FAIL + [File API automated IDL tests] + expected: FAIL + diff --git a/tests/wpt/metadata/FileAPI/idlharness.worker.js.ini b/tests/wpt/metadata/FileAPI/idlharness.worker.js.ini index 70812cb9f6f..09efefe4dde 100644 --- a/tests/wpt/metadata/FileAPI/idlharness.worker.js.ini +++ b/tests/wpt/metadata/FileAPI/idlharness.worker.js.ini @@ -78,3 +78,6 @@ [FileReaderSync interface: new FileReaderSync() must inherit property "readAsDataURL(Blob)" with the proper type] expected: FAIL + [Untitled] + expected: FAIL + diff --git a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini index ed43d371770..c8f51681ec5 100644 --- a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -1,8 +1,11 @@ [url-in-tags-revoke.window.html] + expected: TIMEOUT [Fetching a blob URL immediately before revoking it works in an iframe.] expected: FAIL - [Fetching a blob URL immediately before revoking it works in an iframe navigation.] + expected: FAIL + + [Fetching a blob URL immediately before revoking it works in diff --git a/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags.window.js b/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags.window.js index 364d33bb89d..f20b3599013 100644 --- a/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags.window.js +++ b/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags.window.js @@ -31,7 +31,6 @@ async_test(t => { }, 'Blob URLs can be used in iframes, and are treated same origin'); async_test(t => { - const scroll_position = 5000; const blob_contents = '\n\n' + '\n' + '\n' + @@ -43,8 +42,7 @@ async_test(t => { const frame = document.createElement('iframe'); frame.setAttribute('src', url + '#block2'); document.body.appendChild(frame); - - frame.onload = t.step_func_done(() => { + frame.contentWindow.onscroll = t.step_func_done(() => { assert_equals(frame.contentWindow.scrollY, 5000); }); }, 'Blob URL fragment is implemented.'); diff --git a/tests/wpt/web-platform-tests/FileAPI/url/url_createobjecturl_file-manual.html b/tests/wpt/web-platform-tests/FileAPI/url/url_createobjecturl_file-manual.html index 469606a8e45..7ae32512e07 100644 --- a/tests/wpt/web-platform-tests/FileAPI/url/url_createobjecturl_file-manual.html +++ b/tests/wpt/web-platform-tests/FileAPI/url/url_createobjecturl_file-manual.html @@ -3,9 +3,9 @@ FileAPI Test: Creating Blob URL with File + -

Test steps:

diff --git a/tests/wpt/web-platform-tests/IndexedDB/keypath-special-identifiers.htm b/tests/wpt/web-platform-tests/IndexedDB/keypath-special-identifiers.htm index 331169b5c90..cb64d0b708e 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keypath-special-identifiers.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keypath-special-identifiers.htm @@ -38,11 +38,6 @@ property: 'lastModified', instance: new File([''], '', {lastModified: 123}), }, - { - type: 'File', - property: 'lastModifiedDate', - instance: new File([''], '', {lastModified: 123}), - }, ].forEach(function(testcase) { indexeddb_test( (t, db) => { diff --git a/tests/wpt/web-platform-tests/IndexedDB/keypath.htm b/tests/wpt/web-platform-tests/IndexedDB/keypath.htm index b59d614e8a9..4985712a215 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/keypath.htm +++ b/tests/wpt/web-platform-tests/IndexedDB/keypath.htm @@ -125,7 +125,7 @@ "[Blob.length, Blob.type]"); } - // File.name and File.lastModifiedDate is not testable automatically + // File.name and File.lastModified is not testable automatically keypath(['name', 'type'], [ { name: "orange", type: "fruit" }, { name: "orange", type: ["telecom", "french"] } ], diff --git a/tests/wpt/web-platform-tests/README.md b/tests/wpt/web-platform-tests/README.md index 182e4e70eee..db5612ea03c 100644 --- a/tests/wpt/web-platform-tests/README.md +++ b/tests/wpt/web-platform-tests/README.md @@ -44,10 +44,10 @@ For example, on most UNIX-like systems, you can setup the hosts file with: ./wpt make-hosts-file | sudo tee -a /etc/hosts ``` -And on Windows (note this requires an Administrator privileged shell): +And on Windows (this must be run in a PowerShell session with Administrator privileges): ```bash -python wpt make-hosts-file >> %SystemRoot%\System32\drivers\etc\hosts +python wpt make-hosts-file | Out-File %SystemRoot%\System32\drivers\etc\hosts -Encoding ascii -Append ``` If you are behind a proxy, you also need to make sure the domains above are @@ -69,22 +69,19 @@ python wpt serve ``` This will start HTTP servers on two ports and a websockets server on -one port. By default the web servers start on ports 8000 and 8443 and the other -ports are randomly-chosen free ports. Tests must be loaded from the -*first* HTTP server in the output. To change the ports, copy the -`config.default.json` file to `config.json` and edit the new file, -replacing the part that reads: +one port. By default the web servers start on ports 8000 and 8443 and +the other ports are randomly-chosen free ports. Tests must be loaded +from the *first* HTTP server in the output. To change the ports, +create a `config.json` file in the wpt root directory, and add +port definitions of your choice e.g.: ``` -"http": [8000, "auto"], -"https":[8443] -``` - -to some ports of your choice e.g. - -``` -"http": [1234, "auto"], -"https":[5678] +{ + "ports": { + "http": [1234, "auto"], + "https":[5678] + } +} ``` After your `hosts` file is configured, the servers will be locally accessible at: @@ -262,11 +259,26 @@ If you forget to do this part, you will most likely see a 'File Not Found' error when you start wptserve. Finally, set the path value in the server configuration file to the -default OpenSSL configuration file location. To do this, -copy `config.default.json` in the web-platform-tests root to `config.json`. -Then edit the JSON so that the key `ssl/openssl/base_conf_path` has a -value that is the path to the OpenSSL config file (typically this -will be `C:\\OpenSSL-Win32\\bin\\openssl.cfg`). +default OpenSSL configuration file location. To do this create a file +called `config.json`. Then add the OpenSSL configuration below, +ensuring that the key `ssl/openssl/base_conf_path` has a value that is +the path to the OpenSSL config file (typically this will be +`C:\\OpenSSL-Win32\\bin\\openssl.cfg`): + +``` +{ + "ssl": { + "type": "openssl", + "encrypt_after_connect": false, + "openssl": { + "openssl_binary": "openssl", + "base_path: "_certs", + "force_regenerate": false, + "base_conf_path": "C:\\OpenSSL-Win32\\bin\\openssl.cfg" + }, + }, +} +``` ### Trusting Root CA @@ -361,7 +373,7 @@ web-platform-tests root directory to suppress the error reports. For more details, see the [lint-tool documentation][lint-tool]. -[lint-tool]: http://web-platform-tests.org/writing-tests/lint-tool.html +[lint-tool]: https://web-platform-tests.org/writing-tests/lint-tool.html Adding command-line scripts ("tools" subdirs) --------------------------------------------- @@ -437,5 +449,5 @@ is [archived][ircarchive]. Documentation ============= -* [How to write and review tests](http://web-platform-tests.org/) +* [How to write and review tests](https://web-platform-tests.org/) * [Documentation for the wptserve server](http://wptserve.readthedocs.org/en/latest/) diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js new file mode 100644 index 00000000000..19c9fb28b3b --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["AES-CBC"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.https.worker.js deleted file mode 100644 index 7bb3e7f697f..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["AES-CBC"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js new file mode 100644 index 00000000000..2f8a0b3596f --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["AES-CTR"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.worker.js deleted file mode 100644 index f6766b27bba..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["AES-CTR"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js new file mode 100644 index 00000000000..bb0ab46fbe6 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["AES-GCM"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.https.worker.js deleted file mode 100644 index 1383e589559..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["AES-GCM"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js new file mode 100644 index 00000000000..54d685f7565 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["AES-KW"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.https.worker.js deleted file mode 100644 index 04f5bb6edab..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["AES-KW"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.any.js new file mode 100644 index 00000000000..4c13c5ac572 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["ECDH"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.worker.js deleted file mode 100644 index a7e6a7240bc..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["ECDH"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js new file mode 100644 index 00000000000..74cd480e2c2 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["ECDSA"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.worker.js deleted file mode 100644 index a1f471141de..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["ECDSA"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.https.any.js new file mode 100644 index 00000000000..708d33beba4 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["HMAC"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.https.worker.js deleted file mode 100644 index 9dfbbb9c065..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["HMAC"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js new file mode 100644 index 00000000000..4ec0ec20bac --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["RSA-OAEP"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.worker.js deleted file mode 100644 index 39de6d6efec..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["RSA-OAEP"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js new file mode 100644 index 00000000000..557b5785e34 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["RSA-PSS"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.worker.js deleted file mode 100644 index 8b1110d7f09..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["RSA-PSS"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js new file mode 100644 index 00000000000..45771bf0d46 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js @@ -0,0 +1,4 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=failures.js +run_test(["RSASSA-PKCS1-v1_5"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.worker.js deleted file mode 100644 index 4df0b896fe3..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.worker.js +++ /dev/null @@ -1,6 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("failures.js"); -run_test(["RSASSA-PKCS1-v1_5"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes.js index 6a74c01ddde..b99e44d66d4 100644 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes.js +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes.js @@ -70,7 +70,6 @@ function run_test(algorithmNames, slowTest) { }, testTag + ": generateKey" + parameterString(algorithm, extractable, usages)); } - // Test all valid sets of parameters for successful // key generation. testVectors.forEach(function(vector) { @@ -78,7 +77,7 @@ function run_test(algorithmNames, slowTest) { allAlgorithmSpecifiersFor(name).forEach(function(algorithm) { allValidUsages(vector.usages, false, vector.mandatoryUsages).forEach(function(usages) { [false, true].forEach(function(extractable) { - testSuccess(algorithm, extractable, usages, vector.resultType, "Success"); + subsetTest(testSuccess, algorithm, extractable, usages, vector.resultType, "Success"); }); }); }); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.https.any.js new file mode 100644 index 00000000000..6feb60e5caa --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["AES-CBC"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.https.worker.js deleted file mode 100644 index 0710c9e7b50..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["AES-CBC"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.https.any.js new file mode 100644 index 00000000000..7b4f2df5fb1 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["AES-CTR"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.https.worker.js deleted file mode 100644 index 51529f000fd..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["AES-CTR"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.https.any.js new file mode 100644 index 00000000000..8e7bc92170c --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["AES-GCM"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.https.worker.js deleted file mode 100644 index 1f6a1bc96e0..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["AES-GCM"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.https.any.js new file mode 100644 index 00000000000..5eb023369f4 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["AES-KW"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.https.worker.js deleted file mode 100644 index 058cf83d057..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["AES-KW"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.any.js new file mode 100644 index 00000000000..87590d23ea4 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["ECDH"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.worker.js deleted file mode 100644 index a21b7d04e8b..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["ECDH"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.any.js new file mode 100644 index 00000000000..734d86972fc --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["ECDSA"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.worker.js deleted file mode 100644 index 13f7e3539ec..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["ECDSA"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.https.any.js new file mode 100644 index 00000000000..bc106f3c117 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.https.any.js @@ -0,0 +1,5 @@ +// META: timeout=long +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["HMAC"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.https.worker.js deleted file mode 100644 index 2b50b909058..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["HMAC"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.any.js new file mode 100644 index 00000000000..b0412286c58 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.any.js @@ -0,0 +1,21 @@ +// META: timeout=long +// META: variant=?1-10 +// META: variant=?11-20 +// META: variant=?21-30 +// META: variant=?31-40 +// META: variant=?41-50 +// META: variant=?51-60 +// META: variant=?61-70 +// META: variant=?71-80 +// META: variant=?81-90 +// META: variant=?91-100 +// META: variant=?101-110 +// META: variant=?111-120 +// META: variant=?121-130 +// META: variant=?131-140 +// META: variant=?141-150 +// META: variant=?151-last +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["RSA-OAEP"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.worker.js deleted file mode 100644 index 4b3538da689..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["RSA-OAEP"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.any.js new file mode 100644 index 00000000000..ea91c8f99b0 --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.any.js @@ -0,0 +1,9 @@ +// META: timeout=long +// META: variant=?1-10 +// META: variant=?11-20 +// META: variant=?21-30 +// META: variant=?31-last +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["RSA-PSS"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.worker.js deleted file mode 100644 index 52364f5c7f5..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["RSA-PSS"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.any.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.any.js new file mode 100644 index 00000000000..fc785f9b31c --- /dev/null +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.any.js @@ -0,0 +1,9 @@ +// META: timeout=long +// META: variant=?1-10 +// META: variant=?11-20 +// META: variant=?21-30 +// META: variant=?31-last +// META: script=../util/helpers.js +// META: script=/common/subset-tests.js +// META: script=successes.js +run_test(["RSASSA-PKCS1-v1_5"]); diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.worker.js b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.worker.js deleted file mode 100644 index 4c6a02a98c6..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.worker.js +++ /dev/null @@ -1,7 +0,0 @@ -// META: timeout=long -importScripts("/resources/testharness.js"); -importScripts("../util/helpers.js"); -importScripts("successes.js"); - -run_test(["RSASSA-PKCS1-v1_5"]); -done(); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_aes-cbc.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_aes-cbc.https.html deleted file mode 100644 index a3054a57a99..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_aes-cbc.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_aes-ctr.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_aes-ctr.https.html deleted file mode 100644 index bb1abf0d948..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_aes-ctr.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.https.html deleted file mode 100644 index 7650908c09a..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.https.html deleted file mode 100644 index f08737c390a..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.https.html deleted file mode 100644 index 4ef6a777102..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-KW.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-KW.https.html deleted file mode 100644 index 7cbb4f8bf03..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_AES-KW.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDH.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDH.https.html deleted file mode 100644 index c606a5b9041..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDH.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https.html deleted file mode 100644 index 8b742e80b1e..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_HMAC.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_HMAC.https.html deleted file mode 100644 index e037f0d07d5..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_HMAC.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.https.html deleted file mode 100644 index ddd63beb343..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.https.html deleted file mode 100644 index 2814b34e9a4..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.https.html deleted file mode 100644 index 0e28914af80..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.https.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -WebCryptoAPI: generateKey() for Failures - - - - - - - - -

generateKey Tests for Bad Parameters

- -
- diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.https.html deleted file mode 100644 index af809353900..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.https.html deleted file mode 100644 index 3608a4fde35..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.https.html deleted file mode 100644 index eb7c6b5d006..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-KW.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-KW.https.html deleted file mode 100644 index 9beab208346..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_AES-KW.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDH.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDH.https.html deleted file mode 100644 index 9871f572b05..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDH.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https.html deleted file mode 100644 index f32a556bb24..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_HMAC.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_HMAC.https.html deleted file mode 100644 index 819b35df08c..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_HMAC.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-OAEP.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-OAEP.https.html deleted file mode 100644 index db58fd6690a..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-OAEP.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.https.html deleted file mode 100644 index d6a3c1b02d0..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.https.html b/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.https.html deleted file mode 100644 index 35678798bdf..00000000000 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.https.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -WebCryptoAPI: generateKey() Successful Calls - - - - - - - - -

generateKey Tests for Good Parameters

-

- Warning! RSA key generation is intrinsically - very slow, so the related tests can take up to - several minutes to complete, depending on browser! -

- -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html index 9476efb6a0f..041ddc4470c 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html @@ -8,8 +8,8 @@ diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html index aa8ea10eb0b..53f6960ce58 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html @@ -8,8 +8,8 @@ diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html index 860a027b55b..3dd49d330ec 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html @@ -8,8 +8,8 @@ diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html index 889047a0703..f5d08972d5f 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html @@ -8,8 +8,8 @@ diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html index bf458529e84..2074562b7ad 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html @@ -8,8 +8,8 @@ diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer.https.html index 9563270fcda..b601c612082 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer.https.html @@ -9,8 +9,8 @@
diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer_onerror-manual.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer_onerror-manual.https.html index f69b1b6ce5c..dec21881b63 100644 --- a/tests/wpt/web-platform-tests/accelerometer/Accelerometer_onerror-manual.https.html +++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer_onerror-manual.https.html @@ -15,8 +15,8 @@ diff --git a/tests/wpt/web-platform-tests/accname/description_1.0_combobox-focusable-manual.html b/tests/wpt/web-platform-tests/accname/description_1.0_combobox-focusable-manual.html index ce26e8a6936..c0d54d6c233 100644 --- a/tests/wpt/web-platform-tests/accname/description_1.0_combobox-focusable-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_1.0_combobox-focusable-manual.html @@ -3,7 +3,6 @@ Description 1.0 combobox-focusable - diff --git a/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element-manual.html b/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element-manual.html index 167b52972f5..2911d1d031a 100644 --- a/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element-manual.html @@ -3,7 +3,6 @@ Description from content of describedby element - @@ -75,7 +74,7 @@ Zambino the weird. - (QED) + (QED) diff --git a/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element_which_is_hidden-manual.html b/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element_which_is_hidden-manual.html deleted file mode 100644 index a49a9229512..00000000000 --- a/tests/wpt/web-platform-tests/accname/description_from_content_of_describedby_element_which_is_hidden-manual.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - Description from content of describedby element which is hidden - - - - - - - - - -

This test examines the ARIA properties for Description from content of describedby element which is hidden.

- -
- - - - - -
-
- - - - - - -
Where
in
the world
are my marbles?
-
- - -
-
-
- - diff --git a/tests/wpt/web-platform-tests/accname/description_link-with-label-manual.html b/tests/wpt/web-platform-tests/accname/description_link-with-label-manual.html index 0e4b2b2e5bd..09c32db1c2e 100644 --- a/tests/wpt/web-platform-tests/accname/description_link-with-label-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_link-with-label-manual.html @@ -3,7 +3,6 @@ Description link-with-label - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_557-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_557-manual.html index 8c179045743..1294baf6571 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_557-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_557-manual.html @@ -3,7 +3,6 @@ Description test case 557 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_664-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_664-manual.html index 0ba57426d2e..f4e813643ca 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_664-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_664-manual.html @@ -3,7 +3,6 @@ Description test case 664 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_665-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_665-manual.html index 341d6d28a2d..e97a41de354 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_665-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_665-manual.html @@ -3,7 +3,6 @@ Description test case 665 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_666-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_666-manual.html index 9681b89e98a..378979ca735 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_666-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_666-manual.html @@ -3,7 +3,6 @@ Description test case 666 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_772-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_772-manual.html index 03d46cbe3b3..efc58686ce6 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_772-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_772-manual.html @@ -3,7 +3,6 @@ Description test case 772 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_773-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_773-manual.html index 727a8fe5a7d..ea004cffee0 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_773-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_773-manual.html @@ -3,7 +3,6 @@ Description test case 773 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_774-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_774-manual.html index 51f9380e409..6fafc81be39 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_774-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_774-manual.html @@ -3,7 +3,6 @@ Description test case 774 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_838-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_838-manual.html index 99c49d9cbea..df4210a7704 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_838-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_838-manual.html @@ -3,7 +3,6 @@ Description test case 838 - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_broken_reference-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_broken_reference-manual.html index c44b0a598a2..72484962012 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_broken_reference-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_broken_reference-manual.html @@ -3,7 +3,6 @@ Description test case broken reference - diff --git a/tests/wpt/web-platform-tests/accname/description_test_case_one_valid_reference-manual.html b/tests/wpt/web-platform-tests/accname/description_test_case_one_valid_reference-manual.html index a998aae7960..bce5ce6cb7f 100644 --- a/tests/wpt/web-platform-tests/accname/description_test_case_one_valid_reference-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_test_case_one_valid_reference-manual.html @@ -3,7 +3,6 @@ Description test case one valid reference - diff --git a/tests/wpt/web-platform-tests/accname/description_title-same-element-manual.html b/tests/wpt/web-platform-tests/accname/description_title-same-element-manual.html index fe8cd37c703..8c926e34c84 100644 --- a/tests/wpt/web-platform-tests/accname/description_title-same-element-manual.html +++ b/tests/wpt/web-platform-tests/accname/description_title-same-element-manual.html @@ -3,7 +3,6 @@ Description title-same-element - diff --git a/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-alternative-manual.html b/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-alternative-manual.html index 000d3f6374f..454be9e5e36 100644 --- a/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-alternative-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-alternative-manual.html @@ -3,7 +3,6 @@ Name 1.0 combobox-focusable-alternative - diff --git a/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-manual.html b/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-manual.html index abc53273b7c..bb7a03121e8 100644 --- a/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_1.0_combobox-focusable-manual.html @@ -3,7 +3,6 @@ Name 1.0 combobox-focusable - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-combobox-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-combobox-manual.html index 2797514bd7f..24cbb706712 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-combobox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-combobox-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-combobox - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-listbox-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-listbox-manual.html index ca28c177c40..a7bbe4c1928 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-listbox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-listbox-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-listbox - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-menu-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-menu-manual.html index f838f2426cf..1c18b985328 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-menu-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-menu-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-menu - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-select-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-select-manual.html index 52a5ca80bbb..06c41e0b5da 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-select-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-select-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-select - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-slider-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-slider-manual.html index 520e4a45f87..48741d3c0fd 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-slider-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-slider-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-slider - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-spinbutton-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-spinbutton-manual.html index bf47b1d912c..d5cf7a55bf3 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-spinbutton-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-spinbutton-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-spinbutton - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-textbox-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-textbox-manual.html index 8b0f529f32e..2d8642b7cca 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-textbox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-embedded-textbox-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-embedded-textbox - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-alternative-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-alternative-manual.html index 34bfd02b292..9f446aaa667 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-alternative-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-alternative-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-multiple-label-alternative - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-manual.html index 37486e1f950..54c218c41c4 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-label-multiple-label-manual.html @@ -3,7 +3,6 @@ Name checkbox-label-multiple-label - diff --git a/tests/wpt/web-platform-tests/accname/name_checkbox-title-manual.html b/tests/wpt/web-platform-tests/accname/name_checkbox-title-manual.html index b5b9a5ea3e5..83b5a8c4d11 100644 --- a/tests/wpt/web-platform-tests/accname/name_checkbox-title-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_checkbox-title-manual.html @@ -3,7 +3,6 @@ Name checkbox-title - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-combobox-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-combobox-manual.html index a2799324e1b..06adca72fca 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-combobox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-combobox-manual.html @@ -3,7 +3,6 @@ Name file-label-embedded-combobox - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-menu-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-menu-manual.html index 0a88e4d4b9d..de6bcbaffeb 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-menu-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-menu-manual.html @@ -3,7 +3,6 @@ Name file-label-embedded-menu - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-select-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-select-manual.html index 7142c764a18..117e96cea66 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-select-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-select-manual.html @@ -3,7 +3,6 @@ Name file-label-embedded-select - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-slider-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-slider-manual.html index de08bbcc106..22a9057f95b 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-slider-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-slider-manual.html @@ -3,7 +3,6 @@ Name file-label-embedded-slider - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-spinbutton-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-spinbutton-manual.html index 67934a329e1..1432e2fd242 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-embedded-spinbutton-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-embedded-spinbutton-manual.html @@ -3,7 +3,6 @@ Name file-label-embedded-spinbutton - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-elements-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-elements-manual.html index 74f2b7b7189..c2c16591119 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-elements-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-elements-manual.html @@ -3,7 +3,6 @@ Name file-label-inline-block-elements - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-styles-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-styles-manual.html index 80c2d98bcd4..ecf6ed1bb9f 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-styles-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-inline-block-styles-manual.html @@ -3,7 +3,6 @@ Name file-label-inline-block-styles - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-inline-hidden-elements-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-inline-hidden-elements-manual.html index 2253f880bbe..c982b42c16e 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-inline-hidden-elements-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-inline-hidden-elements-manual.html @@ -3,7 +3,6 @@ Name file-label-inline-hidden-elements - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-manual.html index 287a7ee23dd..79a69177e32 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-manual.html @@ -3,7 +3,6 @@ Name file-label-owned-combobox - diff --git a/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-owned-listbox-manual.html b/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-owned-listbox-manual.html index c8de748de3d..4bbc6f3613d 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-owned-listbox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-label-owned-combobox-owned-listbox-manual.html @@ -3,7 +3,6 @@ Name file-label-owned-combobox-owned-listbox - diff --git a/tests/wpt/web-platform-tests/accname/name_file-title-manual.html b/tests/wpt/web-platform-tests/accname/name_file-title-manual.html index 5eae799d78d..77b7bf68bc6 100644 --- a/tests/wpt/web-platform-tests/accname/name_file-title-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_file-title-manual.html @@ -3,7 +3,6 @@ Name file-title - diff --git a/tests/wpt/web-platform-tests/accname/name_from_content-manual.html b/tests/wpt/web-platform-tests/accname/name_from_content-manual.html index 832652c2277..f7e2491d3a2 100644 --- a/tests/wpt/web-platform-tests/accname/name_from_content-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_from_content-manual.html @@ -3,7 +3,6 @@ Name from content - @@ -73,7 +72,7 @@ Zambino the weird. - (QED) + (QED) diff --git a/tests/wpt/web-platform-tests/accname/name_from_content_of_label-manual.html b/tests/wpt/web-platform-tests/accname/name_from_content_of_label-manual.html index 1ceb4ab4dc1..3eb5b779267 100644 --- a/tests/wpt/web-platform-tests/accname/name_from_content_of_label-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_from_content_of_label-manual.html @@ -3,7 +3,6 @@ Name from content of label - @@ -74,7 +73,7 @@ Zambinothe weird. - (QED) + (QED)
diff --git a/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_element-manual.html b/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_element-manual.html index ebb0946a5ce..a60a8c0a0e0 100644 --- a/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_element-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_element-manual.html @@ -3,7 +3,6 @@ Name from content of labelledby element - @@ -74,7 +73,7 @@ Zambinothe weird. - (QED) + (QED)
diff --git a/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html b/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html index 348d5622453..879393037e5 100644 --- a/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html @@ -3,7 +3,6 @@ Name from content of labelledby elements one of which is hidden - @@ -83,7 +82,7 @@ Zambinothe weird. - (QED) + (QED)
diff --git a/tests/wpt/web-platform-tests/accname/name_heading-combobox-focusable-alternative-manual.html b/tests/wpt/web-platform-tests/accname/name_heading-combobox-focusable-alternative-manual.html index 2c7db17557b..c1540b12bed 100644 --- a/tests/wpt/web-platform-tests/accname/name_heading-combobox-focusable-alternative-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_heading-combobox-focusable-alternative-manual.html @@ -3,7 +3,6 @@ Name heading-combobox-focusable-alternative - diff --git a/tests/wpt/web-platform-tests/accname/name_image-title-manual.html b/tests/wpt/web-platform-tests/accname/name_image-title-manual.html index 51ead258894..43ce9be14e6 100644 --- a/tests/wpt/web-platform-tests/accname/name_image-title-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_image-title-manual.html @@ -3,7 +3,6 @@ Name image-title - diff --git a/tests/wpt/web-platform-tests/accname/name_link-mixed-content-manual.html b/tests/wpt/web-platform-tests/accname/name_link-mixed-content-manual.html index 9f8b92f971b..f089ebde60c 100644 --- a/tests/wpt/web-platform-tests/accname/name_link-mixed-content-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_link-mixed-content-manual.html @@ -3,7 +3,6 @@ Name link-mixed-content - @@ -71,7 +70,7 @@
Zambinothe weird. - (QED) + (QED) diff --git a/tests/wpt/web-platform-tests/accname/name_link-with-label-manual.html b/tests/wpt/web-platform-tests/accname/name_link-with-label-manual.html index 18e82718b99..e8f1e3f813f 100644 --- a/tests/wpt/web-platform-tests/accname/name_link-with-label-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_link-with-label-manual.html @@ -3,7 +3,6 @@ Name link-with-label - diff --git a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-combobox-manual.html b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-combobox-manual.html index b2762aa6ae7..39c8005a719 100644 --- a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-combobox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-combobox-manual.html @@ -3,7 +3,6 @@ Name password-label-embedded-combobox - diff --git a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-menu-manual.html b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-menu-manual.html index 8ef9d8dd2f5..d6ad64966ad 100644 --- a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-menu-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-menu-manual.html @@ -3,7 +3,6 @@ Name password-label-embedded-menu - diff --git a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-select-manual.html b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-select-manual.html index 36471160273..f4b96e2cd19 100644 --- a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-select-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-select-manual.html @@ -3,7 +3,6 @@ Name password-label-embedded-select - diff --git a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-slider-manual.html b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-slider-manual.html index d5686a48c54..7701b8b44e1 100644 --- a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-slider-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-slider-manual.html @@ -3,7 +3,6 @@ Name password-label-embedded-slider - diff --git a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-spinbutton-manual.html b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-spinbutton-manual.html index 73b0d664c78..67cd55dc382 100644 --- a/tests/wpt/web-platform-tests/accname/name_password-label-embedded-spinbutton-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_password-label-embedded-spinbutton-manual.html @@ -3,7 +3,6 @@ Name password-label-embedded-spinbutton - diff --git a/tests/wpt/web-platform-tests/accname/name_password-title-manual.html b/tests/wpt/web-platform-tests/accname/name_password-title-manual.html index 2ea977fd289..3f3eb416099 100644 --- a/tests/wpt/web-platform-tests/accname/name_password-title-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_password-title-manual.html @@ -3,7 +3,6 @@ Name password-title - diff --git a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-combobox-manual.html b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-combobox-manual.html index 72d7017c534..3facb5e1b2c 100644 --- a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-combobox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-combobox-manual.html @@ -3,7 +3,6 @@ Name radio-label-embedded-combobox - diff --git a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-menu-manual.html b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-menu-manual.html index 8ca6d11c05d..3752b1fcd63 100644 --- a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-menu-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-menu-manual.html @@ -3,7 +3,6 @@ Name radio-label-embedded-menu - diff --git a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-select-manual.html b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-select-manual.html index 185d8932969..6f632f94cd0 100644 --- a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-select-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-select-manual.html @@ -3,7 +3,6 @@ Name radio-label-embedded-select - diff --git a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-slider-manual.html b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-slider-manual.html index aea5f8b85ce..5c82a06bfb0 100644 --- a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-slider-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-slider-manual.html @@ -3,7 +3,6 @@ Name radio-label-embedded-slider - diff --git a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-spinbutton-manual.html b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-spinbutton-manual.html index af3fe8285ac..ab4fdcce7f0 100644 --- a/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-spinbutton-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_radio-label-embedded-spinbutton-manual.html @@ -3,7 +3,6 @@ Name radio-label-embedded-spinbutton - diff --git a/tests/wpt/web-platform-tests/accname/name_radio-title-manual.html b/tests/wpt/web-platform-tests/accname/name_radio-title-manual.html index aef42728a6c..cb6f065e8f6 100644 --- a/tests/wpt/web-platform-tests/accname/name_radio-title-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_radio-title-manual.html @@ -3,7 +3,6 @@ Name radio-title - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_539-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_539-manual.html index da1925241c9..659740b8872 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_539-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_539-manual.html @@ -3,7 +3,6 @@ Name test case 539 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_540-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_540-manual.html index 5fde86535bb..c187c37ffc1 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_540-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_540-manual.html @@ -3,7 +3,6 @@ Name test case 540 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_541-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_541-manual.html index 74b44b57de4..19405449d31 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_541-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_541-manual.html @@ -3,7 +3,6 @@ Name test case 541 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_543-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_543-manual.html index 1759ffacdd8..7908bf658ba 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_543-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_543-manual.html @@ -3,7 +3,6 @@ Name test case 543 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_544-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_544-manual.html index 267c9302f7d..1b7ba3772dd 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_544-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_544-manual.html @@ -3,7 +3,6 @@ Name test case 544 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_545-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_545-manual.html index fda6fe1b50c..19098046f43 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_545-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_545-manual.html @@ -3,7 +3,6 @@ Name test case 545 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_546-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_546-manual.html index 6dd735b6219..f40aa2f38ac 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_546-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_546-manual.html @@ -3,7 +3,6 @@ Name test case 546 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_547-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_547-manual.html index f80f7bb8a6f..b7a977b12e9 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_547-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_547-manual.html @@ -3,7 +3,6 @@ Name test case 547 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_548-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_548-manual.html index f5f962a47b9..d63ff4a2f61 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_548-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_548-manual.html @@ -3,7 +3,6 @@ Name test case 548 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_549-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_549-manual.html index 97839a4c6a8..c729c1f51b1 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_549-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_549-manual.html @@ -3,7 +3,6 @@ Name test case 549 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_550-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_550-manual.html index 70740219883..de8a635caec 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_550-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_550-manual.html @@ -3,7 +3,6 @@ Name test case 550 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_551-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_551-manual.html index 2b55d07cb34..65e284f7806 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_551-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_551-manual.html @@ -3,7 +3,6 @@ Name test case 551 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_552-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_552-manual.html index 0b0ed397a12..a48aaa3165c 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_552-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_552-manual.html @@ -3,7 +3,6 @@ Name test case 552 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_553-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_553-manual.html index a7f67749f71..def83ed3595 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_553-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_553-manual.html @@ -3,7 +3,6 @@ Name test case 553 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_556-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_556-manual.html index 24453584561..5923db21e2d 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_556-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_556-manual.html @@ -3,7 +3,6 @@ Name test case 556 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_557-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_557-manual.html index 7d5d86748d2..1a81ffcb3d3 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_557-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_557-manual.html @@ -3,7 +3,6 @@ Name test case 557 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_558-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_558-manual.html index 0a5c42d27ef..3e5b448ba32 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_558-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_558-manual.html @@ -3,7 +3,6 @@ Name test case 558 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_559-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_559-manual.html index 61afa5552fe..00cc7d1d0e8 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_559-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_559-manual.html @@ -3,7 +3,6 @@ Name test case 559 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_560-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_560-manual.html index ada84849ed6..05bf8d44b4e 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_560-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_560-manual.html @@ -3,7 +3,6 @@ Name test case 560 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_561-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_561-manual.html index c4b2bccd72a..5131744c071 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_561-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_561-manual.html @@ -3,7 +3,6 @@ Name test case 561 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_562-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_562-manual.html index 941e3cd6e8f..f718b35f5e4 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_562-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_562-manual.html @@ -3,7 +3,6 @@ Name test case 562 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_563-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_563-manual.html index 580f515d07b..5214fb946db 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_563-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_563-manual.html @@ -3,7 +3,6 @@ Name test case 563 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_564-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_564-manual.html index 22c2a542a42..bac49adc448 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_564-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_564-manual.html @@ -3,7 +3,6 @@ Name test case 564 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_565-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_565-manual.html index 64f6320d331..749d24d53d6 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_565-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_565-manual.html @@ -3,7 +3,6 @@ Name test case 565 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_566-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_566-manual.html index 20189f31899..5ffef66083c 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_566-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_566-manual.html @@ -3,7 +3,6 @@ Name test case 566 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_596-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_596-manual.html index 2ee191c375e..821b96b300c 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_596-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_596-manual.html @@ -3,7 +3,6 @@ Name test case 596 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_597-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_597-manual.html index 4c4c527a661..ed3e90f2101 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_597-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_597-manual.html @@ -3,7 +3,6 @@ Name test case 597 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_598-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_598-manual.html index 9a150111b32..89a0f899a29 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_598-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_598-manual.html @@ -3,7 +3,6 @@ Name test case 598 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_599-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_599-manual.html index 45041234ef8..9f186a63334 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_599-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_599-manual.html @@ -3,7 +3,6 @@ Name test case 599 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_600-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_600-manual.html index 8f572563a2f..091c8cb357b 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_600-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_600-manual.html @@ -3,7 +3,6 @@ Name test case 600 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_601-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_601-manual.html index 4dadf8a05c2..8a87591f5a5 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_601-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_601-manual.html @@ -3,7 +3,6 @@ Name test case 601 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_602-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_602-manual.html index 8f7f11a506c..71da6f713d3 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_602-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_602-manual.html @@ -3,7 +3,6 @@ Name test case 602 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_603-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_603-manual.html index c4e3d5e5697..5496f504310 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_603-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_603-manual.html @@ -3,7 +3,6 @@ Name test case 603 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_604-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_604-manual.html index c1847087ee5..db0831c6ebe 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_604-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_604-manual.html @@ -3,7 +3,6 @@ Name test case 604 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_605-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_605-manual.html index 5212857425e..ec6c5a7d50f 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_605-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_605-manual.html @@ -3,7 +3,6 @@ Name test case 605 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_606-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_606-manual.html index 8c3c4610b1a..8bcdefac2f1 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_606-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_606-manual.html @@ -3,7 +3,6 @@ Name test case 606 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_607-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_607-manual.html index c68dd031dcf..8737c8600cd 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_607-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_607-manual.html @@ -3,7 +3,6 @@ Name test case 607 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_608-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_608-manual.html index cf4423cb4f0..4380f400e6f 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_608-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_608-manual.html @@ -3,7 +3,6 @@ Name test case 608 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_609-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_609-manual.html index e7ce0ed57be..d408962ae92 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_609-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_609-manual.html @@ -3,7 +3,6 @@ Name test case 609 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_610-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_610-manual.html index 3398e8437f7..fc8bcf2efa3 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_610-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_610-manual.html @@ -3,7 +3,6 @@ Name test case 610 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_611-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_611-manual.html index 458dc3532ed..2ea08602383 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_611-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_611-manual.html @@ -3,7 +3,6 @@ Name test case 611 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_612-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_612-manual.html index c3e44806674..9faa92250f3 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_612-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_612-manual.html @@ -3,7 +3,6 @@ Name test case 612 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_613-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_613-manual.html index b83a7bdadc9..d8a27c37262 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_613-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_613-manual.html @@ -3,7 +3,6 @@ Name test case 613 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_614-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_614-manual.html index 0f6beb6b57c..b2323aaa1df 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_614-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_614-manual.html @@ -3,7 +3,6 @@ Name test case 614 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_615-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_615-manual.html index ae06ecf2105..e1d53f4ac8a 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_615-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_615-manual.html @@ -3,7 +3,6 @@ Name test case 615 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_616-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_616-manual.html index 335e781dcbd..310bfca4d16 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_616-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_616-manual.html @@ -3,7 +3,6 @@ Name test case 616 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_617-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_617-manual.html index 2ba89d38e33..29270633079 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_617-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_617-manual.html @@ -3,7 +3,6 @@ Name test case 617 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_618-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_618-manual.html index 0af6532c57b..be74e08629a 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_618-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_618-manual.html @@ -3,7 +3,6 @@ Name test case 618 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_619-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_619-manual.html index 154ad359f47..8bd08269159 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_619-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_619-manual.html @@ -3,7 +3,6 @@ Name test case 619 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_620-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_620-manual.html index b1774e2c00d..855d0cc848c 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_620-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_620-manual.html @@ -3,7 +3,6 @@ Name test case 620 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_621-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_621-manual.html index 8fb303bfb40..bb5780ad2b0 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_621-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_621-manual.html @@ -3,7 +3,6 @@ Name test case 621 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_659-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_659-manual.html index 97d84e5c92d..1332c30c492 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_659-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_659-manual.html @@ -3,7 +3,6 @@ Name test case 659 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_660-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_660-manual.html index 3cbd92a0adf..66b36635d94 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_660-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_660-manual.html @@ -3,7 +3,6 @@ Name test case 660 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_661-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_661-manual.html index 4ed32ec0782..e1f25ba7c66 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_661-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_661-manual.html @@ -3,7 +3,6 @@ Name test case 661 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_662-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_662-manual.html index 15e706c8c86..4d69b0f1b57 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_662-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_662-manual.html @@ -3,7 +3,6 @@ Name test case 662 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_663-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_663-manual.html deleted file mode 100644 index 883c1a9e38b..00000000000 --- a/tests/wpt/web-platform-tests/accname/name_test_case_663-manual.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - Name test case 663 - - - - - - - - - -

This test examines the ARIA properties for Name test case 663.

- - - - - -
-
-
- - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_663a-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_663a-manual.html index 1e71fd514c7..95ec2f857b7 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_663a-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_663a-manual.html @@ -3,7 +3,6 @@ Name test case 663a - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_721-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_721-manual.html index 4a2d8c555b5..90e1911d15a 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_721-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_721-manual.html @@ -3,7 +3,6 @@ Name test case 721 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_723-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_723-manual.html index 0d1535cb6ca..84cd65534fa 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_723-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_723-manual.html @@ -3,7 +3,6 @@ Name test case 723 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_724-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_724-manual.html index d69eda490b9..69d8d70f0ef 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_724-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_724-manual.html @@ -3,7 +3,6 @@ Name test case 724 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_725-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_725-manual.html index 47bb9d5ff5a..9d1b867122b 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_725-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_725-manual.html @@ -3,7 +3,6 @@ Name test case 725 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_726-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_726-manual.html index 45996d9095f..0faf0f27d31 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_726-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_726-manual.html @@ -3,7 +3,6 @@ Name test case 726 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_727-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_727-manual.html index 2f7f589e927..d009ae7fb38 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_727-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_727-manual.html @@ -3,7 +3,6 @@ Name test case 727 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_728-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_728-manual.html index 0a5d003839a..f6a14e74941 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_728-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_728-manual.html @@ -3,7 +3,6 @@ Name test case 728 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_729-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_729-manual.html index a4a302ea49a..f9b5e156f35 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_729-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_729-manual.html @@ -3,7 +3,6 @@ Name test case 729 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_730-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_730-manual.html index 230c1998942..b213840268d 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_730-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_730-manual.html @@ -3,7 +3,6 @@ Name test case 730 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_731-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_731-manual.html index 613bdc6f106..50f4a5b2ebc 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_731-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_731-manual.html @@ -3,7 +3,6 @@ Name test case 731 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_733-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_733-manual.html index 494dc333cce..a9d3aaa6706 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_733-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_733-manual.html @@ -3,7 +3,6 @@ Name test case 733 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_734-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_734-manual.html index 7924d2cda45..fbf5a0c3dd7 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_734-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_734-manual.html @@ -3,7 +3,6 @@ Name test case 734 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_735-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_735-manual.html index 72b557ca323..955af0f10d2 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_735-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_735-manual.html @@ -3,7 +3,6 @@ Name test case 735 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_736-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_736-manual.html index e9dfd7853d2..2518ff32bd6 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_736-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_736-manual.html @@ -3,7 +3,6 @@ Name test case 736 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_737-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_737-manual.html index 59c49305fb9..a550114b4fa 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_737-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_737-manual.html @@ -3,7 +3,6 @@ Name test case 737 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_738-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_738-manual.html index a462b03973f..ddf6210a9ad 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_738-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_738-manual.html @@ -3,7 +3,6 @@ Name test case 738 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_739-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_739-manual.html index 3688cba8e02..241c0fbff02 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_739-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_739-manual.html @@ -3,7 +3,6 @@ Name test case 739 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_740-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_740-manual.html index 716b1f9d23b..f13ac6b4ad2 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_740-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_740-manual.html @@ -3,7 +3,6 @@ Name test case 740 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_741-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_741-manual.html index 6da7ff2d6f9..9b0b4bfef18 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_741-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_741-manual.html @@ -3,7 +3,6 @@ Name test case 741 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_742-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_742-manual.html index 80f9e274bc3..e3fa6ad1fef 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_742-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_742-manual.html @@ -3,7 +3,6 @@ Name test case 742 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_743-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_743-manual.html index 8df359cfc69..b226f00c7e0 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_743-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_743-manual.html @@ -3,7 +3,6 @@ Name test case 743 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_744-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_744-manual.html index 528cf71005e..44a70f7c8eb 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_744-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_744-manual.html @@ -3,7 +3,6 @@ Name test case 744 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_745-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_745-manual.html index f25740059d1..e54efda31c7 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_745-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_745-manual.html @@ -3,7 +3,6 @@ Name test case 745 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_746-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_746-manual.html index 0477908e9c5..132fe303023 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_746-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_746-manual.html @@ -3,7 +3,6 @@ Name test case 746 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_747-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_747-manual.html index 015bd566fde..be56f5b7f48 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_747-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_747-manual.html @@ -3,7 +3,6 @@ Name test case 747 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_748-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_748-manual.html index ddbed2c9a75..ad7581985b7 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_748-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_748-manual.html @@ -3,7 +3,6 @@ Name test case 748 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_749-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_749-manual.html index 0f542b34766..0ccaca7848a 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_749-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_749-manual.html @@ -3,7 +3,6 @@ Name test case 749 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_750-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_750-manual.html index 603a698f8a9..19f12432040 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_750-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_750-manual.html @@ -3,7 +3,6 @@ Name test case 750 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_751-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_751-manual.html index 02963819455..8f44ef9e420 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_751-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_751-manual.html @@ -3,7 +3,6 @@ Name test case 751 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_752-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_752-manual.html index 52503e62397..6d2593b3301 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_752-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_752-manual.html @@ -3,7 +3,6 @@ Name test case 752 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_753-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_753-manual.html index 8a1278bbe7f..82ee27cc26b 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_753-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_753-manual.html @@ -3,7 +3,6 @@ Name test case 753 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_754-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_754-manual.html index 41f06aaea76..06d56eef393 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_754-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_754-manual.html @@ -3,7 +3,6 @@ Name test case 754 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_755-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_755-manual.html index dd410b88e92..e621db7517f 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_755-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_755-manual.html @@ -3,7 +3,6 @@ Name test case 755 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_756-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_756-manual.html index 600d75fe173..70394d28a80 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_756-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_756-manual.html @@ -3,7 +3,6 @@ Name test case 756 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_757-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_757-manual.html index 993c4d16c16..4e7fd81bcf7 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_757-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_757-manual.html @@ -3,7 +3,6 @@ Name test case 757 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_758-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_758-manual.html index 9ab6467a281..0381f1b9473 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_758-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_758-manual.html @@ -3,7 +3,6 @@ Name test case 758 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_759-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_759-manual.html index 159edc74728..a9b2d2fc618 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_759-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_759-manual.html @@ -3,7 +3,6 @@ Name test case 759 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_760-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_760-manual.html index 30d8a7e0e9e..bab3c19ead5 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_760-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_760-manual.html @@ -3,7 +3,6 @@ Name test case 760 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_761-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_761-manual.html index 3dedb942a4d..7848eea9b50 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_761-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_761-manual.html @@ -3,7 +3,6 @@ Name test case 761 - diff --git a/tests/wpt/web-platform-tests/accname/name_test_case_762-manual.html b/tests/wpt/web-platform-tests/accname/name_test_case_762-manual.html index e131861d0c7..d0d04e3ce42 100644 --- a/tests/wpt/web-platform-tests/accname/name_test_case_762-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_test_case_762-manual.html @@ -3,7 +3,6 @@ Name test case 762 - diff --git a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-combobox-manual.html b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-combobox-manual.html index 7fde09c3ce8..a32b1c2b529 100644 --- a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-combobox-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-combobox-manual.html @@ -3,7 +3,6 @@ Name text-label-embedded-combobox - diff --git a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-menu-manual.html b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-menu-manual.html index 40b94fcc892..d6fddc6f1c5 100644 --- a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-menu-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-menu-manual.html @@ -3,7 +3,6 @@ Name text-label-embedded-menu - diff --git a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-select-manual.html b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-select-manual.html index e27a302e611..6a0f6e10b86 100644 --- a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-select-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-select-manual.html @@ -3,7 +3,6 @@ Name text-label-embedded-select - diff --git a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-slider-manual.html b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-slider-manual.html index d65c1c104b6..caf91243fa0 100644 --- a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-slider-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-slider-manual.html @@ -3,7 +3,6 @@ Name text-label-embedded-slider - diff --git a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-spinbutton-manual.html b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-spinbutton-manual.html index e81e220eef9..8e1b1e21dd8 100644 --- a/tests/wpt/web-platform-tests/accname/name_text-label-embedded-spinbutton-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_text-label-embedded-spinbutton-manual.html @@ -3,7 +3,6 @@ Name text-label-embedded-spinbutton - diff --git a/tests/wpt/web-platform-tests/accname/name_text-title-manual.html b/tests/wpt/web-platform-tests/accname/name_text-title-manual.html index cc0b645e89a..720a94cd7ae 100644 --- a/tests/wpt/web-platform-tests/accname/name_text-title-manual.html +++ b/tests/wpt/web-platform-tests/accname/name_text-title-manual.html @@ -3,7 +3,6 @@ Name text-title - diff --git a/tests/wpt/web-platform-tests/acid/acid3/reference.sub.html b/tests/wpt/web-platform-tests/acid/acid3/reference.sub.html index 310961363bf..974bee11e4d 100755 --- a/tests/wpt/web-platform-tests/acid/acid3/reference.sub.html +++ b/tests/wpt/web-platform-tests/acid/acid3/reference.sub.html @@ -1,7 +1,7 @@ The Acid3 Test (Reference Rendering) - + + +

Test passes if there is a filled green square and no red.

+
+ +
+ +
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/abspos/table-caption-passes-abspos-up-001.html b/tests/wpt/web-platform-tests/css/CSS2/abspos/table-caption-passes-abspos-up-001.html new file mode 100644 index 00000000000..51b0d6951bf --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/abspos/table-caption-passes-abspos-up-001.html @@ -0,0 +1,35 @@ + + + + + + + + +Captions and abspos descendants + + + + +

Test passes if there is a filled green square and no red.

+
+ + + +
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/adjoining-float-new-fc.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/adjoining-float-new-fc.html new file mode 100644 index 00000000000..587bbf51b7d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/adjoining-float-new-fc.html @@ -0,0 +1,13 @@ + +New formatting context next to adjoining float + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/clear-after-top-margin.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/clear-after-top-margin.html new file mode 100644 index 00000000000..95b445657cc --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/clear-after-top-margin.html @@ -0,0 +1,14 @@ + +Clearance inside block with top margin + + + + +

Test passes if there is a filled green square.

+
+ +
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/floats-143-ref.xht b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/floats-143-ref.xht index 49d1fe5b8ff..2fcdc134cac 100644 --- a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/floats-143-ref.xht +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/floats-143-ref.xht @@ -9,6 +9,8 @@ diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/nested-clearance-new-formatting-context.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/nested-clearance-new-formatting-context.html new file mode 100644 index 00000000000..5e43b250670 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/nested-clearance-new-formatting-context.html @@ -0,0 +1,15 @@ + +Nested clearance on new formatting context + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-adjoining-opposite-float.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-adjoining-opposite-float.html new file mode 100644 index 00000000000..01a457ee1fb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-adjoining-opposite-float.html @@ -0,0 +1,16 @@ + +No clearance due to large top margin that takes us past the float + + + + +

There should be nothing below.

+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-due-to-large-margin-after-left-right.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-due-to-large-margin-after-left-right.html new file mode 100644 index 00000000000..bc459d06cde --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-due-to-large-margin-after-left-right.html @@ -0,0 +1,18 @@ + +No clearance due to large top margin inside clear:right inside clear:left that takes us past the floats + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-due-to-large-margin.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-due-to-large-margin.html new file mode 100644 index 00000000000..cabb1ac8504 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/no-clearance-due-to-large-margin.html @@ -0,0 +1,12 @@ + +No clearance due to large top margin that takes us past the float + + + +

Test passes if there is a filled green square and no red.

+
+
+
+

+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/second-float-inside-empty-cleared-block-after-margin.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/second-float-inside-empty-cleared-block-after-margin.html new file mode 100644 index 00000000000..ee8bebc53b6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/second-float-inside-empty-cleared-block-after-margin.html @@ -0,0 +1,14 @@ + +Float separated from float inside empty cleared block, margin before clearance + + + + +

Test passes if there is a filled green square.

+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats-clear/second-float-inside-empty-cleared-block.html b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/second-float-inside-empty-cleared-block.html new file mode 100644 index 00000000000..a383e9a6a21 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats-clear/second-float-inside-empty-cleared-block.html @@ -0,0 +1,14 @@ + +Float separated from float inside empty cleared block + + + + +

Test passes if there is a filled green square.

+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/floats-in-table-caption-001-ref.html b/tests/wpt/web-platform-tests/css/CSS2/floats/floats-in-table-caption-001-ref.html new file mode 100644 index 00000000000..bf02b993c45 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats/floats-in-table-caption-001-ref.html @@ -0,0 +1,18 @@ + + + + + + +Caption block containers are rendered same as normal block boxes + + +

+The words floated and inline should be legible below, with inline appearing just +to the right of the border surrounding floated. +

+ +
+ floated +
+inline diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/floats-in-table-caption-001.html b/tests/wpt/web-platform-tests/css/CSS2/floats/floats-in-table-caption-001.html new file mode 100644 index 00000000000..2bc985020a6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats/floats-in-table-caption-001.html @@ -0,0 +1,25 @@ + + + + + + + + +Caption block containers are rendered same as normal block boxes + + +

+The words floated and inline should be legible below, with inline appearing just +to the right of the border surrounding floated. +

+ + + + +
+
+ floated +
+ inline +
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/new-fc-beside-adjoining-float-2.html b/tests/wpt/web-platform-tests/css/CSS2/floats/new-fc-beside-adjoining-float-2.html new file mode 100644 index 00000000000..2d27a28a053 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats/new-fc-beside-adjoining-float-2.html @@ -0,0 +1,16 @@ + +A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/new-fc-separates-from-float-2.html b/tests/wpt/web-platform-tests/css/CSS2/floats/new-fc-separates-from-float-2.html new file mode 100644 index 00000000000..fd0deab18e0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats/new-fc-separates-from-float-2.html @@ -0,0 +1,16 @@ + +A new formatting context that doesn't fit beside a float make the float non-adjoining + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/margin-collapsing-in-table-caption-001.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/margin-collapsing-in-table-caption-001.html new file mode 100644 index 00000000000..c06d7372428 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/margin-collapsing-in-table-caption-001.html @@ -0,0 +1,26 @@ + + + + + + + + +Caption block containers are rendered same as normal block boxes + + + + +

Test passes if there is a filled green square.

+ + + +
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/margin-collapsing-in-table-caption-002.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/margin-collapsing-in-table-caption-002.html new file mode 100644 index 00000000000..18903303e35 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/margin-collapsing-in-table-caption-002.html @@ -0,0 +1,26 @@ + + + + + + + + +Caption block containers are rendered same as normal block boxes + + + + +

Test passes if there is a filled green square.

+ + + +
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/CSS2/syntax/characters-0080-009F-001-ref.xht b/tests/wpt/web-platform-tests/css/CSS2/syntax/characters-0080-009F-001-ref.xht index 7f285bcf8a6..f3aeb9994dd 100644 --- a/tests/wpt/web-platform-tests/css/CSS2/syntax/characters-0080-009F-001-ref.xht +++ b/tests/wpt/web-platform-tests/css/CSS2/syntax/characters-0080-009F-001-ref.xht @@ -4,7 +4,7 @@ CSS Test: Valid control characters in identifiers - + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-001.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-001.xht new file mode 100644 index 00000000000..f7568233009 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-001.xht @@ -0,0 +1,28 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-002.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-002.xht new file mode 100644 index 00000000000..c1f6996622c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-002.xht @@ -0,0 +1,28 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ All the  
words
are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-003.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-003.xht new file mode 100644 index 00000000000..b499e09ceda --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-003.xht @@ -0,0 +1,30 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-004.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-004.xht new file mode 100644 index 00000000000..cdf6c558b4d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-004.xht @@ -0,0 +1,30 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-005.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-005.xht new file mode 100644 index 00000000000..1ef69f65821 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-005.xht @@ -0,0 +1,30 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ All the  
words
are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-006.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-006.xht new file mode 100644 index 00000000000..9f9d051c76e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-006.xht @@ -0,0 +1,30 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ All the  
words
are aligned on the same baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht new file mode 100644 index 00000000000..81ffd5e48bb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht @@ -0,0 +1,26 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + +

+ A blue square + [blue square] + sits on the baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-010.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-010.xht new file mode 100644 index 00000000000..600cdd77a28 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-010.xht @@ -0,0 +1,32 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-011.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-011.xht new file mode 100644 index 00000000000..157420d30ea --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-011.xht @@ -0,0 +1,33 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-012.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-012.xht new file mode 100644 index 00000000000..ca37545c2fa --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-012.xht @@ -0,0 +1,32 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-013.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-013.xht new file mode 100644 index 00000000000..4dcaad4629d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-013.xht @@ -0,0 +1,32 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-014.xht b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-014.xht new file mode 100644 index 00000000000..b087caa4740 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/visudet/inline-block-baseline-014.xht @@ -0,0 +1,33 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/tests/wpt/web-platform-tests/css/CSS2/visufx/overflow-applies-to-001-ref.xht b/tests/wpt/web-platform-tests/css/CSS2/visufx/overflow-applies-to-001-ref.xht index 2a89acf56fb..a8c54ab6d62 100644 --- a/tests/wpt/web-platform-tests/css/CSS2/visufx/overflow-applies-to-001-ref.xht +++ b/tests/wpt/web-platform-tests/css/CSS2/visufx/overflow-applies-to-001-ref.xht @@ -3,7 +3,7 @@ CSS Reference File - + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-animations/animationevent-types.html b/tests/wpt/web-platform-tests/css/css-animations/animationevent-types.html index d1cb9144881..77f514a297b 100644 --- a/tests/wpt/web-platform-tests/css/css-animations/animationevent-types.html +++ b/tests/wpt/web-platform-tests/css/css-animations/animationevent-types.html @@ -39,9 +39,11 @@ assert_idl_attribute(evt, "animationName", "animationstart has animationName property"); assert_idl_attribute(evt, "elapsedTime", "animationstart has elapsedTime property"); + assert_idl_attribute(evt, "pseudoElement", "animationstart has pseudoElement property"); assert_equals(evt.animationName, "sample", "animationstart has animationName value"); assert_equals(evt.elapsedTime, 1, "animationstart has elapsedTime value"); + assert_equals(evt.pseudoElement, "", "animaitonstart has correct pseudoElement value"); t.done(); }), true); @@ -53,9 +55,11 @@ assert_idl_attribute(evt, "animationName", "animationend has animationName property"); assert_idl_attribute(evt, "elapsedTime", "animationend has elapsedTime property"); + assert_idl_attribute(evt, "pseudoElement", "animationstart has pseudoElement property"); assert_equals(evt.animationName, "sample", "animationend has animationName value"); assert_equals(evt.elapsedTime, 4, "animationend has elapsedTime value"); + assert_equals(evt.pseudoElement, "", "animaitonstart has correct pseudoElement value"); t.done(); }), true); @@ -67,9 +71,11 @@ assert_idl_attribute(evt, "animationName", "animationiteration has animationName property"); assert_idl_attribute(evt, "elapsedTime", "animationiteration has elapsedTime property"); + assert_idl_attribute(evt, "pseudoElement", "animationstart has pseudoElement property"); assert_equals(evt.animationName, "sample", "animationiteration has animationName value"); assert_equals(evt.elapsedTime, 2, "animationiteration has elapsedTime value"); + assert_equals(evt.pseudoElement, "", "animaitonstart has correct pseudoElement value"); t.done(); }), true); diff --git a/tests/wpt/web-platform-tests/css/css-backgrounds/background-clip-content-box-001.html b/tests/wpt/web-platform-tests/css/css-backgrounds/background-clip-content-box-001.html index a3b8436a7ac..f0777e88c22 100644 --- a/tests/wpt/web-platform-tests/css/css-backgrounds/background-clip-content-box-001.html +++ b/tests/wpt/web-platform-tests/css/css-backgrounds/background-clip-content-box-001.html @@ -1,36 +1,25 @@ - - - CSS Backgrounds and Borders Test: background-clip Reference - - - - - - - - - - -

Test pass if the green box has a 10px width blue edge

- -
-
- - +CSS Backgrounds and Borders Test: background-clip Reference + + + + +

Test passes if the orange box has a 10px width blue edge.

+ +
+
diff --git a/tests/wpt/web-platform-tests/css/css-backgrounds/background-rounded-image-clip.html b/tests/wpt/web-platform-tests/css/css-backgrounds/background-rounded-image-clip.html new file mode 100644 index 00000000000..1179ba54996 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-backgrounds/background-rounded-image-clip.html @@ -0,0 +1,32 @@ + + +Background Clip Follows Rounded Corner + + + +
+
diff --git a/tests/wpt/web-platform-tests/css/css-backgrounds/box-shadow-syntax-001.html b/tests/wpt/web-platform-tests/css/css-backgrounds/box-shadow-syntax-001.html index a66c3b60c2b..e7c83b3ec22 100644 --- a/tests/wpt/web-platform-tests/css/css-backgrounds/box-shadow-syntax-001.html +++ b/tests/wpt/web-platform-tests/css/css-backgrounds/box-shadow-syntax-001.html @@ -5,7 +5,7 @@ - + + + + diff --git a/tests/wpt/web-platform-tests/css/css-fill-stroke/OWNERS b/tests/wpt/web-platform-tests/css/css-fill-stroke/OWNERS new file mode 100644 index 00000000000..4d8fac44915 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-fill-stroke/OWNERS @@ -0,0 +1 @@ +@tabatkins diff --git a/tests/wpt/web-platform-tests/css/css-filter/filtered-block-is-container-ref.html b/tests/wpt/web-platform-tests/css/css-filter/filtered-block-is-container-ref.html new file mode 100644 index 00000000000..fc9467f8717 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-filter/filtered-block-is-container-ref.html @@ -0,0 +1,60 @@ + + +CSS Filter: Filtered block establishes a containing block reference. + + + + +
+
+
+
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-filter/filtered-block-is-container.html b/tests/wpt/web-platform-tests/css/css-filter/filtered-block-is-container.html new file mode 100644 index 00000000000..6f99f364e63 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-filter/filtered-block-is-container.html @@ -0,0 +1,61 @@ + + +CSS Filter: Filtered block establishes a containing block. + + + + + + +
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-filter/filtered-html-is-not-container-ref.html b/tests/wpt/web-platform-tests/css/css-filter/filtered-html-is-not-container-ref.html new file mode 100644 index 00000000000..c1f179a676a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-filter/filtered-html-is-not-container-ref.html @@ -0,0 +1,38 @@ + + +CSS Filter: Filtered html element does not establish a containing block. + + + + +
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-filter/filtered-html-is-not-container.html b/tests/wpt/web-platform-tests/css/css-filter/filtered-html-is-not-container.html new file mode 100644 index 00000000000..8adc302f31c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-filter/filtered-html-is-not-container.html @@ -0,0 +1,43 @@ + + +CSS Filter: Filtered html element does not establish a containing block. + + + + + + +
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-filter/filtered-inline-is-container-ref.html b/tests/wpt/web-platform-tests/css/css-filter/filtered-inline-is-container-ref.html new file mode 100644 index 00000000000..aa6c12e33b5 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-filter/filtered-inline-is-container-ref.html @@ -0,0 +1,57 @@ + + +CSS Filter: Filtered inline establishes a containing block. + + + + +
+
+
+
+ a +
+
+
+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-filter/filtered-inline-is-container.html b/tests/wpt/web-platform-tests/css/css-filter/filtered-inline-is-container.html new file mode 100644 index 00000000000..56f1d91ff90 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-filter/filtered-inline-is-container.html @@ -0,0 +1,60 @@ + + +CSS Filter: Filtered inline establishes a containing block reference. + + + + + + +
+
+
+
+ a +
+
+
+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-flexbox/flexbox_first-letter.html b/tests/wpt/web-platform-tests/css/css-flexbox/flexbox_first-letter.html new file mode 100644 index 00000000000..dbbb03d524e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-flexbox/flexbox_first-letter.html @@ -0,0 +1,20 @@ + +flexbox | first-letter + + + + + + + +
Triceratops
+ + diff --git a/tests/wpt/web-platform-tests/css/css-font-loading/OWNERS b/tests/wpt/web-platform-tests/css/css-font-loading/OWNERS new file mode 100644 index 00000000000..404d8d1153d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-font-loading/OWNERS @@ -0,0 +1,2 @@ +@tabatkins +@svgeesus diff --git a/tests/wpt/web-platform-tests/css/css-fonts/alternates-order-ref.html b/tests/wpt/web-platform-tests/css/css-fonts/alternates-order-ref.html index ed53a2723b4..fdb477fe168 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/alternates-order-ref.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/alternates-order-ref.html @@ -19,6 +19,9 @@ span { font-feature-settings: "ss05"; /* crossed W */ } +/* tests that should NOT use the feature, due to case-sensitivity of font-feature-values names */ +#test2, #test3 { font-feature-settings: "ss05" off; } + diff --git a/tests/wpt/web-platform-tests/css/css-fonts/alternates-order.html b/tests/wpt/web-platform-tests/css/css-fonts/alternates-order.html index e5310b3aadf..d47cbce32bb 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/alternates-order.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/alternates-order.html @@ -65,13 +65,13 @@ div { margin: 0 20px; } } #test2 { - /* testing case-insensitivity of styleset name */ + /* testing case-sensitivity of styleset name */ font-family: fontB; font-variant-alternates: styleset(altW); } #test3 { - /* testing case-insensitivity of styleset name */ + /* testing case-sensitivity of styleset name */ font-family: fontB; font-variant-alternates: styleset(ALTW); } @@ -79,7 +79,7 @@ div { margin: 0 20px; } #test4 { /* testing escapes in styleset name */ font-family: fontB; - font-variant-alternates: styleset(\41 ltW); + font-variant-alternates: styleset(\41 lTw); } #test5 { diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2-ref.html b/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2-ref.html new file mode 100644 index 00000000000..ff53ab6e675 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2-ref.html @@ -0,0 +1,27 @@ + + +CSS Reference: font-face unicode-range + + +

Test passes if the two lines look the same, with just the ampersand in italic

+
This & That
+
This & That
+ diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2.html b/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2.html index 9be431b1871..83eab754bb3 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-face-unicode-range-2.html @@ -3,6 +3,7 @@ CSS Test: font-face unicode-range + + + +

Test passes if the three lines below are identical, with eight check marks (✓).

+
+

AAAAAAAA

+

AAAAAAAA

+

AAAAAAAA

+
diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-descriptor-01.html b/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-descriptor-01.html new file mode 100644 index 00000000000..8f7c50661a7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-descriptor-01.html @@ -0,0 +1,39 @@ + + + +CSS Test: font-feature-settings descriptor + + + + + + + + +

Test passes if the three lines below are identical, with eight check marks (✓).

+
+

CDGFEJQa

+

CDGFEJQa

+

AAAAAAAA

+
\ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001-ref.html b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001-ref.html new file mode 100644 index 00000000000..b608c09c50c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001-ref.html @@ -0,0 +1,19 @@ + + +CSS Fonts Reference: font-size-adjust - greater than aspect value of font + + +

Test passes if the size of the blue rectangle is greater than the orange rectangle.

+
FillerText
+
FillerText
+ diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001.html b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001.html index d2d1241b97f..b4b1c75bff2 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-001.html @@ -9,8 +9,9 @@ is greater than the aspect value of font"> -

Test passes if the size of blue rectangle is greater than the black rectangle.

-
FillerText
+

Test passes if the size of the blue rectangle is greater than the orange rectangle.

FillerText
+
FillerText
diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002-ref.html b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002-ref.html new file mode 100644 index 00000000000..175802cd7bb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002-ref.html @@ -0,0 +1,19 @@ + + +CSS Fonts Reference: font-size-adjust - less than aspect value of font + + +

Test passes if the size of the blue rectangle is greater than the orange rectangle.

+
FillerText
+
FillerText
+ diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002.html b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002.html index d157f1350c2..e1e4768ed47 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-size-adjust-002.html @@ -4,21 +4,23 @@ + -

Test passes if the size of blue rectangle is less than the black rectangle.

+

Test passes if the size of the blue rectangle is greater than the orange rectangle.

FillerText
FillerText
diff --git a/tests/wpt/web-platform-tests/css/css-fonts/matching/README.md b/tests/wpt/web-platform-tests/css/css-fonts/matching/README.md index 0d760752059..653f4d933cd 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/matching/README.md +++ b/tests/wpt/web-platform-tests/css/css-fonts/matching/README.md @@ -23,7 +23,7 @@ The **Variable Test Axis Matching** font contains reference glyphs 0-9 to match ### Building reference tests -Using the **Variable Test Axis Matching** font, [reference tests](http://web-platform-tests.org/writing-tests/reftests.html) in this directory are created as follows: +Using the **Variable Test Axis Matching** font, [reference tests](https://web-platform-tests.org/writing-tests/reftests.html) in this directory are created as follows: 1. Define `@font-face`s with range expressions, which trigger variation axes to be applied to the variable font. 2. Use CSS style definitions to request font faces from the set of declared `@font-face`s and use blocks of the glyph sequence MNOP. diff --git a/tests/wpt/web-platform-tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-expected.html b/tests/wpt/web-platform-tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-ref.html similarity index 100% rename from tests/wpt/web-platform-tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-expected.html rename to tests/wpt/web-platform-tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-ref.html diff --git a/tests/wpt/web-platform-tests/css/css-fonts/variations/at-font-face-descriptors.html b/tests/wpt/web-platform-tests/css/css-fonts/variations/at-font-face-descriptors.html index 9a70d1d8b8b..ece5b4be9b9 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/variations/at-font-face-descriptors.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/variations/at-font-face-descriptors.html @@ -118,8 +118,8 @@ // Single value, calc { value: "calc(200.5%)", isValid: true, expectedValue: "200.5%", description: "Simple calc value" }, { value: "calc(50%*2 - 20%)", isValid: true, expectedValue: "80%", description: "Valid calc expression" }, - { value: "calc(-100%)", isValid: false, description: "Negative calc value" }, - { value: "calc(50% - 50%*2)", isValid: false, description: "Negative calc expression" }, + { value: "calc(-100%)", isValid: true, description: "Negative calc value (to be clamped)" }, + { value: "calc(50% - 50%*2)", isValid: true, expectedValue: "calc(-50%)", description: "Negative calc expression (to be clamped)" }, { value: "calc(100)", isValid: false, description: "Unit-less calc value" }, { value: "calc(100px)", isValid: false, description: "Calc value with units" }, diff --git a/tests/wpt/web-platform-tests/css/css-fonts/variations/font-weight-matching-installed-fonts.html b/tests/wpt/web-platform-tests/css/css-fonts/variations/font-weight-matching-installed-fonts.html index 9d08d5b472e..e00e3172c66 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/variations/font-weight-matching-installed-fonts.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/variations/font-weight-matching-installed-fonts.html @@ -4,7 +4,6 @@ Testing new font-matching algorithm for font-weight values introduced in CSS Fonts level 4 (for system fonts) - diff --git a/tests/wpt/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001-ref.html b/tests/wpt/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001-ref.html new file mode 100644 index 00000000000..2c21c8c13dc --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001-ref.html @@ -0,0 +1,92 @@ + + +CSS Refttest Reference: Percentage size on child of a grid item with margin, border, padding and scrollbar + + + +

The test passes if in the different examples you see scrollbars but there's no overflow, so you cannot actually scroll.

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
diff --git a/tests/wpt/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001.html b/tests/wpt/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001.html new file mode 100644 index 00000000000..190277a1ed1 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001.html @@ -0,0 +1,91 @@ + + +CSS Grid Test: Percentage size on replaced child of a grid item with margin, border, padding and scrollbar + + + + + + +

The test passes if in the different examples you see scrollbars but there's no overflow, so you cannot actually scroll.

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
diff --git a/tests/wpt/web-platform-tests/css/css-grid/layout-algorithm/grid-intrinsic-size-with-orthogonal-items.html b/tests/wpt/web-platform-tests/css/css-grid/layout-algorithm/grid-intrinsic-size-with-orthogonal-items.html new file mode 100644 index 00000000000..9fb0f4ffa1c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/layout-algorithm/grid-intrinsic-size-with-orthogonal-items.html @@ -0,0 +1,71 @@ + + +CSS Grid Layout Test: Compute the grid's intrinsic size when there are orthogonal items + + + + + + + + + + +
rows: auto
+ +
+
XXX XX X XXX XX X
+
+ +
rows: minmax(100px, 200px)
+ +
+
XXX XX X XXX XX X
+
+ +
rows: minmax(auto, 200px)
+ +
+
XXX XX X XXX XX X
+
+ +
rows: minmax(100px, auto)
+ +
+
XXX XX X XXX XX X
+
+ +
rows: minmax(auto, 100px)
+ +
+
XXX XX X XXX XX X
+
+ +
rows: minmax(100px, fit-content)
+ +
+
XXX XX X XXX XX X
+
+ +
rows: minmax(100px, 1fr)
+ +
+
XXX XX X XXX XX X
+
+ diff --git a/tests/wpt/web-platform-tests/css/css-images/parsing/resources/parsing-testcommon.js b/tests/wpt/web-platform-tests/css/css-images/parsing/resources/parsing-testcommon.js index 9427f53d81b..b075882f89a 100644 --- a/tests/wpt/web-platform-tests/css/css-images/parsing/resources/parsing-testcommon.js +++ b/tests/wpt/web-platform-tests/css/css-images/parsing/resources/parsing-testcommon.js @@ -12,18 +12,18 @@ function test_valid_value(property, value, serializedValue) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_not_equals(div.style[property], "", "property should be set"); + assert_not_equals(div.style.getPropertyValue(property), "", "property should be set"); var div = document.createElement('div'); div.style[property] = value; - var readValue = div.style[property]; + var readValue = div.style.getPropertyValue(property); if (serializedValue instanceof Array) - assert_true(serializedValue.includes(readValue), "serialization should be sound"); + assert_in_array(readValue, serializedValue, "serialization should be sound"); else assert_equals(readValue, serializedValue, "serialization should be canonical"); div.style[property] = readValue; - assert_equals(div.style[property], readValue, "serialization should round-trip"); + assert_equals(div.style.getPropertyValue(property), readValue, "serialization should round-trip"); }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); } @@ -34,6 +34,6 @@ function test_invalid_value(property, value) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_equals(div.style[property], ""); + assert_equals(div.style.getPropertyValue(property), ""); }, "e.style['" + property + "'] = " + stringifiedValue + " should not set the property value"); } diff --git a/tests/wpt/web-platform-tests/css/css-masking/parsing/resources/parsing-testcommon.js b/tests/wpt/web-platform-tests/css/css-masking/parsing/resources/parsing-testcommon.js index 9427f53d81b..b075882f89a 100644 --- a/tests/wpt/web-platform-tests/css/css-masking/parsing/resources/parsing-testcommon.js +++ b/tests/wpt/web-platform-tests/css/css-masking/parsing/resources/parsing-testcommon.js @@ -12,18 +12,18 @@ function test_valid_value(property, value, serializedValue) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_not_equals(div.style[property], "", "property should be set"); + assert_not_equals(div.style.getPropertyValue(property), "", "property should be set"); var div = document.createElement('div'); div.style[property] = value; - var readValue = div.style[property]; + var readValue = div.style.getPropertyValue(property); if (serializedValue instanceof Array) - assert_true(serializedValue.includes(readValue), "serialization should be sound"); + assert_in_array(readValue, serializedValue, "serialization should be sound"); else assert_equals(readValue, serializedValue, "serialization should be canonical"); div.style[property] = readValue; - assert_equals(div.style[property], readValue, "serialization should round-trip"); + assert_equals(div.style.getPropertyValue(property), readValue, "serialization should round-trip"); }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); } @@ -34,6 +34,6 @@ function test_invalid_value(property, value) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_equals(div.style[property], ""); + assert_equals(div.style.getPropertyValue(property), ""); }, "e.style['" + property + "'] = " + stringifiedValue + " should not set the property value"); } diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/OWNERS b/tests/wpt/web-platform-tests/css/css-properties-values-api/OWNERS new file mode 100644 index 00000000000..00afa92246e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/OWNERS @@ -0,0 +1,2 @@ +@tabatkins +@astearns diff --git a/tests/wpt/web-platform-tests/css/css-scoping/keyframes-001.html b/tests/wpt/web-platform-tests/css/css-scoping/keyframes-001.html new file mode 100644 index 00000000000..b0a95ac6865 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scoping/keyframes-001.html @@ -0,0 +1,42 @@ + +CSS Test: @keyframes applies in the shadow tree. + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-scoping/keyframes-002.html b/tests/wpt/web-platform-tests/css/css-scoping/keyframes-002.html new file mode 100644 index 00000000000..b80b250460b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scoping/keyframes-002.html @@ -0,0 +1,34 @@ + +CSS Test: @keyframes from the document don't apply in the shadow tree. + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-scoping/stylesheet-title-001.html b/tests/wpt/web-platform-tests/css/css-scoping/stylesheet-title-001.html new file mode 100644 index 00000000000..a91fca8ce13 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scoping/stylesheet-title-001.html @@ -0,0 +1,24 @@ + + +CSS Test: title attribute in stylesheets not in the document tree is ignored + + + + + +

Test passes if you see a single 100px by 100px green box below.

+
+ diff --git a/tests/wpt/web-platform-tests/css/css-scoping/stylesheet-title-002.html b/tests/wpt/web-platform-tests/css/css-scoping/stylesheet-title-002.html new file mode 100644 index 00000000000..2843ada3eea --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scoping/stylesheet-title-002.html @@ -0,0 +1,36 @@ + + +CSS Test: title attribute in stylesheets not in the document tree is ignored + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-scroll-anchoring/OWNERS b/tests/wpt/web-platform-tests/css/css-scroll-anchoring/OWNERS new file mode 100644 index 00000000000..4d8fac44915 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scroll-anchoring/OWNERS @@ -0,0 +1 @@ +@tabatkins diff --git a/tests/wpt/web-platform-tests/css/css-scroll-snap/OWNERS b/tests/wpt/web-platform-tests/css/css-scroll-snap/OWNERS new file mode 100644 index 00000000000..4d8fac44915 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scroll-snap/OWNERS @@ -0,0 +1 @@ +@tabatkins diff --git a/tests/wpt/web-platform-tests/css/css-shadow-parts/OWNERS b/tests/wpt/web-platform-tests/css/css-shadow-parts/OWNERS new file mode 100644 index 00000000000..4d8fac44915 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shadow-parts/OWNERS @@ -0,0 +1 @@ +@tabatkins diff --git a/tests/wpt/web-platform-tests/css/css-shapes/parsing/resources/parsing-testcommon.js b/tests/wpt/web-platform-tests/css/css-shapes/parsing/resources/parsing-testcommon.js index 9427f53d81b..b075882f89a 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/parsing/resources/parsing-testcommon.js +++ b/tests/wpt/web-platform-tests/css/css-shapes/parsing/resources/parsing-testcommon.js @@ -12,18 +12,18 @@ function test_valid_value(property, value, serializedValue) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_not_equals(div.style[property], "", "property should be set"); + assert_not_equals(div.style.getPropertyValue(property), "", "property should be set"); var div = document.createElement('div'); div.style[property] = value; - var readValue = div.style[property]; + var readValue = div.style.getPropertyValue(property); if (serializedValue instanceof Array) - assert_true(serializedValue.includes(readValue), "serialization should be sound"); + assert_in_array(readValue, serializedValue, "serialization should be sound"); else assert_equals(readValue, serializedValue, "serialization should be canonical"); div.style[property] = readValue; - assert_equals(div.style[property], readValue, "serialization should round-trip"); + assert_equals(div.style.getPropertyValue(property), readValue, "serialization should round-trip"); }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); } @@ -34,6 +34,6 @@ function test_invalid_value(property, value) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_equals(div.style[property], ""); + assert_equals(div.style.getPropertyValue(property), ""); }, "e.style['" + property + "'] = " + stringifiedValue + " should not set the property value"); } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html new file mode 100644 index 00000000000..eb04734cd5d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-009.html @@ -0,0 +1,59 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html new file mode 100644 index 00000000000..26335a6b527 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-010.html @@ -0,0 +1,59 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html new file mode 100644 index 00000000000..3daa63c497a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-011.html @@ -0,0 +1,61 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html new file mode 100644 index 00000000000..52f5e8a8a27 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-012.html @@ -0,0 +1,61 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html new file mode 100644 index 00000000000..66a28500640 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-013.html @@ -0,0 +1,61 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: sideways-rl + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html new file mode 100644 index 00000000000..91ba3efa08a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-014.html @@ -0,0 +1,61 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: sideways-lr + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html new file mode 100644 index 00000000000..382586a9dca --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-015.html @@ -0,0 +1,62 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html new file mode 100644 index 00000000000..fe4524236b1 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-016.html @@ -0,0 +1,62 @@ + + + + CSS Test: Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways + + + + + + + + + + + +

+ The test passes if you see a green square. There should be no red. +

+
+
+ x x x x +
+
+
+ x x x x +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html new file mode 100644 index 00000000000..40482f8b970 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-026.html @@ -0,0 +1,69 @@ + + + + CSS Test: left float, url(png), real offset image + shape-margin (px) + + + + + + + + + + +

+ The test passes if the green rectangle on the right is completely between the two blue lines. + There should be no red. +

+
+ + X
X +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html index fe30d4371f7..fdf226ee09c 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html @@ -30,7 +30,6 @@ float: right; width: 200px; height: 200px; - background-color: green; shape-margin: 10px; shape-outside: inset(60px 10px 60px 110px round 70px 0px 0px 10px / 10px 0px 0px 20px); } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-030.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-030.html new file mode 100644 index 00000000000..0daa382f154 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-030.html @@ -0,0 +1,67 @@ + + + + CSS Test: left float, offset inset, px units + + + + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+
+ XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX +
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-010.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-010.html index 4c4ce48d0c6..e85e74d6b06 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-010.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-010.html @@ -30,8 +30,13 @@ + - +

The test passes if the short green horizontal bars are the right of the circle, the long green bar is beneath the circle, and no bars intersect the circle. There @@ -47,8 +52,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-011.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-011.html index eb4c19d6051..84defc554f1 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-011.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-011.html @@ -30,8 +30,13 @@ + - +

The test passes if the green horizontal bars are to the right of the circle, and no bars intersect the circle's shadow. There should be no red. @@ -46,8 +51,5 @@ XXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-012.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-012.html index 1d0b052e909..1adf86e5832 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-012.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-012.html @@ -32,8 +32,13 @@ + - +

The test passes if the short green horizontal bars are the right of the circle, all intersect the shadow, none intersect the circle and the long green bar is beneath the @@ -49,8 +54,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-013.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-013.html index 35e4499b530..a5945473b6f 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-013.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-013.html @@ -40,8 +40,13 @@ + - +

The test passes if the short green horizontal bars are the right of the circle, the long green bar is beneath the circle, and no bars intersect the circle. There @@ -59,8 +64,5 @@ XXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-014.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-014.html index 91be9649ada..307046bb685 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-014.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-014.html @@ -44,8 +44,13 @@ + - +

The test passes if the short green horizontal bars are the right of the shape, the long green bar is beneath it, and no bars intersect it. There should be no red. @@ -61,8 +66,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-015.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-015.html index 7f4a6f70b73..96c48f2bc02 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-015.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-015.html @@ -32,8 +32,13 @@ + - +

The test passes if the short green horizontal bars are the right of the shape, the long green bar is beneath it, and no bars intersect it. There should be no red. @@ -48,8 +53,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-016.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-016.html index d3b82f62916..f34b5c4fa4f 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-016.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-016.html @@ -32,8 +32,13 @@ + - +

The test passes if the short green horizontal bars are the right of the shape, the long green bar is beneath it, and no bars intersect it. There should be no red. @@ -48,8 +53,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-017.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-017.html index ae28284c635..160671c81ee 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-017.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-017.html @@ -31,8 +31,13 @@ + - +

The test passes if the short green horizontal bars are the right of the shape, the long green bar is beneath it, and no bars intersect it. There should be no red. @@ -47,8 +52,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-018.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-018.html index ba2c3ffce85..b95cfd1ce11 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-018.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-018.html @@ -37,8 +37,13 @@ + - +

The test passes if the longest green horizontal bar is beneath the triangle and the rest of them are to its right and none intersect it. There should be no red. @@ -54,8 +59,5 @@ XXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-019.html b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-019.html index 3ef311f4a1a..5d19b35ad96 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-019.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/shape-outside-019.html @@ -39,8 +39,13 @@ + - +

The test passes if the short green horizontal bars are the right of the black edge of circle, the long green bar is beneath it, and no bars intersect the black. @@ -58,8 +63,5 @@ XXXXXXXXXXXXXXX

- diff --git a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/support/spec-example-utils.js b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/support/spec-example-utils.js index 9f4a19e4c6d..c5b0411ca27 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/support/spec-example-utils.js +++ b/tests/wpt/web-platform-tests/css/css-shapes/spec-examples/support/spec-example-utils.js @@ -1,20 +1,11 @@ function approxShapeTest(testId, linePrefix, epsilon, lineOffsets) { var isPositioned = { 'relative': true, 'fixed': true, 'absolute': true, 'sticky': true }, - loops = 0, testDiv = document.getElementById(testId), testOffset = isPositioned[getComputedStyle(testDiv).position] ? 0 : testDiv.offsetLeft, firstLine = document.getElementById(linePrefix + '0'); function runTest() { - if (firstLine.offsetLeft == testOffset) { - // wait for the shape image to load and layout to happen - if (loops > 100) - assert_unreached("Giving up waiting for shape layout to happen!"); - else - loops++; - window.setTimeout(runTest, 5); - return; - } + assert_not_equals(firstLine.offsetLeft, testOffset, "Shape layout should have happened already."); for (var i = 0; i < lineOffsets.length; i++) { var line = document.getElementById(linePrefix + i); diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-004-ref.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-004-ref.html new file mode 100644 index 00000000000..aa735cffdbb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-004-ref.html @@ -0,0 +1,56 @@ + +Reference + + + + +
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-004.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-004.html new file mode 100644 index 00000000000..6fc061abff4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-004.html @@ -0,0 +1,60 @@ + +Percentages of width on non-replaced blocks are ignored for intrinsic sizing and resolved afterwards + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-005-ref.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-005-ref.html new file mode 100644 index 00000000000..38f480c0acd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-005-ref.html @@ -0,0 +1,56 @@ + +Reference + + + + +
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-005.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-005.html new file mode 100644 index 00000000000..f105d942043 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-non-replaced-005.html @@ -0,0 +1,60 @@ + +Percentages of width on non-replaced blocks are ignored for intrinsic sizing and resolved afterwards + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-syntax/unicode-range-selector.html b/tests/wpt/web-platform-tests/css/css-syntax/unicode-range-selector.html new file mode 100644 index 00000000000..db09540bb08 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-syntax/unicode-range-selector.html @@ -0,0 +1,20 @@ + + +Unicode range is not a token, and doesn't cause confusion in selectors + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/2d-rotate-js.html b/tests/wpt/web-platform-tests/css/css-transforms/2d-rotate-js.html index 3dcfa8c925d..11597fb3199 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/2d-rotate-js.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/2d-rotate-js.html @@ -3,11 +3,12 @@ JS test: Rotate via javascript must show the correct computed rotation - + + - + + + + +

Should be green

+ diff --git a/tests/wpt/web-platform-tests/css/filter-effects/parsing/resources/parsing-testcommon.js b/tests/wpt/web-platform-tests/css/filter-effects/parsing/resources/parsing-testcommon.js index 70a1c38fb38..b075882f89a 100644 --- a/tests/wpt/web-platform-tests/css/filter-effects/parsing/resources/parsing-testcommon.js +++ b/tests/wpt/web-platform-tests/css/filter-effects/parsing/resources/parsing-testcommon.js @@ -1,5 +1,8 @@ 'use strict'; +// serializedValue can be the expected serialization of value, +// or an array of permitted serializations, +// or omitted if value should serialize as value. function test_valid_value(property, value, serializedValue) { if (arguments.length < 3) serializedValue = value; @@ -9,21 +12,20 @@ function test_valid_value(property, value, serializedValue) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_not_equals(div.style[property], ""); - }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); + assert_not_equals(div.style.getPropertyValue(property), "", "property should be set"); - test(function(){ var div = document.createElement('div'); div.style[property] = value; - var readValue = div.style[property]; - - if (Array.isArray(serializedValue)) - assert_true(serializedValue.indexOf(readValue) >= 0, '"' + readValue + '" in ' + JSON.stringify(serializedValue)); + var readValue = div.style.getPropertyValue(property); + if (serializedValue instanceof Array) + assert_in_array(readValue, serializedValue, "serialization should be sound"); else - assert_equals(readValue, serializedValue); + assert_equals(readValue, serializedValue, "serialization should be canonical"); + div.style[property] = readValue; - assert_equals(div.style[property], readValue); - }, "Serialization should round-trip after setting e.style['" + property + "'] = " + stringifiedValue); + assert_equals(div.style.getPropertyValue(property), readValue, "serialization should round-trip"); + + }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); } function test_invalid_value(property, value) { @@ -32,6 +34,6 @@ function test_invalid_value(property, value) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_equals(div.style[property], ""); + assert_equals(div.style.getPropertyValue(property), ""); }, "e.style['" + property + "'] = " + stringifiedValue + " should not set the property value"); } diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/test_media_queries.html b/tests/wpt/web-platform-tests/css/mediaqueries/test_media_queries.html index c7b651d96c3..57830f4d47f 100644 --- a/tests/wpt/web-platform-tests/css/mediaqueries/test_media_queries.html +++ b/tests/wpt/web-platform-tests/css/mediaqueries/test_media_queries.html @@ -348,8 +348,16 @@ function run() { expression_should_be_parseable(feature + ": 3.0dpi"); expression_should_be_parseable(feature + ": 3.4dpi"); expression_should_be_parseable(feature + "\t: 120dpcm"); + expression_should_be_parseable(feature + ": 1dppx"); + expression_should_be_parseable(feature + ": 1x"); + expression_should_be_parseable(feature + ": 1.5dppx"); + expression_should_be_parseable(feature + ": 1.5x"); + expression_should_be_parseable(feature + ": 2.0dppx"); + // TODO(emilio): Doesn't seem right to exclude 0 here. expression_should_not_be_parseable(feature + ": 0dpi"); expression_should_not_be_parseable(feature + ": -3dpi"); + expression_should_not_be_parseable(feature + ": 0dppx"); + expression_should_not_be_parseable(feature + ": 0x"); } // Find the resolution using max-resolution @@ -370,6 +378,8 @@ function run() { if (query_applies("(min-resolution: " + resolution + "dpi)")) { // It's exact! should_apply("(resolution: " + resolution + "dpi)"); + should_apply("(resolution: " + Math.floor(resolution/96) + "dppx)"); + should_apply("(resolution: " + Math.floor(resolution/96) + "x)"); should_not_apply("(resolution: " + (resolution + 1) + "dpi)"); should_not_apply("(resolution: " + (resolution - 1) + "dpi)"); dpi_high = resolution + 1; diff --git a/tests/wpt/web-platform-tests/css/motion/parsing/resources/parsing-testcommon.js b/tests/wpt/web-platform-tests/css/motion/parsing/resources/parsing-testcommon.js index 688356bd0f9..b075882f89a 100644 --- a/tests/wpt/web-platform-tests/css/motion/parsing/resources/parsing-testcommon.js +++ b/tests/wpt/web-platform-tests/css/motion/parsing/resources/parsing-testcommon.js @@ -1,5 +1,8 @@ 'use strict'; +// serializedValue can be the expected serialization of value, +// or an array of permitted serializations, +// or omitted if value should serialize as value. function test_valid_value(property, value, serializedValue) { if (arguments.length < 3) serializedValue = value; @@ -9,17 +12,20 @@ function test_valid_value(property, value, serializedValue) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_not_equals(div.style[property], ""); - }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); + assert_not_equals(div.style.getPropertyValue(property), "", "property should be set"); - test(function(){ var div = document.createElement('div'); div.style[property] = value; - var readValue = div.style[property]; - assert_equals(readValue, serializedValue); + var readValue = div.style.getPropertyValue(property); + if (serializedValue instanceof Array) + assert_in_array(readValue, serializedValue, "serialization should be sound"); + else + assert_equals(readValue, serializedValue, "serialization should be canonical"); + div.style[property] = readValue; - assert_equals(div.style[property], readValue); - }, "Serialization should round-trip after setting e.style['" + property + "'] = " + stringifiedValue); + assert_equals(div.style.getPropertyValue(property), readValue, "serialization should round-trip"); + + }, "e.style['" + property + "'] = " + stringifiedValue + " should set the property value"); } function test_invalid_value(property, value) { @@ -28,6 +34,6 @@ function test_invalid_value(property, value) { test(function(){ var div = document.createElement('div'); div.style[property] = value; - assert_equals(div.style[property], ""); + assert_equals(div.style.getPropertyValue(property), ""); }, "e.style['" + property + "'] = " + stringifiedValue + " should not set the property value"); } diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list index eb4d7f49815..fbee28923a4 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list @@ -60,6 +60,7 @@ == shape-outside-circle-053.html shape-outside-circle-053-ref.html == shape-outside-circle-054.html shape-outside-circle-054-ref.html == shape-outside-circle-055.html shape-outside-circle-055-ref.html +== shape-outside-circle-056.html shape-outside-circle-056-ref.html # Basic shape: ellipse() == shape-outside-ellipse-032.html shape-outside-ellipse-032-ref.html @@ -82,6 +83,7 @@ == shape-outside-ellipse-049.html shape-outside-ellipse-049-ref.html == shape-outside-ellipse-050.html shape-outside-ellipse-050-ref.html == shape-outside-ellipse-051.html shape-outside-ellipse-051-ref.html +== shape-outside-ellipse-052.html shape-outside-ellipse-052-ref.html # Basic shape: inset() == shape-outside-inset-016.html shape-outside-inset-016-ref.html @@ -112,3 +114,4 @@ == shape-outside-polygon-029.html shape-outside-polygon-027-ref.html == shape-outside-polygon-030.html shape-outside-polygon-030-ref.html == shape-outside-polygon-031.html shape-outside-polygon-031-ref.html +== shape-outside-polygon-032.html shape-outside-polygon-032-ref.html diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html new file mode 100644 index 00000000000..f4f21058a66 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html new file mode 100644 index 00000000000..056d40b257e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html @@ -0,0 +1,78 @@ + + + + CSS Test: left float, offset circle at top left + margin-box + shape-margin + + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html new file mode 100644 index 00000000000..f4f21058a66 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html @@ -0,0 +1,39 @@ + + + + CSS Reference File + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html new file mode 100644 index 00000000000..831b10168a4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html @@ -0,0 +1,76 @@ + + + + CSS Test: left float, offset ellipse + shape-margin in % units + + + + + + + + + + +

The test passes if there is a green square to the right of the blue line. There should be no red.

+
+
+
+
+
+ X +
+
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html new file mode 100644 index 00000000000..f1fcdf40d71 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html @@ -0,0 +1,24 @@ + + + + CSS Reference File + + + + +

The test passes if there is green square and no red.

+
+ + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html new file mode 100644 index 00000000000..126e0b90ae1 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html @@ -0,0 +1,86 @@ + + + + CSS Test: right float, offset polygon + margin-box + shape-margin + + + + + + + + + + + +

The test passes if there is green square and no red.

+
+
+
+ XXXXXXXXXXXX XXX XXX XXX XXX XXXXXXX XXXXXX XXXXXX XXXXXX XXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXX +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/device-memory/OWNERS b/tests/wpt/web-platform-tests/device-memory/OWNERS new file mode 100644 index 00000000000..3e7089cf2cc --- /dev/null +++ b/tests/wpt/web-platform-tests/device-memory/OWNERS @@ -0,0 +1,2 @@ +@tdresser +@npm1 diff --git a/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md b/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md index 1785a8dd610..8af8aaed580 100644 --- a/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md +++ b/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md @@ -19,7 +19,6 @@ Until we find a better way, we need to root the Android device and update the 127.0.0.1 www2.web-platform.test 127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test 127.0.0.1 xn--lve-6lad.web-platform.test -0.0.0.0 nonexistent-origin.web-platform.test ``` ## CA certificate diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md b/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md index 495426a8e2a..a3cd4174d27 100644 --- a/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md @@ -14,15 +14,18 @@ generation. This is supported through the ### Tests Involving Multiple Origins -In the test environment, five subdomains are available: `www`, `www1`, -`www2`, `天気の良い日`, and `élève`; there is also -`nonexistent-origin` which is guaranteed not to resolve. In addition, -the HTTP server listens on two ports, and the WebSockets server on -one. These subdomains and ports must be used for cross-origin -tests. Tests must not hardcode the hostname of the server that they -expect to be running on or the port numbers, as these are not -guaranteed by the test environment. Instead they can get this -information in one of two ways: +Our test servers are guaranteed to be accessible through two domains +and five subdomains under each. The 'main' domain is unnamed; the +other is called 'alt'. These subdomains are: `www`, `www1`, `www2`, +`天気の良い日`, and `élève`; there is also `nonexistent` which is +guaranteed not to resolve. In addition, the HTTP server listens on two +ports, and the WebSockets server on one. These subdomains and ports +must be used for cross-origin tests. + +Tests must not hardcode the hostname of the server that they expect to +be running on or the port numbers, as these are not guaranteed by the +test environment. Instead they can get this information in one of two +ways: * From script, using the `location` API. @@ -33,15 +36,19 @@ form `{name}.sub.{ext}` e.g. `example-test.sub.html` or be referenced through a URL containing `pipe=sub` in the query string e.g. `example-test.html?pipe=sub`. The substitution syntax uses `{% raw %}{{ }}{% endraw %}` to delimit items for substitution. For -example to substitute in the host name on which the tests are running, -one would write: `{% raw %}{{host}}{% endraw %}`. +example to substitute in the main host name, one would write: +`{% raw %}{{host}}{% endraw %}`. +To get full domains, including subdomains, there is the `hosts` +dictionary, where the first dimension is the name of the domain, and +the second the subdomain. For example, `{% raw %}{{hosts[][www]}}{% +endraw %}` would give the `www` subdomain under the main (unnamed) +domain, and `{% raw %}{{hosts[alt][élève]}}{% endraw %}` would give +the `élève` subdomain under the alt domain. -As well as the host, one can get full domains, including subdomains -using the `domains` dictionary. For example, `{% raw -%}{{domains[www]}}{% endraw %}` or `{% raw %}{{domains[élève]}}{% -endraw %}` would be replaced by the full qualified domain name of the -respective subdomains. +For mostly historic reasons, the subdomains of the main domain are +also available under the `domains` dictionary; this is identical to +`hosts[]`. Ports are also available on a per-protocol basis. For example, `{% raw %}{{ports[ws][0]}}{% endraw %}` is replaced with the first (and only) diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/testdriver-tutorial.md b/tests/wpt/web-platform-tests/docs/_writing-tests/testdriver-tutorial.md new file mode 100644 index 00000000000..0b2165cb1e4 --- /dev/null +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/testdriver-tutorial.md @@ -0,0 +1,317 @@ +# Adding new commands to testdriver.js + +## Assumptions +We assume the following in this writeup: + - You know what web-platform-tests is and you have a working checkout and can run tests + - You know what WebDriver or Selenium is + - Familiarity with JavaScript and Python + +## Introduction! + +Let's implement window resizing. We can do this via the [Set Window Rect](https://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-window-rect) command in WebDriver. + +First, we need to think of what the API will look like a little. We will be using Selenium and Marionette for this, so we can look and see that they take in x, y coordinates, width and height integers. + +The first part of this will be browser agnostic, but later we will need to implement a specific layer for each browser (here we will do Firefox and Chrome). + +## Code! + +### [resources/testdriver.js](resources/testdriver.js) + +This is the main entry point the tests get. Here we need to add a function to the `test_driver` object that will call the `test_driver_internal` object. + +```javascript +window.test_driver = { + + // other commands... + + /** + * Triggers browser window to be resized and relocated + * + * This matches the behaviour of the {@link + * https://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-window-rect|WebDriver + * Set Window Rect command}. + * + * @param {Integer} x - The x coordinate of the top left of the window + * @param {Integer} y - The x coordinate of the top left of the window + * @param {Integer} width - The width of the window + * @param {Integer} height - The width of the window + * @returns {Promise} fulfilled after window rect is set occurs, or rejected in + * the cases the WebDriver command errors + */ + set_window_rect: function(x, y, width, height) { + return window.test_driver_internal.set_element_rect(x, y, width, height); + } +``` + +In the same file, lets add to the internal object. ( do we need to do this?) (make sure to do this if the internal call has different arguments than the external call, especially if it calls multiple internal calls) + +```javascript +window.test_driver_internal = { + + // other commands... + + /** + * Triggers browser window to be resized and relocated + * + * This matches the behaviour of the {@link + * https://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-window-rect|WebDriver + * Set Window Rect command}. + * + * @param {Integer} x - The x coordinate of the top left of the window + * @param {Integer} y - The x coordinate of the top left of the window + * @param {Integer} width - The width of the window + * @param {Integer} height - The width of the window + * @returns {Promise} fulfilled after window rect is set occurs, or rejected in + * the cases the WebDriver command errors + */ + set_window_rect: function(x, y, width, height) { + return Promise.reject(new Error("unimplemented")) + } +``` +We will leave this unimplemented and override it in another file. Lets do that now! + +### [wptrunner/wptrunner/testdriver-extra.js](tools/wptrunner/wptrunner/testdriver-extra.js) + +This will be the default function called when invoking the test driver commands (sometimes it is overridden by testdriver-vendor.js, but this is outside the scope of this writeup). + +```javascript +window.test_driver_internal.set_element_rect = function(x, y, width, height) { + const pending_promise = new Promise(function(resolve, reject) { + pending_resolve = resolve; + pending_reject = reject; + }); + window.opener.postMessage( + {"type": "action", "action": "set_window_rect", "x": x, "y": y, "width": width, "height": height}, "*"); + return pending_promise; +}; +``` +The main thing here is the `postMessage` argument. The first argument is an object with properties + - `type`: this always has to be the string `"action"` + - `action`: the name of the testdriver command this defines (in this case, `set_window_rect`) + - any other things you want to pass to the next point of execution (in this case, the x, y coordinates and the width and height) + + +The pending promise is out of scope of this function and is resolved when the window recieves a completion message from the executor. +This happens here in the same file: + +```javascript + let pending_resolve = null; + let pending_reject = null; + window.addEventListener("message", function(event) { + const data = event.data; + + if (typeof data !== "object" && data !== null) { + return; + } + + if (data.type !== "testdriver-complete") { + return; + } + + if (data.status === "success") { + pending_resolve(); + } else { + pending_reject(); + } + }); +``` + +One limitation this introduces is that only one testdriver call can be made at one time since the `pending_resolve` and `pending_reject` variables are in an outer scope. + +Next, this is passed to the executor and protocol in wptrunner. Time to switch to Python! + +[tools/wptrunner/wptrunner/executors/protocol.py](tools/wptrunner/wptrunner/executors/protocol.py) + +```python +class SetWindowRectProtocolPart(ProtocolPart): + """Protocol part for resizing and changing location of window""" + __metaclass__ = ABCMeta + + name = "set_window_rect" + + @abstractmethod + def set_window_rect(self, x, y, width, height): + """Change the window rect + + :param x: The x coordinate of the top left of the window. + :param y: The y coordinate of the top left of the window. + :param width: The width of the window. + :param height: The height of the window.""" + pass +``` + +Next we change the base executor. + +[tools/wptrunner/wptrunner/executors/base.py](tools/wptrunner/wptrunner/executors/base.py) + +```python +class CallbackHandler(object): + """Handle callbacks from testdriver-using tests. + + The default implementation here makes sense for things that are roughly like + WebDriver. Things that are more different to WebDriver may need to create a + fully custom implementation.""" + + def __init__(self, logger, protocol, test_window): + self.protocol = protocol + self.test_window = test_window + self.logger = logger + self.callbacks = { + "action": self.process_action, + "complete": self.process_complete + } + + self.actions = { + "click": ClickAction(self.logger, self.protocol), + "send_keys": SendKeysAction(self.logger, self.protocol), + {other actions}, + "set_window_rect": SetWindowRectAction(self.logger, self.protocol) # add this! + } +``` + +```python +class SetWindowRectAction(object): + def __init__(self, logger, protocol): + self.logger = logger + self.protocol = protocol + + def __call__(self, payload): + x, y, width, height = payload["x"], payload["y"], payload["width"], payload["height"] + self.logger.debug("Setting window rect to be: x=%s, y=%s, width=%s, height=%s" + .format(x, y, width, height)) + self.protocol.set_window_rect.set_window_rect(x, y, width, height) +``` + +Don't forget to write docs in ```testdriver.md```. +Now we write the browser specific implementations. + +### Chrome + +We will use [executorselenium](tools/wptrunner/wptrunner/executors/executorselenium.py) and use the Selenium API (in the future there are plans to use the WebDriver API directly). + +There isn't too much work to do here, we just need to define a subclass of the protocol part we defined earlier. + +```python +class SeleniumSetWindowRectProtocolPart(SetWindowRectProtocolPart): + def setup(self): + self.webdriver = self.parent.webdriver + + def set_window_rect(self, x, y, width, height): + return self.webdriver.set_window_rect(x, y, width, height) +``` + +Make sure to import the protocol part too! + +```python +from .protocol import (BaseProtocolPart, + TestharnessProtocolPart, + Protocol, + SelectorProtocolPart, + ClickProtocolPart, + SendKeysProtocolPart, + {... other protocol parts} + SetWindowRectProtocolPart, # add this! + TestDriverProtocolPart) +``` + +Here we have the setup method which just redefines the webdriver object at this level. The important part is the `set_window_rect` function (and it's important it is named that since we called it that earlier). This will be call the Selenium API for [set window rect](http://selenium-python.readthedocs.io/api.html#selenium.webdriver.remote.webdriver.WebDriver.set_window_rect) (`self.webdriver` is a Selenium WebDriver instance here). + +Finally, we just need to tell the SeleniumProtocol to implement this part. + +```python +class SeleniumProtocol(Protocol): + implements = [SeleniumBaseProtocolPart, + SeleniumTestharnessProtocolPart, + SeleniumSelectorProtocolPart, + SeleniumClickProtocolPart, + SeleniumSendKeysProtocolPart, + {... other protocol parts} + SeleniumSetWindowRectProtocolPart, + SeleniumTestDriverProtocolPart] +``` + + +### Firefox +We use the [set window rect](http://marionette-client.readthedocs.io/en/master/reference.html#marionette_driver.marionette.Marionette.set_window_rect) Marionette command. + +We will use [executormarionette](tools/wptrunner/wptrunner/executors/executormarionette.py) and use the Marionette Python API. + +We have little actual work to do here! We just need to define a subclass of the protocol part we defined earlier. + +```python +class MarionetteSetWindowRectProtocolPart(SetWindowRectProtocolPart): + def setup(self): + self.marionette = self.parent.marionette + + def set_window_rect(self, x, y, width, height): + return self.marionette.set_window_rect(x, y, width, height) +``` + +Make sure to import the protocol part too! + +```python +from .protocol import (BaseProtocolPart, + TestharnessProtocolPart, + Protocol, + SelectorProtocolPart, + ClickProtocolPart, + SendKeysProtocolPart, + {... other protocol parts} + SetWindowRectProtocolPart, # add this! + TestDriverProtocolPart) +``` + +Here we have the setup method which just redefines the webdriver object at this level. The important part is the `set_window_rect` function (and it's important it is named that since we called it that earlier). This will be call the Marionette API for [set window rect](http://marionette-client.readthedocs.io/en/master/reference.html#marionette_driver.marionette.Marionette.set_window_rect) (`self.marionette` is a marionette instance here). + +Finally, we just need to tell the SeleniumProtocol to implement this part. + +```python +class MarionetteProtocol(Protocol): + implements = [MarionetteBaseProtocolPart, + MarionetteTestharnessProtocolPart, + MarionettePrefsProtocolPart, + MarionetteStorageProtocolPart, + MarionetteSelectorProtocolPart, + MarionetteClickProtocolPart, + MarionetteSendKeysProtocolPart, + {... other protocol parts} + MarionetteSetWindowRectProtocolPart # add this + MarionetteTestDriverProtocolPart] +``` + +### Other Browsers + +Other browsers may also use executorselenium (such as safari), or a completely new executor (such as servo). For these, you must change the executor in the same way as we did with chrome and firefox. + +### Write an infra test + +Make sure to add a test to `infrastructure/testdriver` :) + +Here is some template code! + +```html + + +TestDriver set window rect method + + + + + + +``` +### What about testdriver-vendor.js? + +The file [testdriver-vendor.js](resources/testdriver-vendor.js) is the equivalent to testdriver-extra.js above, except is +run instead of testdriver-extra.js in browser specific test environments. For example, in [Chromium LayoutTests](https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/?q=LayoutTests&sq=package:chromium&dr). + +### What if I need to return a value from my testdriver API? + +We currently don't have this capability, but it is coming soon and will be documented. The bug is [here](https://github.com/w3c/web-platform-tests/issues/10716) + diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness-api.md b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness-api.md index d750086c6a3..baa8772b814 100644 --- a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness-api.md +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness-api.md @@ -668,6 +668,17 @@ or a [`ServiceWorker`](https://slightlyoff.github.io/ServiceWorker/spec/service_ Once called, the containing document fetches all the tests from the worker and behaves as if those tests were running in the containing document itself. +`fetch_tests_from_worker` returns a promise that resolves once all the remote +tests have completed. This is useful if you're importing tests from multiple +workers and want to ensure they run in series: + +```js +(async function() { + await fetch_tests_from_worker(new Worker("worker-1.js")); + await fetch_tests_from_worker(new Worker("worker-2.js")); +})(); +``` + ## List of Assertions ## ### `assert_true(actual, description)` diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md index e76d8bdad86..652cf63d7e3 100644 --- a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md @@ -19,6 +19,44 @@ documented in two sections: See [server features][] for advanced testing features that are commonly used with testharness.js. See also the [general guidelines][] for all test types. +## Variants + +A test file can have multiple variants by including `meta` elements, +for example: + +``` + + +``` + +The test can then do different things based on the URL. + +There is a utility script in `/common/subset-tests.js` that works +well together with variants, where a test that would otherwise have +too many tests to be useful can be split up in ranges of subtests. +For example: + +``` + +Testing variants + + + + +``` + + ## Auto-generated test boilerplate While most JavaScript tests require a certain amount of HTML @@ -121,7 +159,7 @@ can be used to include both the global and a local `utils.js` in a test. Use `// META: timeout=long` at the beginning of the resource. -### Specifying test variants in auto-generated boilerplate tests +### Specifying test [variants](#variants) in auto-generated boilerplate tests Use `// META: variant=url-suffix` at the beginning of the resource. For example, diff --git a/tests/wpt/web-platform-tests/docs/introduction.md b/tests/wpt/web-platform-tests/docs/introduction.md index 4e4932e21b2..d021663224b 100644 --- a/tests/wpt/web-platform-tests/docs/introduction.md +++ b/tests/wpt/web-platform-tests/docs/introduction.md @@ -114,10 +114,10 @@ For example, on most UNIX-like systems, you can setup the hosts file with: ./wpt make-hosts-file | sudo tee -a /etc/hosts ``` -And on Windows (note this requires an Administrator privileged shell): +And on Windows (this must be run in a PowerShell session with Administrator privileges): ```bash -python wpt make-hosts-file >> %SystemRoot%\System32\drivers\etc\hosts +python wpt make-hosts-file | Out-File %SystemRoot%\System32\drivers\etc\hosts -Encoding ascii -Append ``` If you are behind a proxy, you also need to make sure the domains above are @@ -130,20 +130,17 @@ The test environment can then be started using This will start HTTP servers on two ports and a websockets server on one port. By default the web servers start on ports 8000 and 8443 and the other ports are randomly-chosen free ports. Tests must be loaded from the -*first* HTTP server in the output. To change the ports, copy the -`config.default.json` file to `config.json` and edit the new file, -replacing the part that reads: +*first* HTTP server in the output. To change the ports, +create a `config.json` file in the wpt root directory, and add +port definitions of your choice e.g.: ``` -"http": [8000, "auto"], -"https":[8443] -``` - -to some ports of your choice e.g. - -``` -"http": [1234, "auto"], -"https":[5678] +{ + "ports": { + "http": [1234, "auto"], + "https":[5678] + } +} ``` After your `hosts` file is configured, the servers will be locally accessible at: diff --git a/tests/wpt/web-platform-tests/dom/OWNERS b/tests/wpt/web-platform-tests/dom/OWNERS index 487f8ddbc0e..9e0a739c373 100644 --- a/tests/wpt/web-platform-tests/dom/OWNERS +++ b/tests/wpt/web-platform-tests/dom/OWNERS @@ -1,3 +1,4 @@ @ayg @jdm @zqzhang +@annevk diff --git a/tests/wpt/web-platform-tests/dom/events/relatedTarget.window.js b/tests/wpt/web-platform-tests/dom/events/relatedTarget.window.js index d3632bb9e04..ebc83ceb209 100644 --- a/tests/wpt/web-platform-tests/dom/events/relatedTarget.window.js +++ b/tests/wpt/web-platform-tests/dom/events/relatedTarget.window.js @@ -21,13 +21,13 @@ test(() => { for (target of [new XMLHttpRequest(), self, host]) { const event = new FocusEvent("demo", { relatedTarget: relatedTarget }); target.dispatchEvent(event); - assert_equals(event.target, null); - assert_equals(event.relatedTarget, null); + assert_equals(event.target, target); + assert_equals(event.relatedTarget, host); } } -}, "Reset if relatedTarget pointed to a shadow tree"); +}, "Retarget a shadow-tree relatedTarget"); -async_test(t => { +test(t => { const shadowChild = shadow.appendChild(document.createElement("div")); shadowChild.addEventListener("demo", t.step_func(() => document.body.appendChild(shadowChild))); const event = new FocusEvent("demo", { relatedTarget: new XMLHttpRequest() }); @@ -36,22 +36,20 @@ async_test(t => { assert_equals(event.target, null); assert_equals(event.relatedTarget, null); shadowChild.remove(); - t.done(); }, "Reset if target pointed to a shadow tree pre-dispatch"); -async_test(t => { +test(t => { const shadowChild = shadow.appendChild(document.createElement("div")); - shadowChild.addEventListener("demo", t.step_func(() => document.body.appendChild(shadowChild))); + document.body.addEventListener("demo", t.step_func(() => document.body.appendChild(shadowChild))); const event = new FocusEvent("demo", { relatedTarget: shadowChild }); document.body.dispatchEvent(event); assert_equals(shadowChild.parentNode, document.body); - assert_equals(event.target, null); - assert_equals(event.relatedTarget, null); + assert_equals(event.target, document.body); + assert_equals(event.relatedTarget, host); shadowChild.remove(); - t.done(); -}, "Reset if relatedTarget pointed to a shadow tree pre-dispatch"); +}, "Retarget a shadow-tree relatedTarget, part 2"); -async_test(t => { +test(t => { const event = new FocusEvent("heya", { relatedTarget: shadow, cancelable: true }), callback = t.unreached_func(); host.addEventListener("heya", callback); @@ -64,10 +62,9 @@ async_test(t => { // Check that the dispatch flag is cleared event.initEvent("x"); assert_equals(event.type, "x"); - t.done(); }, "Reset targets on early return"); -async_test(t => { +test(t => { const input = document.body.appendChild(document.createElement("input")), event = new MouseEvent("click", { relatedTarget: shadow }); let seen = false; @@ -81,5 +78,4 @@ async_test(t => { }); assert_true(input.dispatchEvent(event)); assert_true(seen); - t.done(); }, "Reset targets before activation behavior"); diff --git a/tests/wpt/web-platform-tests/dom/nodes/Node-normalize.html b/tests/wpt/web-platform-tests/dom/nodes/Node-normalize.html index 7598852e60a..4d455996e55 100644 --- a/tests/wpt/web-platform-tests/dom/nodes/Node-normalize.html +++ b/tests/wpt/web-platform-tests/dom/nodes/Node-normalize.html @@ -51,4 +51,33 @@ test(function() { div.normalize(); assert_array_equals(div.childNodes, []) }, "Empty text nodes") + +// The specification for normalize is clear that only "exclusive Text +// nodes" are to be modified. This excludes CDATASection nodes, which +// derive from Text. Naïve implementations may fail to skip +// CDATASection nodes, or even worse, try to test textContent or +// nodeValue without taking care to check the node type. They will +// fail this test. +test(function() { + // We create an XML document so that we can create CDATASection. + // Except for the CDATASection the result should be the same for + // an HTML document. (No non-Text node should be touched.) + var doc = new DOMParser().parseFromString("
", "text/xml") + var div = doc.documentElement + var t1 = div.appendChild(doc.createTextNode("a")) + // The first parameter is the "target" of the processing + // instruction, and the 2nd is the text content. + var t2 = div.appendChild(doc.createProcessingInstruction("pi", "")) + var t3 = div.appendChild(doc.createTextNode("b")) + var t4 = div.appendChild(doc.createCDATASection("")) + var t5 = div.appendChild(doc.createTextNode("c")) + var t6 = div.appendChild(doc.createComment("")) + var t7 = div.appendChild(doc.createTextNode("d")) + var t8 = div.appendChild(doc.createElement("el")) + var t9 = div.appendChild(doc.createTextNode("e")) + var expected = [t1, t2, t3, t4, t5, t6, t7, t8, t9] + assert_array_equals(div.childNodes, expected) + div.normalize() + assert_array_equals(div.childNodes, expected) +}, "Non-text nodes with empty textContent values.") diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-abstract-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-abstract-manual.html index c8b39bda035..b67c7fa424b 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-abstract-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-abstract-manual.html @@ -2,7 +2,6 @@ doc-abstract - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-acknowledgments-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-acknowledgments-manual.html index e45c462727a..fad68aea0fd 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-acknowledgments-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-acknowledgments-manual.html @@ -2,7 +2,6 @@ doc-acknowledgments - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-afterword-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-afterword-manual.html index 94cd2d8e973..2a1f84b19cb 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-afterword-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-afterword-manual.html @@ -2,7 +2,6 @@ doc-afterword - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-appendix-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-appendix-manual.html index da4bf3c6cf4..c0ec8c815f7 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-appendix-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-appendix-manual.html @@ -2,7 +2,6 @@ doc-appendix - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-backlink-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-backlink-manual.html index 51eb6acc7ca..fc4b4fac7ae 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-backlink-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-backlink-manual.html @@ -2,7 +2,6 @@ doc-backlink - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-biblioentry-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-biblioentry-manual.html index d97ec2a70c3..160bf10568e 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-biblioentry-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-biblioentry-manual.html @@ -2,7 +2,6 @@ doc-biblioentry - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-bibliography-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-bibliography-manual.html index c69a17aa294..b5eedf1c447 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-bibliography-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-bibliography-manual.html @@ -2,7 +2,6 @@ doc-bibliography - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-biblioref-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-biblioref-manual.html index 29ea65fe216..860f1efc4c9 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-biblioref-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-biblioref-manual.html @@ -2,7 +2,6 @@ doc-biblioref - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-chapter-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-chapter-manual.html index 3a080ae755c..1a4e95e87bb 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-chapter-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-chapter-manual.html @@ -2,7 +2,6 @@ doc-chapter - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-colophon-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-colophon-manual.html index b7cdb5ad9f4..78ae8edae7c 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-colophon-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-colophon-manual.html @@ -2,7 +2,6 @@ doc-colophon - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-conclusion-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-conclusion-manual.html index c1786c8dbfb..6ad672ef003 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-conclusion-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-conclusion-manual.html @@ -2,7 +2,6 @@ doc-conclusion - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-cover-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-cover-manual.html index c09931fbde6..4c2da2f9bda 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-cover-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-cover-manual.html @@ -2,7 +2,6 @@ doc-cover - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-credit-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-credit-manual.html index f23baa5bc64..a3774d39edf 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-credit-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-credit-manual.html @@ -2,7 +2,6 @@ doc-credit - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-credits-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-credits-manual.html index 5562c5d9dab..f0eb11109e3 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-credits-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-credits-manual.html @@ -2,7 +2,6 @@ doc-credits - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-dedication-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-dedication-manual.html index 9c95d929890..20d83487cd0 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-dedication-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-dedication-manual.html @@ -2,7 +2,6 @@ doc-dedication - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-endnote-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-endnote-manual.html index 63320c96cad..43dd4b529ba 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-endnote-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-endnote-manual.html @@ -2,7 +2,6 @@ doc-endnote - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-endnotes-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-endnotes-manual.html index 040b6e9c56c..11365c0645a 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-endnotes-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-endnotes-manual.html @@ -2,7 +2,6 @@ doc-endnotes - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-epigraph-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-epigraph-manual.html index 26b5d638bbb..7e1e0386494 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-epigraph-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-epigraph-manual.html @@ -2,7 +2,6 @@ doc-epigraph - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-epilogue-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-epilogue-manual.html index 059e7c3cea8..f00613c6411 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-epilogue-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-epilogue-manual.html @@ -2,7 +2,6 @@ doc-epilogue - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-errata-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-errata-manual.html index 759fb6ca6e4..e37fe92bdb8 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-errata-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-errata-manual.html @@ -2,7 +2,6 @@ doc-errata - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-example-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-example-manual.html index df11392abff..32c32d812cc 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-example-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-example-manual.html @@ -2,7 +2,6 @@ doc-example - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-footnote-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-footnote-manual.html index ad5f1f7116e..c865fa10161 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-footnote-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-footnote-manual.html @@ -2,7 +2,6 @@ doc-footnote - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-foreword-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-foreword-manual.html index c56d3144622..2774b50ef97 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-foreword-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-foreword-manual.html @@ -2,7 +2,6 @@ doc-foreword - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-glossary-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-glossary-manual.html index b22e3be66c5..8a5baeef63b 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-glossary-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-glossary-manual.html @@ -2,7 +2,6 @@ doc-glossary - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-glossref-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-glossref-manual.html index 6a03b871c32..99b8edd2172 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-glossref-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-glossref-manual.html @@ -2,7 +2,6 @@ doc-glossref - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-index-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-index-manual.html index b24abfa2938..39491e03134 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-index-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-index-manual.html @@ -2,7 +2,6 @@ doc-index - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-introduction-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-introduction-manual.html index e720f74c48e..fadf2d97f5b 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-introduction-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-introduction-manual.html @@ -2,7 +2,6 @@ doc-introduction - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-noteref-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-noteref-manual.html index f78af805eaf..3f053bce693 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-noteref-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-noteref-manual.html @@ -2,7 +2,6 @@ doc-noteref - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-notice-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-notice-manual.html index d3135a76316..0656b539d66 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-notice-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-notice-manual.html @@ -2,7 +2,6 @@ doc-notice - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-pagebreak-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-pagebreak-manual.html index 1bafd77cbeb..23909483181 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-pagebreak-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-pagebreak-manual.html @@ -2,7 +2,6 @@ doc-pagebreak - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-pagelist-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-pagelist-manual.html index 24bd42e0c24..33993fe8477 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-pagelist-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-pagelist-manual.html @@ -2,7 +2,6 @@ doc-pagelist - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-part-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-part-manual.html index bc06f0ef43a..997be1e4a8e 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-part-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-part-manual.html @@ -2,7 +2,6 @@ doc-part - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-preface-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-preface-manual.html index 0a2bdbfe6a0..8ed5d3b1537 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-preface-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-preface-manual.html @@ -2,7 +2,6 @@ doc-preface - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-prologue-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-prologue-manual.html index 077cfb832e0..b806c2e9650 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-prologue-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-prologue-manual.html @@ -2,7 +2,6 @@ doc-prologue - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-pullquote-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-pullquote-manual.html index 543c4ed9035..b52c970df76 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-pullquote-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-pullquote-manual.html @@ -2,7 +2,6 @@ doc-pullquote - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-qna-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-qna-manual.html index 8b9c4666d14..a334d64939a 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-qna-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-qna-manual.html @@ -2,7 +2,6 @@ doc-qna - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-subtitle-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-subtitle-manual.html index 551891983d5..217f61284c7 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-subtitle-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-subtitle-manual.html @@ -2,7 +2,6 @@ doc-subtitle - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-tip-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-tip-manual.html index ec59b0f0b5c..dda02b67985 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-tip-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-tip-manual.html @@ -2,7 +2,6 @@ doc-tip - diff --git a/tests/wpt/web-platform-tests/dpub-aam/doc-toc-manual.html b/tests/wpt/web-platform-tests/dpub-aam/doc-toc-manual.html index c3969e23220..a06a58dfa65 100644 --- a/tests/wpt/web-platform-tests/dpub-aam/doc-toc-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aam/doc-toc-manual.html @@ -2,7 +2,6 @@ doc-toc - diff --git a/tests/wpt/web-platform-tests/dpub-aria/inuse-manual.html b/tests/wpt/web-platform-tests/dpub-aria/inuse-manual.html index 1609337468a..cd6af1e7358 100644 --- a/tests/wpt/web-platform-tests/dpub-aria/inuse-manual.html +++ b/tests/wpt/web-platform-tests/dpub-aria/inuse-manual.html @@ -2,7 +2,6 @@ Check for Dpub Vocabulary Role Usage - + + + + +
+

Spacers below to make page scrollable

+
+
+
+

EOF

+ + diff --git a/tests/wpt/web-platform-tests/feature-policy/resources/picture-in-picture.js b/tests/wpt/web-platform-tests/feature-policy/resources/picture-in-picture.js index 7ccd0f8837f..6bdb7e5e49f 100644 --- a/tests/wpt/web-platform-tests/feature-policy/resources/picture-in-picture.js +++ b/tests/wpt/web-platform-tests/feature-policy/resources/picture-in-picture.js @@ -1,13 +1,16 @@ function isPictureInPictureAllowed() { - return new Promise((resolve, reject) => { - const video = document.createElement('video'); - video.requestPictureInPicture() - .then(() => resolve(document.pictureInPictureEnabled)) - .catch(e => { - if (e.name == 'NotAllowedError') - resolve(document.pictureInPictureEnabled); - else - resolve(false); - }); + return new Promise(resolve => { + let video = document.createElement('video'); + video.src = '/media/movie_5.ogv'; + video.onloadedmetadata = () => { + video.requestPictureInPicture() + .then(() => resolve(document.pictureInPictureEnabled)) + .catch(e => { + if (e.name == 'NotAllowedError') + resolve(document.pictureInPictureEnabled); + else + resolve(false); + }); + }; }); } \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html b/tests/wpt/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html index 6df6aef2cda..623036d4663 100644 --- a/tests/wpt/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html +++ b/tests/wpt/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html @@ -13,25 +13,18 @@ const SCOPE = '../resources/basic.html'; const BODY_METHODS = ['arrayBuffer', 'blob', 'formData', 'json', 'text']; - async function cleanup() { - for (const iframe of document.querySelectorAll('.test-iframe')) { - iframe.parentNode.removeChild(iframe); - } - - const reg = await navigator.serviceWorker.getRegistration(SCOPE); - if (reg) await reg.unregister(); - } - - async function setupRegistration(t) { - await cleanup(); - const reg = await navigator.serviceWorker.register('../resources/sw-intercept.js', { scope: SCOPE }); + async function setupRegistration(t, scope) { + const reg = await navigator.serviceWorker.register('../resources/sw-intercept.js', { scope }); await wait_for_state(t, reg.installing, 'activated'); + add_completion_callback(_ => reg.unregister()); return reg; } promise_test(async t => { - await setupRegistration(t); - const iframe = await with_iframe(SCOPE); + const scope = SCOPE + "?q=aborted-not-intercepted"; + await setupRegistration(t, scope); + const iframe = await with_iframe(scope); + add_completion_callback(_ => iframe.remove()); const w = iframe.contentWindow; const controller = new w.AbortController(); @@ -56,8 +49,10 @@ for (const bodyMethod of BODY_METHODS) { promise_test(async t => { - await setupRegistration(t); - const iframe = await with_iframe(SCOPE); + const scope = SCOPE + "?q=aborted-" + bodyMethod + "-rejects"; + await setupRegistration(t, scope); + const iframe = await with_iframe(scope); + add_completion_callback(_ => iframe.remove()); const w = iframe.contentWindow; const controller = new w.AbortController(); @@ -82,8 +77,10 @@ } promise_test(async t => { - await setupRegistration(t); - const iframe = await with_iframe(SCOPE); + const scope = SCOPE + "?q=aborted-stream-errors"; + await setupRegistration(t, scope); + const iframe = await with_iframe(scope); + add_completion_callback(_ => iframe.remove()); const w = iframe.contentWindow; const controller = new w.AbortController(); diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star-worker.html b/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star-worker.html deleted file mode 100644 index db9b94320cf..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star-worker.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - Fetch in worker: Access-Control-Expose-Headers: * - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.html b/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.html deleted file mode 100644 index 37223bdaaa6..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Fetch: Access-Control-Expose-Headers: * - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.js b/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.sub.any.js similarity index 93% rename from tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.js rename to tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.sub.any.js index edf4d424179..340e99ab5f9 100644 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.js +++ b/tests/wpt/web-platform-tests/fetch/api/cors/cors-expose-star.sub.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js const url = "http://{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "top.txt", sharedHeaders = "?pipe=header(Access-Control-Expose-Headers,*)|header(Test,X)|header(Set-Cookie,X)|header(*,whoa)|" diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering-worker.html b/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering-worker.html deleted file mode 100644 index f15566fc509..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering-worker.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Fetch in worker: filtered headers in CORS response - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.html b/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.html deleted file mode 100644 index b7500ad16d4..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch: filtered headers in CORS response - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.js b/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.sub.any.js similarity index 92% rename from tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.js rename to tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.sub.any.js index 1feaa5924f6..a26eaccf2a5 100644 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.js +++ b/tests/wpt/web-platform-tests/fetch/api/cors/cors-filtering.sub.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js function corsFilter(corsUrl, headerName, headerValue, isFiltered) { var url = corsUrl + "?pipe=header(" + headerName + "," + encodeURIComponent(headerValue) +")|header(Access-Control-Allow-Origin,*)"; @@ -52,18 +49,17 @@ corsFilter(url, "Content-Type", "text/html", false); corsFilter(url, "Expires","04 May 1988 22:22:22 GMT" , false); corsFilter(url, "Last-Modified", "04 May 1988 22:22:22 GMT", false); corsFilter(url, "Pragma", "no-cache", false); +corsFilter(url, "Content-Length", "3" , false); // top.txt contains "top" corsFilter(url, "Age", "27", true); corsFilter(url, "Server", "wptServe" , true); corsFilter(url, "Warning", "Mind the gap" , true); -corsFilter(url, "Content-Length", "3" , true); // top.txt contains "top" corsFilter(url, "Set-Cookie", "name=value" , true); corsFilter(url, "Set-Cookie2", "name=value" , true); corsExposeFilter(url, "Age", "27", false); corsExposeFilter(url, "Server", "wptServe" , false); corsExposeFilter(url, "Warning", "Mind the gap" , false); -corsExposeFilter(url, "Content-Length", "3" , false); corsExposeFilter(url, "Set-Cookie", "name=value" , true); corsExposeFilter(url, "Set-Cookie2", "name=value" , true); diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker.html b/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker.html deleted file mode 100644 index a8e50573278..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Fetch in worker: check multiple Access-Control-Allow-Origin header management - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.html b/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.html deleted file mode 100644 index 9b12b05064b..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Fetch: check multiple Access-Control-Allow-Origin header management - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.js b/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.js deleted file mode 100644 index e4cf7245dcf..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.js +++ /dev/null @@ -1,32 +0,0 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} - -function corsMultipleOrigins(desc, originList, shouldPass) { - var urlParameters = "?origin=" + encodeURIComponent(originList.join(", ")); - var url = "http://{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "preflight.py"; - - if (shouldPass) { - promise_test(function(test) { - return fetch(url + urlParameters).then(function(resp) { - assert_equals(resp.status, 200, "Response's status is 200"); - }); - }, desc); - } else { - promise_test(function(test) { - return promise_rejects(test, new TypeError(), fetch(url + urlParameters)); - }, desc); - } -} -/* Actual origin */ -var origin = "http://{{host}}:{{ports[http][0]}}"; - -corsMultipleOrigins("3 origins allowed, match the 3rd (" + origin + ")", ["\"\"", "http://example.com", origin], true); -corsMultipleOrigins("3 origins allowed, match the 3rd (\"*\")", ["\"\"", "http://example.com", "*"], true); -corsMultipleOrigins("3 origins allowed, match twice (" + origin + ")", ["\"\"", origin, origin], true); -corsMultipleOrigins("3 origins allowed, match twice (\"*\")", ["*", "http://example.com", "*"], true); -corsMultipleOrigins("3 origins allowed, match twice (\"*\" and " + origin + ")", ["*", "http://example.com", origin], true); -corsMultipleOrigins("3 origins allowed, no match", ["", "http://example.com", "https://example2.com"], false); - -done(); diff --git a/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.sub.any.js b/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.sub.any.js new file mode 100644 index 00000000000..f32b387022b --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/api/cors/cors-multiple-origins.sub.any.js @@ -0,0 +1,21 @@ +// META: script=../resources/utils.js + +function corsMultipleOrigins(originList) { + var urlParameters = "?origin=" + encodeURIComponent(originList.join(", ")); + var url = "http://{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "preflight.py"; + + promise_test(function(test) { + return promise_rejects(test, new TypeError(), fetch(url + urlParameters)); + }, "Listing multiple origins is illegal: " + originList); +} +/* Actual origin */ +var origin = "http://{{host}}:{{ports[http][0]}}"; + +corsMultipleOrigins(["\"\"", "http://example.com", origin]); +corsMultipleOrigins(["\"\"", "http://example.com", "*"]); +corsMultipleOrigins(["\"\"", origin, origin]); +corsMultipleOrigins(["*", "http://example.com", "*"]); +corsMultipleOrigins(["*", "http://example.com", origin]); +corsMultipleOrigins(["", "http://example.com", "https://example2.com"]); + +done(); diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count-worker.html deleted file mode 100644 index 0f624e82626..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: rediraction loop - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.any.js similarity index 89% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.any.js index 0103280f6e2..7fa6dd1d0ed 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.any.js @@ -1,8 +1,5 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); - importScripts("/common/utils.js"); -} +// META: script=../resources/utils.js +// META: script=/common/utils.js function redirectCount(desc, redirectUrl, redirectLocation, redirectStatus, maxCount, shouldPass) { var uuid_token = token(); diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.html deleted file mode 100644 index d6a66e6eb9e..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-count.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch: redirection loop - - - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location-worker.html deleted file mode 100644 index 7dce98cad0c..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location-worker.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Fetch in worker: handling empty Location header during redirection - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.any.js similarity index 81% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.any.js index a9d03c5ca6e..ace8f221c09 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.any.js @@ -1,11 +1,8 @@ +// META: script=../resources/utils.js + // Tests receiving a redirect response with a Location header with an empty // value. -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} - const url = RESOURCES_DIR + 'redirect-empty-location.py'; promise_test(t => { diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.html deleted file mode 100644 index afb033bdf9d..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-empty-location.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - Fetch: handling empty Location header during redirection - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location-worker.html deleted file mode 100644 index e2970811c07..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location-worker.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch in worker: handling Location header during redirection - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.any.js similarity index 95% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.any.js index 5b9a4fe454a..27baefc9158 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js function redirectLocation(desc, redirectUrl, redirectLocation, redirectStatus, redirectMode, shouldPass) { var url = redirectUrl; diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.html deleted file mode 100644 index ac35dea54c4..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-location.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Fetch: handling Location header during redirection - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method-worker.html deleted file mode 100644 index fc0bc5e529d..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method-worker.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch in worker: request method handling when redirected - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.any.js similarity index 96% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.any.js index 0a7f2df2c2b..056ccf847bb 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js // Creates a promise_test that fetches a URL that returns a redirect response. // diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.html deleted file mode 100644 index 028842dbe07..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-method.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Fetch: request method handling when redirected - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode-worker.html deleted file mode 100644 index 32d219f7678..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: redirect mode handling - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.any.js similarity index 94% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.any.js index 969047d96c2..7d34fa61a96 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("/common/get-host-info.sub.js") -} +// META: script=/common/get-host-info.sub.js var redirectLocation = "cors-top.txt"; diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.html deleted file mode 100644 index 20a0cd68a6c..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-mode.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch: redirect mode handling - - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin-worker.html deleted file mode 100644 index fdb542237d9..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: redirect mode handling - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.any.js similarity index 90% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.any.js index 77f841e94b5..3edb1bd03e8 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.any.js @@ -1,9 +1,6 @@ -if (this.document === undefined) { - importScripts("/common/utils.js"); - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); - importScripts("/common/get-host-info.sub.js"); -} +// META: script=/common/utils.js +// META: script=../resources/utils.js +// META: script=/common/get-host-info.sub.js function testOriginAfterRedirection(desc, redirectUrl, redirectLocation, redirectStatus, expectedOrigin) { var uuid_token = token(); diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.html deleted file mode 100644 index 4cbe1c07d00..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-origin.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Fetch: redirect mode handling - - - - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer-worker.html deleted file mode 100644 index 6e5cd45b85a..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: redirect referrer handling - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.any.js similarity index 96% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.any.js index fabeceaef4f..92f0b9be515 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.any.js @@ -1,9 +1,6 @@ -if (this.document === undefined) { - importScripts("/common/utils.js"); - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); - importScripts("/common/get-host-info.sub.js"); -} +// META: script=/common/utils.js +// META: script=../resources/utils.js +// META: script=/common/get-host-info.sub.js function testReferrerAfterRedirection(desc, redirectUrl, redirectLocation, referrerPolicy, redirectReferrerPolicy, expectedReferrer) { var url = redirectUrl; diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.html deleted file mode 100644 index 473b5e6471b..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-referrer.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Fetch: redirect referrer handling - - - - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl-worker.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl-worker.html deleted file mode 100644 index 428f5135e94..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl-worker.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - Fetch in worker: data URL loading after redirections - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.js b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.any.js similarity index 89% rename from tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.js rename to tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.any.js index c3bae3f6bb0..68ff2c5bcf2 100644 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.js +++ b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/common/get-host-info.sub.js") - importScripts("/resources/testharness.js"); -} +// META: script=/common/get-host-info.sub.js var dataURL = "data:text/plain;base64,cmVzcG9uc2UncyBib2R5"; var body = "response's body"; diff --git a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.html b/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.html deleted file mode 100644 index ed7159f4121..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/redirect/redirect-to-dataurl.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Fetch: data URL loading after redirections - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html b/tests/wpt/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html index 15c8dfd477d..30492d472fe 100644 --- a/tests/wpt/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html +++ b/tests/wpt/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html @@ -65,7 +65,7 @@ test(() => { const reader = stream.getReader(); assert_false(response.bodyUsed, "After getting a reader"); - reader.read(); + reader.read().then(() => { }, () => { }); assert_true(response.bodyUsed, "After calling stream.read()"); }, "An errored stream on which read() has been called"); @@ -81,7 +81,7 @@ test(() => { const reader = stream.getReader(); assert_false(response.bodyUsed, "After getting a reader"); - reader.cancel(); + reader.cancel().then(() => { }, () => { }); assert_true(response.bodyUsed, "After calling stream.cancel()"); }, "An errored stream on which cancel() has been called"); diff --git a/tests/wpt/web-platform-tests/fetch/api/response/response-stream-with-broken-then.any.js b/tests/wpt/web-platform-tests/fetch/api/response/response-stream-with-broken-then.any.js new file mode 100644 index 00000000000..35b984c9f6d --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/api/response/response-stream-with-broken-then.any.js @@ -0,0 +1,75 @@ +// META: script=../resources/utils.js + +promise_test(async () => { + add_completion_callback(() => delete Object.prototype.then); + const hello = new TextEncoder().encode('hello'); + const bye = new TextEncoder().encode('bye'); + const rs = new ReadableStream({ + start(controller) { + controller.enqueue(hello); + controller.close(); + } + }); + const resp = new Response(rs); + Object.prototype.then = (onFulfilled) => { + delete Object.prototype.then; + onFulfilled({done: false, value: bye}); + }; + const text = await resp.text(); + assert_equals(text, 'bye', 'The valud should be replaced with "bye".'); +}, 'Inject {done: false, value: bye} via Object.prototype.then.'); + +promise_test(async (t) => { + add_completion_callback(() => delete Object.prototype.then); + const hello = new TextEncoder().encode('hello'); + const rs = new ReadableStream({ + start(controller) { + controller.enqueue(hello); + controller.close(); + } + }); + const resp = new Response(rs); + Object.prototype.then = (onFulfilled) => { + delete Object.prototype.then; + onFulfilled({done: false, value: undefined}); + }; + promise_rejects(t, TypeError(), resp.text(), + 'The value should be replaced with undefined.'); +}, 'Inject {done: false, value: undefined} via Object.prototype.then.'); + +promise_test(async (t) => { + add_completion_callback(() => delete Object.prototype.then); + const hello = new TextEncoder().encode('hello'); + const rs = new ReadableStream({ + start(controller) { + controller.enqueue(hello); + controller.close(); + } + }); + const resp = new Response(rs); + Object.prototype.then = (onFulfilled) => { + delete Object.prototype.then; + onFulfilled(undefined); + }; + promise_rejects(t, TypeError(), resp.text(), + 'The read result should be replaced with undefined.'); +}, 'Inject undefined via Object.prototype.then.'); + +promise_test(async (t) => { + add_completion_callback(() => delete Object.prototype.then); + const hello = new TextEncoder().encode('hello'); + const rs = new ReadableStream({ + start(controller) { + controller.enqueue(hello); + controller.close(); + } + }); + const resp = new Response(rs); + Object.prototype.then = (onFulfilled) => { + delete Object.prototype.then; + onFulfilled(8.2); + }; + promise_rejects(t, TypeError(), resp.text(), + 'The read result should be replaced with a number.'); +}, 'Inject 8.2 via Object.prototype.then.'); + diff --git a/tests/wpt/web-platform-tests/http/content_length.html b/tests/wpt/web-platform-tests/fetch/content-length/content-length.html similarity index 100% rename from tests/wpt/web-platform-tests/http/content_length.html rename to tests/wpt/web-platform-tests/fetch/content-length/content-length.html diff --git a/tests/wpt/web-platform-tests/http/content_length.html.headers b/tests/wpt/web-platform-tests/fetch/content-length/content-length.html.headers similarity index 100% rename from tests/wpt/web-platform-tests/http/content_length.html.headers rename to tests/wpt/web-platform-tests/fetch/content-length/content-length.html.headers diff --git a/tests/wpt/web-platform-tests/fetch/corb/README.md b/tests/wpt/web-platform-tests/fetch/corb/README.md index 04c5b8a8f3d..48fc4ad6871 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/README.md +++ b/tests/wpt/web-platform-tests/fetch/corb/README.md @@ -21,7 +21,7 @@ sure that CORB doesn't change the existing web behavior) and therefore are valuable independently from CORB's standardization efforts. Tests that cover behavior that is changed by CORB have to be marked as -[tentative](http://web-platform-tests.org/writing-tests/file-names.html) +[tentative](https://web-platform-tests.org/writing-tests/file-names.html) (using `.tentative` substring in their filename) until CORB is included in the official [Fetch spec](https://fetch.spec.whatwg.org/). Such tests may fail unless diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub-expected.html b/tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub-ref.html similarity index 100% rename from tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub-expected.html rename to tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub-ref.html diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub.html index b2612b43293..78fc09f9b7f 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-html-correctly-labeled.sub.html @@ -6,6 +6,6 @@ --> - + diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html index 7ccc41b4b5f..65c5b846d53 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html @@ -19,6 +19,7 @@ // MIME-types not protected by CORB "image/gif", "image/png", "image/png;blah", "image/svg+xml", "application/javascript", "application/jsonp", + "image/gif;HI=THERE", // MIME types that may seem to be JSON or XML, but really aren't - i.e. // these MIME types are not covered by: @@ -39,7 +40,8 @@ "text/json", "application/json", "text/xml", "application/xml", "application/blah+json", "text/blah+json", "application/blah+xml", "text/blah+xml", - "TEXT/HTML", "TEXT/JSON", "TEXT/BLAH+JSON", "APPLICATION/BLAH+XML"] + "TEXT/HTML", "TEXT/JSON", "TEXT/BLAH+JSON", "APPLICATION/BLAH+XML", + "text/json;does=it;matter", "text/HTML;NO=it;does=NOT"] const get_url = (mime) => { // www1 is cross-origin, so the HTTP response is CORB-eligible --> diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-expected.html b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-ref.html similarity index 100% rename from tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-expected.html rename to tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-ref.html diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html index 19d29b20488..a4e519d94fc 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html @@ -6,6 +6,6 @@ --> - + diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub-expected.html b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub-ref.html similarity index 100% rename from tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub-expected.html rename to tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub-ref.html diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub.html index 85d444d7999..1ae4cfcaa7c 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html.sub.html @@ -5,6 +5,6 @@ --> - + diff --git a/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot.js b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot.js new file mode 100644 index 00000000000..5b048d33644 --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot.js @@ -0,0 +1,9 @@ + diff --git a/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot.js.headers b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot.js.headers new file mode 100644 index 00000000000..156209f9c81 --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot.js.headers @@ -0,0 +1 @@ +Content-Type: text/html diff --git a/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot2.js b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot2.js new file mode 100644 index 00000000000..9443f8ed6c3 --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot2.js @@ -0,0 +1,10 @@ + diff --git a/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot2.js.headers b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot2.js.headers new file mode 100644 index 00000000000..156209f9c81 --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/corb/resources/html-js-polyglot2.js.headers @@ -0,0 +1 @@ +Content-Type: text/html diff --git a/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html index 76a8fadd335..8f4d7679e3d 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html @@ -26,5 +26,5 @@ async_test(function(t) { // www1 is cross-origin, so the HTTP response is CORB-eligible. script.src = 'http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/html-correctly-labeled.html'; document.body.appendChild(script) -}); +}, "CORB-blocked script has no syntax errors"); diff --git a/tests/wpt/web-platform-tests/fetch/corb/script-html-js-polyglot.sub.html b/tests/wpt/web-platform-tests/fetch/corb/script-html-js-polyglot.sub.html new file mode 100644 index 00000000000..ec4103771fb --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/corb/script-html-js-polyglot.sub.html @@ -0,0 +1,32 @@ + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/fetch/data-urls/README.md b/tests/wpt/web-platform-tests/fetch/data-urls/README.md index 64c3d7e9521..1ce5b18b538 100644 --- a/tests/wpt/web-platform-tests/fetch/data-urls/README.md +++ b/tests/wpt/web-platform-tests/fetch/data-urls/README.md @@ -1,10 +1,10 @@ -== data: URLs == +## data: URLs `resources/data-urls.json` contains `data:` URL tests. The tests are encoded as a JSON array. Each value in the array is an array of two or three values. The first value describes the input, the second value describes the expected MIME type, null if the input is expected to fail somehow, or the empty string if the expected value is `text/plain;charset=US-ASCII`. The third value, if present, describes the expected body as an array of integers representing bytes. These tests are used for `data:` URLs in this directory (see `processing.any.js`). -== Forgiving-base64 decode == +## Forgiving-base64 decode `resources/base64.json` contains [forgiving-base64 decode](https://infra.spec.whatwg.org/#forgiving-base64-decode) tests. The tests are encoded as a JSON array. Each value in the array is an array of two values. The first value describes the input, the second value describes the output as an array of integers representing bytes or null if the input cannot be decoded. diff --git a/tests/wpt/web-platform-tests/http/basic-auth-cache-test-ref.html b/tests/wpt/web-platform-tests/fetch/http-cache/basic-auth-cache-test-ref.html similarity index 100% rename from tests/wpt/web-platform-tests/http/basic-auth-cache-test-ref.html rename to tests/wpt/web-platform-tests/fetch/http-cache/basic-auth-cache-test-ref.html diff --git a/tests/wpt/web-platform-tests/http/basic-auth-cache-test.html b/tests/wpt/web-platform-tests/fetch/http-cache/basic-auth-cache-test.html similarity index 79% rename from tests/wpt/web-platform-tests/http/basic-auth-cache-test.html rename to tests/wpt/web-platform-tests/fetch/http-cache/basic-auth-cache-test.html index 0d3895b8048..a8979baf548 100644 --- a/tests/wpt/web-platform-tests/http/basic-auth-cache-test.html +++ b/tests/wpt/web-platform-tests/fetch/http-cache/basic-auth-cache-test.html @@ -9,12 +9,12 @@ diff --git a/tests/wpt/web-platform-tests/graphics-aam/graphics-document_on_svg_element-manual.html b/tests/wpt/web-platform-tests/graphics-aam/graphics-document_on_svg_element-manual.html index 4984bc353eb..1b6144674a3 100644 --- a/tests/wpt/web-platform-tests/graphics-aam/graphics-document_on_svg_element-manual.html +++ b/tests/wpt/web-platform-tests/graphics-aam/graphics-document_on_svg_element-manual.html @@ -3,7 +3,6 @@ graphics-document on SVG element - diff --git a/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_html_element-manual.html b/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_html_element-manual.html index 19979b2f325..074fe51939f 100644 --- a/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_html_element-manual.html +++ b/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_html_element-manual.html @@ -3,7 +3,6 @@ graphics-object on HTML element - diff --git a/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_svg_element-manual.html b/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_svg_element-manual.html index 5c2cf28e447..d326ec5b649 100644 --- a/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_svg_element-manual.html +++ b/tests/wpt/web-platform-tests/graphics-aam/graphics-object_on_svg_element-manual.html @@ -3,7 +3,6 @@ graphics-object on SVG element - diff --git a/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_html_element-manual.html b/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_html_element-manual.html index 3b9c77fffdc..913a7d130dc 100644 --- a/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_html_element-manual.html +++ b/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_html_element-manual.html @@ -3,7 +3,6 @@ graphics-symbol on HTML element - diff --git a/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_svg_element-manual.html b/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_svg_element-manual.html index 6663225f82c..78848269d22 100644 --- a/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_svg_element-manual.html +++ b/tests/wpt/web-platform-tests/graphics-aam/graphics-symbol_on_svg_element-manual.html @@ -3,7 +3,6 @@ graphics-symbol on SVG element - diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-disabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-disabled-by-feature-policy.https.html index de4aee2dacc..02cc44ec78b 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-disabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-disabled-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html index 3c831bb7c7e..e1aa0f944a8 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html index 46473c3a9d0..17e5b27e1ad 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy.https.html index 95eee330b39..9bcced92b7e 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html index ae5a63d1484..76d1c5e7291 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope.https.html index 81cdfddee7b..0c3f08f5f47 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope.https.html @@ -9,6 +9,6 @@
diff --git a/tests/wpt/web-platform-tests/gyroscope/Gyroscope_onerror-manual.https.html b/tests/wpt/web-platform-tests/gyroscope/Gyroscope_onerror-manual.https.html index f0126151a24..b63448bfc88 100644 --- a/tests/wpt/web-platform-tests/gyroscope/Gyroscope_onerror-manual.https.html +++ b/tests/wpt/web-platform-tests/gyroscope/Gyroscope_onerror-manual.https.html @@ -15,6 +15,6 @@ diff --git a/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/README.md b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/README.md new file mode 100644 index 00000000000..52548db6564 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/README.md @@ -0,0 +1 @@ +See `/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html` for more detailed parsing tests (shared with ``). diff --git a/tests/wpt/web-platform-tests/http/refresh/navigate.window.js b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/navigate.window.js similarity index 100% rename from tests/wpt/web-platform-tests/http/refresh/navigate.window.js rename to tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/navigate.window.js diff --git a/tests/wpt/web-platform-tests/http/refresh/resources/multiple.asis b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/multiple.asis similarity index 100% rename from tests/wpt/web-platform-tests/http/refresh/resources/multiple.asis rename to tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/multiple.asis diff --git a/tests/wpt/web-platform-tests/http/refresh/resources/refresh.py b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh.py similarity index 100% rename from tests/wpt/web-platform-tests/http/refresh/resources/refresh.py rename to tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh.py diff --git a/tests/wpt/web-platform-tests/http/refresh/resources/refreshed.txt b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refreshed.txt similarity index 100% rename from tests/wpt/web-platform-tests/http/refresh/resources/refreshed.txt rename to tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refreshed.txt diff --git a/tests/wpt/web-platform-tests/http/refresh/subresource.any.js b/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.js similarity index 100% rename from tests/wpt/web-platform-tests/http/refresh/subresource.any.js rename to tests/wpt/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.js diff --git a/tests/wpt/web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_url.html b/tests/wpt/web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_url.html new file mode 100644 index 00000000000..cfbca35bfdf --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_url.html @@ -0,0 +1,24 @@ + + + + +History pushState sets the url + + + + +
+ + + diff --git a/tests/wpt/web-platform-tests/html/browsers/origin/origin-of-data-document.html b/tests/wpt/web-platform-tests/html/browsers/origin/origin-of-data-document.html index 345a3a6b73b..d6b6d533a22 100644 --- a/tests/wpt/web-platform-tests/html/browsers/origin/origin-of-data-document.html +++ b/tests/wpt/web-platform-tests/html/browsers/origin/origin-of-data-document.html @@ -20,16 +20,7 @@ assert_throws("SecurityError", function () { var couldAccessCrossOriginProperty = e.source.location.href; }, "The 'data:' frame should be cross-origin: 'window.location.href'"); - - // Try to access contentDocument of the 'data: ' frame. Some browsers - // (i.e. Firefox, Safari) will return |null| and some (i.e. Chrome) - // will throw an exception. - var dataFrameContentDocument = null; - try { - dataFrameContentDocument = i.contentDocument; - } catch (ex) { - } - assert_equals(dataFrameContentDocument, null, "The 'data:' iframe should be unable to access its contentDocument."); + assert_equals(i.contentDocument, null, "The 'data:' iframe should be unable to access its contentDocument."); })); document.body.appendChild(i); diff --git a/tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html b/tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html index bf5b0bc84fd..6ffea4fe32a 100644 --- a/tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html +++ b/tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html @@ -15,7 +15,7 @@ var SUFFIX_HOST = ORIGINAL_HOST.substring(ORIGINAL_HOST.lastIndexOf('.') + 1); // e.g. "test" var PREFIX_HOST = "www1." + ORIGINAL_HOST; // e.g. "www1.web-platform.test" var iframe = document.getElementById("iframe"); - var iframe_url = new URL("document_domain_setter_iframe.html", document.location); + var iframe_url = new URL("support/document_domain_setter_iframe.html", document.location); iframe_url.hostname = PREFIX_HOST; iframe.src = iframe_url; test(function() { @@ -25,11 +25,11 @@ assert_throws("SecurityError", function() { document.domain = "example.com"; }); }, "failed setting of document.domain"); async_test(function(t) { - iframe.addEventListener("load", t.step_func(function() { + iframe.addEventListener("load", t.step_func_done(function() { // Before setting document.domain, the iframe is not // same-origin-domain, so security checks fail. assert_equals(iframe.contentDocument, null); - assert_equals(iframe.contentWindow.frameElement, null); + assert_throws("SecurityError", () => iframe.contentWindow.frameElement); assert_throws("SecurityError", function() { iframe.contentWindow.location.origin; }); assert_throws("SecurityError", function() { iframe.contentWindow.location.href; }); assert_throws("SecurityError", function() { iframe.contentWindow.location.protocol; }); @@ -45,8 +45,8 @@ // After setting document.domain, the iframe is // same-origin-domain, so security checks pass. assert_equals(iframe.contentDocument.domain, document.domain); - assert_equals(iframe.contentWindow.frameElement, iframe) - assert_equals(iframe.contentWindow.origin, window.origin); + assert_equals(iframe.contentWindow.frameElement, iframe); + assert_equals(iframe.contentWindow.origin, iframe_url.origin); assert_equals(iframe.contentWindow.location.href, iframe_url.href); assert_equals(iframe.contentWindow.location.protocol, iframe_url.protocol); assert_equals(iframe.contentWindow.location.host, iframe_url.host); @@ -60,7 +60,6 @@ // document.open checks for same-origin, not same-origin-domain, // https://github.com/whatwg/html/issues/2282 assert_throws("SecurityError", function() { iframe.contentDocument.open(); }); - t.done(); })); }, "same-origin-domain iframe"); diff --git a/tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter_iframe.html b/tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/support/document_domain_setter_iframe.html similarity index 100% rename from tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter_iframe.html rename to tests/wpt/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/support/document_domain_setter_iframe.html diff --git a/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/contentType.window.js b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/contentType.window.js new file mode 100644 index 00000000000..dbabb1b19b4 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/contentType.window.js @@ -0,0 +1,28 @@ +// META: script=/common/media.js + +const videoURL = getVideoURI("/images/pattern"), + videoMIMEType = getMediaContentType(videoURL); + +[ + [videoURL, videoMIMEType, "video"], + ["/images/red.png", "image/png", "image"], + ["/common/text-plain.txt", "text/plain", "text"], + ["/common/blank.html", "text/html", "HTML"] +].forEach(val => { + async_test(t => { + const frame = document.body.appendChild(document.createElement("iframe")); + t.add_cleanup(() => frame.remove()); + frame.src = val[0]; + frame.onload = t.step_func_done(() => { + assert_equals(frame.contentDocument.contentType, val[1]); + frame.contentDocument.write("Heya"); + assert_equals(frame.contentDocument.body.firstChild.localName, "b"); + assert_equals(frame.contentDocument.body.firstChild.textContent, "Heya"); + assert_equals(frame.contentDocument.contentType, val[1]); + + // Make sure a load event is fired across browsers + // https://github.com/w3c/web-platform-tests/pull/10239 + frame.contentDocument.close(); + }); + }, "document.write(): " + val[2] + " document"); +}); diff --git a/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/encoding.window.js b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/encoding.window.js new file mode 100644 index 00000000000..a610ce9e1d1 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/encoding.window.js @@ -0,0 +1,12 @@ +async_test(t => { + const frame = document.body.appendChild(document.createElement("iframe")); + frame.src = "resources/encoding-frame.html"; + frame.onload = t.step_func_done(t => { + // Using toLowerCase() to avoid an Edge bug + assert_equals(frame.contentDocument.characterSet.toLowerCase(), "shift_jis", "precondition"); + frame.contentDocument.open(); + assert_equals(frame.contentDocument.characterSet.toLowerCase(), "shift_jis", "actual test"); + frame.contentDocument.close(); + assert_equals(frame.contentDocument.characterSet.toLowerCase(), "shift_jis", "might as well"); + }); +}, "doucment.open() and the document's encoding"); diff --git a/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/event-listeners.window.js b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/event-listeners.window.js new file mode 100644 index 00000000000..97334ce1bab --- /dev/null +++ b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/event-listeners.window.js @@ -0,0 +1,42 @@ +test(t => { + const frame = document.body.appendChild(document.createElement("iframe")), + body = frame.contentDocument.body; + t.add_cleanup(() => frame.remove()); + frame.contentDocument.addEventListener("x", t.unreached_func("document event listener not removed")); + body.addEventListener("x", t.unreached_func("body event listener not removed")); + frame.contentDocument.open(); + frame.contentDocument.dispatchEvent(new Event("x")); + body.dispatchEvent(new Event("x")); + frame.contentDocument.close(); +}, "Event listeners are to be removed"); + +test(t => { + const frame = document.body.appendChild(document.createElement("iframe")); + t.add_cleanup(() => frame.remove()); + let once = false; + frame.contentDocument.addEventListener("x", () => { + frame.contentDocument.open(); + once = true; + }); + frame.contentDocument.addEventListener("x", t.unreached_func("second event listener not removed")); + frame.contentDocument.dispatchEvent(new Event("x")); + assert_true(once); + frame.contentDocument.close(); +}, "Event listeners are to be removed with immediate effect"); + +test(t => { + const frame = document.body.appendChild(document.createElement("iframe")), + shadow = frame.contentDocument.body.attachShadow({ mode: "closed" }), + shadowChild = shadow.appendChild(document.createElement("div")), + shadowShadow = shadowChild.attachShadow({ mode: "open" }), + nodes = [shadow, shadowChild, shadowShadow]; + t.add_cleanup(() => frame.remove()); + nodes.forEach(node => { + node.addEventListener("x", t.unreached_func(node + "'s event listener not removed")); + }); + frame.contentDocument.open(); + nodes.forEach(node => { + node.dispatchEvent(new Event("x")); + }); + frame.contentDocument.close(); +}, "Event listeners are to be removed from shadow trees as well"); diff --git a/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/resources/encoding-frame.html b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/resources/encoding-frame.html new file mode 100644 index 00000000000..843c3a2c798 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/resources/encoding-frame.html @@ -0,0 +1,3 @@ + + +

Encoded in Shift_JIS.

diff --git a/tests/wpt/web-platform-tests/html/editing/dnd/datastore/015-manual.html b/tests/wpt/web-platform-tests/html/editing/dnd/datastore/015-manual.html index 6bb3cad3aee..604c1d43709 100644 --- a/tests/wpt/web-platform-tests/html/editing/dnd/datastore/015-manual.html +++ b/tests/wpt/web-platform-tests/html/editing/dnd/datastore/015-manual.html @@ -9,6 +9,7 @@ blockquote + blockquote + blockquote { background: fuchsia; } blockquote + div { clear: left; } + + diff --git a/tests/wpt/web-platform-tests/html/editing/dnd/events/events-file-suite-manual.html b/tests/wpt/web-platform-tests/html/editing/dnd/events/events-file-suite-manual.html index 380247b8a1b..22a66f5e9a6 100644 --- a/tests/wpt/web-platform-tests/html/editing/dnd/events/events-file-suite-manual.html +++ b/tests/wpt/web-platform-tests/html/editing/dnd/events/events-file-suite-manual.html @@ -1,6 +1,7 @@ drag & drop - event sequence for file drops + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js index 769b41bcc27..0d14fe70f07 100644 --- a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js +++ b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js @@ -1,3 +1,6 @@ +// NOTE: this file needs to be split up rather than expanded. See ../location.sub.html for some +// extracted tests. Tracked by https://github.com/w3c/web-platform-tests/issues/4934. + setup({explicit_done:true}); onload = function() { var encoding = '{{GET[encoding]}}'; @@ -35,7 +38,7 @@ onload = function() { // page and the test timing out test_obj.force_timeout(); } - step_timeout(poll, 200); + test_obj.step_timeout(poll, 200); } else { assert_equals(xhr.response, expected); test_obj.done(); @@ -43,7 +46,7 @@ onload = function() { }); xhr.send(); }) - step_timeout(poll, 200); + test_obj.step_timeout(poll, 200); } // background attribute, check with getComputedStyle @@ -505,55 +508,6 @@ onload = function() { }, 'window.open()', {help:'https://html.spec.whatwg.org/multipage/#dom-open'}); - // location - function test_location(func, desc) { - async_test(function() { - var iframe = document.createElement('iframe'); - document.body.appendChild(iframe); - this.add_cleanup(function() { - document.body.removeChild(iframe); - }); - func(iframe.contentWindow, input_url_html); - iframe.onload = this.step_func(function() { - var got = iframe.contentDocument.body.textContent; - if (got != '') { - assert_equals(got, expected_current); - this.done(); - } - }); - }, desc, - {help:'https://html.spec.whatwg.org/multipage/#the-location-interface'}); - } - [[function(win, input) { win.location = input; }, "location [PutForwards]"], - [function(win, input) { win.location.assign(input); }, "location.assign()"], - [function(win, input) { win.location.replace(input); }, "location.replace()"], - [function(win, input) { win.location.href = input; }, "location.href"]].forEach(function(arr) { - test_location(arr[0], arr[1]); - }); - - // location.search - async_test(function() { - var iframe = document.createElement('iframe'); - iframe.src = input_url_html; - document.body.appendChild(iframe); - this.add_cleanup(function() { - document.body.removeChild(iframe); - }); - var i = 0; - iframe.onload = this.step_func(function() { - i++; - if (i == 1) { - iframe.contentWindow.location.search = '?' + input_url_html.split('?')[1] + '&other=foobar'; - } else { - var got = iframe.contentDocument.body.textContent; - assert_equals(got, expected_current); - this.done(); - } - }); - }, 'location.search', - {help:['https://html.spec.whatwg.org/multipage/#the-location-interface', - 'http://url.spec.whatwg.org/#dom-url-search']}); - // a.search, area.search function test_hyperlink_search(tag) { test(function() { diff --git a/tests/wpt/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode-ref.html b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode-ref.html new file mode 100644 index 00000000000..9a2d1d06413 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode-ref.html @@ -0,0 +1,4 @@ + +
+
diff --git a/tests/wpt/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode.html b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode.html new file mode 100644 index 00000000000..d124396ab2c --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode.html @@ -0,0 +1,8 @@ + + +Video controls rendering in vertical-lr + + +
+
diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rel-attribute.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rel-attribute.html index 4492f88bbb5..14d06227ac8 100644 --- a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rel-attribute.html +++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rel-attribute.html @@ -16,11 +16,6 @@
diff --git a/tests/wpt/web-platform-tests/html/user-activation/activation-thru-contextmenu-event-manual.html b/tests/wpt/web-platform-tests/html/user-activation/activation-thru-contextmenu-event-manual.html new file mode 100644 index 00000000000..96d17e27c89 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/user-activation/activation-thru-contextmenu-event-manual.html @@ -0,0 +1,58 @@ + + + + User activation with 'contextmenu' event + + + + + + + + + +

User activation with 'contextmenu' event

+

Tests that a 'contextmenu' event is treated like a user activation.

+
    +
  1. Right-click or long-press on green.
  2. +
  3. Click or tap on Done.
  4. +
+
+ + + diff --git a/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests-harness.js b/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests-harness.js new file mode 100644 index 00000000000..624f98344c8 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests-harness.js @@ -0,0 +1,39 @@ +/** + * Runs a collection of tests that determine if an API implements structured clone + * correctly. + * + * The `runner` parameter has the following properties: + * - `setup()`: An optional function run once before testing starts + * - `teardown()`: An option function run once after all tests are done + * - `preTest()`: An optional, async function run before a test + * - `postTest()`: An optional, async function run after a test is done + * - `structuredClone(obj, transferList)`: Required function that somehow + * structurally clones an object. + * - `noTransferTests`: When true, disables tests with transferables + */ + +function runStructuredCloneBatteryOfTests(runner) { + const defaultRunner = { + setup() {}, + preTest() {}, + postTest() {}, + teardown() {} + }; + runner = Object.assign({}, defaultRunner, runner); + + let setupPromise = runner.setup(); + const allTests = structuredCloneBatteryOfTests.map(test => { + + return new Promise(resolve => { + promise_test(async _ => { + test = await test; + await setupPromise; + await runner.preTest(test); + await test.f(runner) + await runner.postTest(test); + resolve(); + }, test.description); + }).catch(_ => {}); + }); + Promise.all(allTests).then(_ => runner.teardown()); +} diff --git a/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests-with-transferables.js b/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests-with-transferables.js new file mode 100644 index 00000000000..744f1168196 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests-with-transferables.js @@ -0,0 +1,22 @@ +structuredCloneBatteryOfTests.push({ + description: 'ArrayBuffer', + async f(runner) { + const buffer = new Uint8Array([1]).buffer; + const copy = await runner.structuredClone(buffer, [buffer]); + assert_equals(buffer.byteLength, 0); + assert_equals(copy.byteLength, 1); + } +}); + +structuredCloneBatteryOfTests.push({ + description: 'MessagePort', + async f(runner) { + const {port1, port2} = new MessageChannel(); + const copy = await runner.structuredClone(port2, [port2]); + const msg = new Promise(resolve => port1.onmessage = resolve); + copy.postMessage('ohai'); + assert_equals((await msg).data, 'ohai'); + } +}); + +// TODO: ImageBitmap diff --git a/tests/wpt/web-platform-tests/workers/semantics/structured-clone/common.js b/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests.js similarity index 73% rename from tests/wpt/web-platform-tests/workers/semantics/structured-clone/common.js rename to tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests.js index 56c2a300401..40bcd8031b2 100644 --- a/tests/wpt/web-platform-tests/workers/semantics/structured-clone/common.js +++ b/tests/wpt/web-platform-tests/html/webappapis/structured-clone/structured-clone-battery-of-tests.js @@ -1,22 +1,23 @@ -function createWorker(msg) { - // `type` is defined in the test case itself - if (type == 'dedicated') - return new Worker('dedicated.js#'+encodeURIComponent(msg)); - else if (type == 'shared') - return (new SharedWorker('shared.js#'+encodeURIComponent(msg))).port; - else - assert_unreached('invalid or missing `type`'); -} +/* This file is mostly a remix of @zcorpan’s web worker test suite */ -function check(msg, input, callback, test_obj) { - if (!test_obj) - test_obj = async_test(msg); - test_obj.step(function() { - var w = createWorker(msg); - if (typeof input === 'function') - input = this.step(input); - w.postMessage(input); - w.onmessage = this.step_func(function(ev) { callback(ev.data, input, this); }); +structuredCloneBatteryOfTests = []; + +function check(description, input, callback) { + testObjMock = { + done() {}, + step_func(f) {return _ => f()}, + }; + + structuredCloneBatteryOfTests.push({ + description, + async f(runner) { + let newInput = input; + if (typeof input === 'function') { + newInput = input(); + } + const copy = await runner.structuredClone(newInput); + await callback(copy, newInput, testObjMock); + } }); } @@ -261,7 +262,7 @@ check('Object RegExp object, RegExp empty', {'x':new RegExp('')}, compare_Object check('Object RegExp object, RegExp slash', {'x':new RegExp('/')}, compare_Object(enumerate_props(compare_RegExp('\\/')))); check('Object RegExp object, RegExp new line', {'x':new RegExp('\n')}, compare_Object(enumerate_props(compare_RegExp('\\n')))); -function compare_Blob(actual, input, test_obj, expect_File) { +async function compare_Blob(actual, input, test_obj, expect_File) { if (typeof actual === 'string') assert_unreached(actual); assert_true(actual instanceof Blob, 'instanceof Blob'); @@ -270,31 +271,14 @@ function compare_Blob(actual, input, test_obj, expect_File) { assert_equals(actual.size, input.size, 'size'); assert_equals(actual.type, input.type, 'type'); assert_not_equals(actual, input); - var ev_reader = new FileReader(); - var input_reader = new FileReader(); - var read_count = 0; - var read_done = test_obj.step_func(function() { - read_count++; - if (read_count == 2) { - var ev_result = ev_reader.result; - var input_result = input_reader.result; - assert_equals(ev_result.byteLength, input_result.byteLength, 'byteLength'); - var ev_view = new DataView(ev_result); - var input_view = new DataView(input_result); - for (var i = 0; i < ev_result.byteLength; ++i) { - assert_equals(ev_view.getUint8(i), input_view.getUint8(i), 'getUint8('+i+')'); - } - if (test_obj) - test_obj.done(); - } - }); - var read_error = test_obj.step_func(function() { assert_unreached('FileReader error'); }); - ev_reader.readAsArrayBuffer(actual); - ev_reader.onload = read_done; - ev_reader.onabort = ev_reader.onerror = read_error; - input_reader.readAsArrayBuffer(input); - input_reader.onload = read_done; - input_reader.onabort = input_reader.onerror = read_error; + const ab1 = new Response(actual).arrayBuffer(); + const ab2 = new Response(input).arrayBuffer(); + assert_equals(ab1.btyeLength, ab2.byteLength, 'byteLength'); + const ta1 = new Uint8Array(ab1); + const ta2 = new Uint8Array(ab2); + for(let i = 0; i < ta1.size; i++) { + assert_equals(ta1[i], ta2[i]); + } } function func_Blob_basic() { return new Blob(['foo'], {type:'text/x-bar'}); @@ -338,43 +322,19 @@ function func_Blob_NUL() { } check('Blob NUL', func_Blob_NUL, compare_Blob); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_Blob_basic)], compare_Array(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Array Blob object, Blob basic'); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_Blob_bytes([0xD800]))], compare_Array(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Array Blob object, Blob unpaired high surrogate (invalid utf-8)'); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_Blob_bytes([0xDC00]))], compare_Array(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Array Blob object, Blob unpaired low surrogate (invalid utf-8)'); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_Blob_bytes([0xD800, 0xDC00]))], compare_Array(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Array Blob object, Blob paired surrogates (invalid utf-8)'); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_Blob_empty)], compare_Array(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Array Blob object, Blob empty'); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_Blob_NUL)], compare_Array(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Array Blob object, Blob NUL'); +check('Array Blob object, Blob basic', [func_Blob_basic()], compare_Array(enumerate_props(compare_Blob), true)); +check('Array Blob object, Blob unpaired high surrogate (invalid utf-8)', [func_Blob_bytes([0xD800])()], compare_Array(enumerate_props(compare_Blob), true)); +check('Array Blob object, Blob unpaired low surrogate (invalid utf-8)', [func_Blob_bytes([0xDC00])()], compare_Array(enumerate_props(compare_Blob), true)); +check('Array Blob object, Blob paired surrogates (invalid utf-8)', [func_Blob_bytes([0xD800, 0xDC00])()], compare_Array(enumerate_props(compare_Blob), true)); +check('Array Blob object, Blob empty', [func_Blob_empty()], compare_Array(enumerate_props(compare_Blob), true)); +check('Array Blob object, Blob NUL', [func_Blob_NUL()], compare_Array(enumerate_props(compare_Blob), true)); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_Blob_basic)}, compare_Object(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Object Blob object, Blob basic'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_Blob_bytes([0xD800]))}, compare_Object(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Object Blob object, Blob unpaired high surrogate (invalid utf-8)'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_Blob_bytes([0xDC00]))}, compare_Object(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Object Blob object, Blob unpaired low surrogate (invalid utf-8)'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_Blob_bytes([0xD800, 0xDC00]))}, compare_Object(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Object Blob object, Blob paired surrogates (invalid utf-8)'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_Blob_empty)}, compare_Object(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Object Blob object, Blob empty'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_Blob_NUL)}, compare_Object(enumerate_props(compare_Blob, test_obj), true), test_obj); -}, 'Object Blob object, Blob NUL'); +check('Object Blob object, Blob basic', {'x':func_Blob_basic()}, compare_Object(enumerate_props(compare_Blob), true)); +check('Object Blob object, Blob unpaired high surrogate (invalid utf-8)', {'x':func_Blob_bytes([0xD800])()}, compare_Object(enumerate_props(compare_Blob), true)); +check('Object Blob object, Blob unpaired low surrogate (invalid utf-8)', {'x':func_Blob_bytes([0xDC00])()}, compare_Object(enumerate_props(compare_Blob), true)); +check('Object Blob object, Blob paired surrogates (invalid utf-8)', {'x':func_Blob_bytes([0xD800, 0xDC00])() }, compare_Object(enumerate_props(compare_Blob), true)); +check('Object Blob object, Blob empty', {'x':func_Blob_empty()}, compare_Object(enumerate_props(compare_Blob), true)); +check('Object Blob object, Blob NUL', {'x':func_Blob_NUL()}, compare_Object(enumerate_props(compare_Blob), true)); function compare_File(actual, input, test_obj) { assert_true(actual instanceof File, 'instanceof File'); @@ -404,8 +364,8 @@ function func_FileList_empty() { return input.files; } check('FileList empty', func_FileList_empty, compare_FileList); -check('Array FileList object, FileList empty', [func_FileList_empty], compare_Array(enumerate_props(compare_FileList))); -check('Object FileList object, FileList empty', {'x':func_FileList_empty}, compare_Object(enumerate_props(compare_FileList))); +check('Array FileList object, FileList empty', [func_FileList_empty()], compare_Array(enumerate_props(compare_FileList))); +check('Object FileList object, FileList empty', {'x':func_FileList_empty()}, compare_Object(enumerate_props(compare_FileList))); function compare_ArrayBufferView(view) { var Type = window[view]; @@ -449,72 +409,11 @@ function func_ImageData_1x1_non_transparent_non_black() { return imagedata; } check('ImageData 1x1 non-transparent non-black', func_ImageData_1x1_non_transparent_non_black, compare_ImageData); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_ImageData_1x1_transparent_black)], compare_Array(enumerate_props(compare_ImageData)), test_obj); -}, 'Array ImageData object, ImageData 1x1 transparent black'); -async_test(function(test_obj) { - check(test_obj.name, [test_obj.step(func_ImageData_1x1_non_transparent_non_black)], compare_Array(enumerate_props(compare_ImageData)), test_obj); -}, 'Array ImageData object, ImageData 1x1 non-transparent non-black'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_ImageData_1x1_transparent_black)}, compare_Object(enumerate_props(compare_ImageData)), test_obj); -}, 'Object ImageData object, ImageData 1x1 transparent black'); -async_test(function(test_obj) { - check(test_obj.name, {'x':test_obj.step(func_ImageData_1x1_non_transparent_non_black)}, compare_Object(enumerate_props(compare_ImageData)), test_obj); -}, 'Object ImageData object, ImageData 1x1 non-transparent non-black'); +check('Array ImageData object, ImageData 1x1 transparent black', [func_ImageData_1x1_transparent_black()], compare_Array(enumerate_props(compare_ImageData))); +check('Array ImageData object, ImageData 1x1 non-transparent non-black', [func_ImageData_1x1_non_transparent_non_black()], compare_Array(enumerate_props(compare_ImageData))); +check('Object ImageData object, ImageData 1x1 transparent black', {'x':func_ImageData_1x1_transparent_black()}, compare_Object(enumerate_props(compare_ImageData))); +check('Object ImageData object, ImageData 1x1 non-transparent non-black', {'x':func_ImageData_1x1_non_transparent_non_black()}, compare_Object(enumerate_props(compare_ImageData))); -function compare_ImageBitmap(actual, input, test_obj) { - if (typeof actual === 'string') - assert_unreached(actual); - assert_equals(actual instanceof ImageBitmap, 'instanceof ImageBitmap'); - assert_not_equals(actual, input); - // XXX paint the ImageBitmap on a canvas and check the data - if (test_obj) - test_obj.done(); -} -function get_canvas_1x1_transparent_black() { - var canvas = document.createElement('canvas'); - canvas.width = 1; - canvas.height = 1; - return canvas; -} -async_test(function(test_obj) { - var canvas = get_canvas_1x1_transparent_black(); - createImageBitmap(canvas, function(image) { check(test_obj.name, image, compare_ImageBitmap, test_obj); }); -}, 'ImageBitmap 1x1 transparent black'); -function get_canvas_1x1_non_transparent_non_black() { - var canvas = document.createElement('canvas'); - canvas.width = 1; - canvas.height = 1; - var ctx = canvas.getContext('2d'); - var imagedata = ctx.getImageData(0, 0, 1, 1); - imagedata.data[0] = 100; - imagedata.data[1] = 101; - imagedata.data[2] = 102; - imagedata.data[3] = 103; - return canvas; -} -async_test(function(test_obj) { - var canvas = get_canvas_1x1_non_transparent_non_black(); - createImageBitmap(canvas, function(image) { check(test_obj.name, image, compare_ImageBitmap, test_obj); }); -}, 'ImageBitmap 1x1 non-transparent non-black'); - -async_test(function(test_obj) { - var canvas = get_canvas_1x1_transparent_black(); - createImageBitmap(canvas, function(image) { check(test_obj.name, [image], compare_Array(enumerate_props(compare_ImageBitmap)), test_obj); }); -}, 'Array ImageBitmap object, ImageBitmap 1x1 transparent black'); -async_test(function(test_obj) { - var canvas = get_canvas_1x1_non_transparent_non_black(); - createImageBitmap(canvas, function(image) { check(test_obj.name, [image], compare_Array(enumerate_props(compare_ImageBitmap)), test_obj); }); -}, 'Array ImageBitmap object, ImageBitmap 1x1 non-transparent non-black'); - -async_test(function(test_obj) { - var canvas = get_canvas_1x1_transparent_black(); - createImageBitmap(canvas, function(image) { check(test_obj.name, {'x':image}, compare_Object(enumerate_props(compare_ImageBitmap)), test_obj); }); -}, 'Object ImageBitmap object, ImageBitmap 1x1 transparent black'); -async_test(function(test_obj) { - var canvas = get_canvas_1x1_non_transparent_non_black(); - createImageBitmap(canvas, function(image) { check(test_obj.name, {'x':image}, compare_Object(enumerate_props(compare_ImageBitmap)), test_obj); }); -}, 'Object ImageBitmap object, ImageBitmap 1x1 non-transparent non-black'); check('Array sparse', new Array(10), compare_Array(enumerate_props(compare_primitive))); check('Array with non-index property', function() { @@ -594,3 +493,94 @@ check('Object with non-configurable property', function() { Object.defineProperty(rv, 'foo', {value:'bar', enumerable:true, writable:true, configurable:false}); return rv; }, compare_Object(check_configurable_property('foo'))); + +/* The tests below are inspired by @zcorpan’s work but got some +more substantial changed due to their previous async setup */ + +function get_canvas_1x1_transparent_black() { + var canvas = document.createElement('canvas'); + canvas.width = 1; + canvas.height = 1; + return canvas; +} + +function get_canvas_1x1_non_transparent_non_black() { + var canvas = document.createElement('canvas'); + canvas.width = 1; + canvas.height = 1; + var ctx = canvas.getContext('2d'); + var imagedata = ctx.getImageData(0, 0, 1, 1); + imagedata.data[0] = 100; + imagedata.data[1] = 101; + imagedata.data[2] = 102; + imagedata.data[3] = 103; + return canvas; +} + +function compare_ImageBitmap(actual, input) { + if (typeof actual === 'string') + assert_unreached(actual); + assert_true(actual instanceof ImageBitmap, 'instanceof ImageBitmap'); + assert_not_equals(actual, input); + // XXX paint the ImageBitmap on a canvas and check the data +} + +structuredCloneBatteryOfTests.push({ + description: 'ImageBitmap 1x1 transparent black', + async f(runner) { + var canvas = get_canvas_1x1_transparent_black(); + const bm = await createImageBitmap(canvas); + const copy = await runner.structuredClone(bm); + compare_ImageBitmap(bm, copy); + } +}); + +structuredCloneBatteryOfTests.push({ + description: 'ImageBitmap 1x1 non-transparent non-black', + async f(runner) { + var canvas = get_canvas_1x1_non_transparent_non_black(); + const bm = await createImageBitmap(canvas); + const copy = await runner.structuredClone(bm); + compare_ImageBitmap(bm, copy); + } +}); + +structuredCloneBatteryOfTests.push({ + description: 'Array ImageBitmap object, ImageBitmap 1x1 transparent black', + async f(runner) { + var canvas = get_canvas_1x1_transparent_black(); + const bm = [await createImageBitmap(canvas)]; + const copy = await runner.structuredClone(bm); + compare_Array(enumerate_props(compare_ImageBitmap))(bm, copy); + } +}); + +structuredCloneBatteryOfTests.push({ + description: 'Array ImageBitmap object, ImageBitmap 1x1 transparent non-black', + async f(runner) { + var canvas = get_canvas_1x1_non_transparent_non_black(); + const bm = [await createImageBitmap(canvas)]; + const copy = await runner.structuredClone(bm); + compare_Array(enumerate_props(compare_ImageBitmap))(bm, copy); + } +}); + +structuredCloneBatteryOfTests.push({ + description: 'Object ImageBitmap object, ImageBitmap 1x1 transparent black', + async f(runner) { + var canvas = get_canvas_1x1_transparent_black(); + const bm = {x: await createImageBitmap(canvas)}; + const copy = await runner.structuredClone(bm); + compare_Object(enumerate_props(compare_ImageBitmap))(bm, copy); + } +}); + +structuredCloneBatteryOfTests.push({ + description: 'Object ImageBitmap object, ImageBitmap 1x1 transparent non-black', + async f(runner) { + var canvas = get_canvas_1x1_non_transparent_non_black(); + const bm = {x: await createImageBitmap(canvas)}; + const copy = await runner.structuredClone(bm); + compare_Object(enumerate_props(compare_ImageBitmap))(bm, copy); + } +}); diff --git a/tests/wpt/web-platform-tests/html/webappapis/timers/missing-timeout-setinterval.any.js b/tests/wpt/web-platform-tests/html/webappapis/timers/missing-timeout-setinterval.any.js new file mode 100644 index 00000000000..33a1cc073c8 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/timers/missing-timeout-setinterval.any.js @@ -0,0 +1,34 @@ +function timeout_trampoline(t, timeout, message) { + t.step_timeout(function() { + // Yield in case we managed to be called before the second interval callback. + t.step_timeout(function() { + assert_unreached(message); + }, timeout); + }, timeout); +} + +async_test(function(t) { + let ctr = 0; + let h = setInterval(t.step_func(function() { + if (++ctr == 2) { + clearInterval(h); + t.done(); + return; + } + }) /* no interval */); + + timeout_trampoline(t, 100, "Expected setInterval callback to be called two times"); +}, "Calling setInterval with no interval should be the same as if called with 0 interval"); + +async_test(function(t) { + let ctr = 0; + let h = setInterval(t.step_func(function() { + if (++ctr == 2) { + clearInterval(h); + t.done(); + return; + } + }), undefined); + + timeout_trampoline(t, 100, "Expected setInterval callback to be called two times"); +}, "Calling setInterval with undefined interval should be the same as if called with 0 interval"); diff --git a/tests/wpt/web-platform-tests/http/OWNERS b/tests/wpt/web-platform-tests/http/OWNERS deleted file mode 100644 index cb2fb6623ee..00000000000 --- a/tests/wpt/web-platform-tests/http/OWNERS +++ /dev/null @@ -1,2 +0,0 @@ -@annevk -@mnot diff --git a/tests/wpt/web-platform-tests/http/refresh/README.md b/tests/wpt/web-platform-tests/http/refresh/README.md deleted file mode 100644 index bad9833250a..00000000000 --- a/tests/wpt/web-platform-tests/http/refresh/README.md +++ /dev/null @@ -1 +0,0 @@ -See `../../html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html` for more detailed parsing tests (shared with ``). diff --git a/tests/wpt/web-platform-tests/imagebitmap-renderingcontext/OWNERS b/tests/wpt/web-platform-tests/imagebitmap-renderingcontext/OWNERS new file mode 100644 index 00000000000..3bb6edf248a --- /dev/null +++ b/tests/wpt/web-platform-tests/imagebitmap-renderingcontext/OWNERS @@ -0,0 +1,5 @@ +@AmeliaBR +@annevk +@kenrussell +@jdashg +@fserb diff --git a/tests/wpt/web-platform-tests/infrastructure/browsers/firefox/prefs.html b/tests/wpt/web-platform-tests/infrastructure/browsers/firefox/prefs.html index 64a985a4d1b..51f9f994ac5 100644 --- a/tests/wpt/web-platform-tests/infrastructure/browsers/firefox/prefs.html +++ b/tests/wpt/web-platform-tests/infrastructure/browsers/firefox/prefs.html @@ -3,5 +3,6 @@

This should be green

diff --git a/tests/wpt/web-platform-tests/infrastructure/expected-fail/timeout.html b/tests/wpt/web-platform-tests/infrastructure/expected-fail/timeout.html new file mode 100644 index 00000000000..29ff348a9af --- /dev/null +++ b/tests/wpt/web-platform-tests/infrastructure/expected-fail/timeout.html @@ -0,0 +1,8 @@ + + +Test that should time out + + + diff --git a/tests/wpt/web-platform-tests/infrastructure/metadata/infrastructure/expected-fail/timeout.html.ini b/tests/wpt/web-platform-tests/infrastructure/metadata/infrastructure/expected-fail/timeout.html.ini new file mode 100644 index 00000000000..53b281f8358 --- /dev/null +++ b/tests/wpt/web-platform-tests/infrastructure/metadata/infrastructure/expected-fail/timeout.html.ini @@ -0,0 +1,4 @@ +[timeout.html] + expected: TIMEOUT + [Test that should time out] + expected: NOTRUN diff --git a/tests/wpt/web-platform-tests/infrastructure/server/wpt-server-http.sub.html b/tests/wpt/web-platform-tests/infrastructure/server/wpt-server-http.sub.html index 438a6e65139..8099b9d9c68 100644 --- a/tests/wpt/web-platform-tests/infrastructure/server/wpt-server-http.sub.html +++ b/tests/wpt/web-platform-tests/infrastructure/server/wpt-server-http.sub.html @@ -120,6 +120,22 @@ async_test(function(t) { })); }, 'HTTP protocol, punycode subdomain #2, port #2'); +async_test(function(t) { + check('http', 'nonexistent.{{domains[]}}', {{ports[http][0]}}, t.step_func(function(result) { + assert_false(result); + + t.done(); + })); +}, 'HTTP protocol, non-existent domain, port #1'); + +async_test(function(t) { + check('http', 'nonexistent.{{domains[]}}', {{ports[http][1]}}, t.step_func(function(result) { + assert_false(result); + + t.done(); + })); +}, 'HTTP protocol, non-existent domain, port #2'); + async_test(function(t) { check('https', '{{browser_host}}', {{ports[https][0]}}, t.step_func(function(result) { assert_true(result); @@ -167,6 +183,22 @@ async_test(function(t) { t.done(); })); }, 'HTTPS protocol, punycode subdomain #2'); + +async_test(function(t) { + check('https', 'nonexistent.{{domains[]}}', {{ports[http][0]}}, t.step_func(function(result) { + assert_false(result); + + t.done(); + })); +}, 'HTTPS protocol, non-existent domain, port #1'); + +async_test(function(t) { + check('https', 'nonexistent.{{domains[]}}', {{ports[http][1]}}, t.step_func(function(result) { + assert_false(result); + + t.done(); + })); +}, 'HTTPS protocol, non-existent domain, port #2'); diff --git a/tests/wpt/web-platform-tests/interfaces/cookie-store.idl b/tests/wpt/web-platform-tests/interfaces/cookie-store.idl index 6d4f35973cb..b38f61e749d 100644 --- a/tests/wpt/web-platform-tests/interfaces/cookie-store.idl +++ b/tests/wpt/web-platform-tests/interfaces/cookie-store.idl @@ -13,13 +13,26 @@ dictionary CookieChangeEventInit : EventInit { }; [ - Exposed=(ServiceWorker,Window), + Exposed=Window, Constructor(DOMString type, optional CookieChangeEventInit eventInitDict) ] interface CookieChangeEvent : Event { readonly attribute CookieList changed; readonly attribute CookieList deleted; }; +dictionary ExtendableCookieChangeEventInit : ExtendableEventInit { + CookieList changed; + CookieList deleted; +}; + +[ + Exposed=ServiceWorker, + Constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict) +] interface ExtendableCookieChangeEvent : ExtendableEvent { + readonly attribute CookieList changed; + readonly attribute CookieList deleted; +}; + enum CookieMatchType { "equals", "startsWith" @@ -59,7 +72,11 @@ dictionary CookieStoreSetOptions { Promise delete(USVString name, optional CookieStoreSetOptions options); Promise delete(CookieStoreSetOptions options); - attribute EventHandler onchange; + [Exposed=ServiceWorker] Promise subscribeToChanges(sequence subscriptions); + + [Exposed=ServiceWorker] Promise> getChangeSubscriptions(); + + [Exposed=Window] attribute EventHandler onchange; }; partial interface Window { diff --git a/tests/wpt/web-platform-tests/interfaces/cssom.idl b/tests/wpt/web-platform-tests/interfaces/cssom.idl index bbbd9272a08..b99bbc7a3c6 100644 --- a/tests/wpt/web-platform-tests/interfaces/cssom.idl +++ b/tests/wpt/web-platform-tests/interfaces/cssom.idl @@ -118,8 +118,6 @@ interface CSSStyleDeclaration { CSSOMString getPropertyValue(CSSOMString property); CSSOMString getPropertyPriority(CSSOMString property); [CEReactions] void setProperty(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString value, [TreatNullAs=EmptyString] optional CSSOMString priority = ""); - [CEReactions] void setPropertyValue(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString value); - [CEReactions] void setPropertyPriority(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString priority); [CEReactions] CSSOMString removeProperty(CSSOMString property); readonly attribute CSSRule? parentRule; [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString cssFloat; diff --git a/tests/wpt/web-platform-tests/interfaces/html.idl b/tests/wpt/web-platform-tests/interfaces/html.idl index 8552ae4ed30..8d9cb2fea53 100644 --- a/tests/wpt/web-platform-tests/interfaces/html.idl +++ b/tests/wpt/web-platform-tests/interfaces/html.idl @@ -116,6 +116,7 @@ dictionary FocusOptions { HTMLElement includes GlobalEventHandlers; HTMLElement includes DocumentAndElementEventHandlers; HTMLElement includes ElementContentEditable; +HTMLElement includes HTMLOrSVGElement; // Note: intentionally not [HTMLConstructor] interface HTMLUnknownElement : HTMLElement { }; @@ -128,8 +129,6 @@ interface mixin HTMLOrSVGElement { void focus(optional FocusOptions options); void blur(); }; -HTMLElement includes HTMLOrSVGElement; -SVGElement includes HTMLOrSVGElement; [Exposed=Window, OverrideBuiltins] diff --git a/tests/wpt/web-platform-tests/interfaces/keyboard-map.idl b/tests/wpt/web-platform-tests/interfaces/keyboard-map.idl new file mode 100644 index 00000000000..e2f2c32736d --- /dev/null +++ b/tests/wpt/web-platform-tests/interfaces/keyboard-map.idl @@ -0,0 +1,11 @@ +partial interface Navigator { + [SecureContext, SameObject] readonly attribute Keyboard keyboard; +}; + +interface KeyboardLayoutMap { + readonly maplike; +}; + +[SecureContext, Exposed=Window] interface Keyboard { + Promise getLayoutMap(); +}; diff --git a/tests/wpt/web-platform-tests/intersection-observer/isIntersecting-change-events.html b/tests/wpt/web-platform-tests/intersection-observer/isIntersecting-change-events.html new file mode 100644 index 00000000000..f9362c3024c --- /dev/null +++ b/tests/wpt/web-platform-tests/intersection-observer/isIntersecting-change-events.html @@ -0,0 +1,112 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/intersection-observer/resources/intersection-observer-test-utils.js b/tests/wpt/web-platform-tests/intersection-observer/resources/intersection-observer-test-utils.js index 48ccbb1991b..5ad811932f0 100644 --- a/tests/wpt/web-platform-tests/intersection-observer/resources/intersection-observer-test-utils.js +++ b/tests/wpt/web-platform-tests/intersection-observer/resources/intersection-observer-test-utils.js @@ -120,3 +120,8 @@ function checkJsonEntries(actual, expected, description) { checkJsonEntry(actual[i], expected[i]); }, description); } + +function checkIsIntersecting(entries, i, expected) { + assert_equals(entries[i].isIntersecting, expected, + 'entries[' + i + '].target.isIntersecting equals ' + expected); +} \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/keyboard-lock/OWNERS b/tests/wpt/web-platform-tests/keyboard-lock/OWNERS new file mode 100644 index 00000000000..9e83dd91ab2 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-lock/OWNERS @@ -0,0 +1,2 @@ +@garykac +@joedow-42 diff --git a/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock-blocked-from-cross-origin-iframe.https.html b/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock-blocked-from-cross-origin-iframe.https.html new file mode 100644 index 00000000000..ef79c0c80af --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock-blocked-from-cross-origin-iframe.https.html @@ -0,0 +1,29 @@ + + + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock-blocked-from-iframe.https.html b/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock-blocked-from-iframe.https.html new file mode 100644 index 00000000000..a01f6a2fc75 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock-blocked-from-iframe.https.html @@ -0,0 +1,28 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-lock/resources/iframe-lock-helper.html b/tests/wpt/web-platform-tests/keyboard-lock/resources/iframe-lock-helper.html new file mode 100644 index 00000000000..3950802f8e1 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-lock/resources/iframe-lock-helper.html @@ -0,0 +1,20 @@ + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/idlharness.https.html b/tests/wpt/web-platform-tests/keyboard-map/idlharness.https.html new file mode 100644 index 00000000000..05d687d7fb1 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/idlharness.https.html @@ -0,0 +1,31 @@ + + + +Keyboard Map IDL tests + + + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/keyboard-map-https.html b/tests/wpt/web-platform-tests/keyboard-map/keyboard-map-https.html new file mode 100644 index 00000000000..97a50dde887 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/keyboard-map-https.html @@ -0,0 +1,30 @@ + + +Keyboard Map basic tests + + + diff --git a/tests/wpt/web-platform-tests/lint.whitelist b/tests/wpt/web-platform-tests/lint.whitelist index e7e1af82901..ce825bfa021 100644 --- a/tests/wpt/web-platform-tests/lint.whitelist +++ b/tests/wpt/web-platform-tests/lint.whitelist @@ -10,18 +10,13 @@ INDENT TABS: .gitmodules INDENT TABS: conformance-checkers/* INDENT TABS: content-security-policy/* -INDENT TABS: custom-elements/* -INDENT TABS: old-tests/* INDENT TABS: pointerlock/* INDENT TABS: shadow-dom/* -INDENT TABS: tools/* -INDENT TABS: web-animations/* INDENT TABS: webaudio/* INDENT TABS: webvtt/* INDENT TABS: encoding/legacy*/* TRAILING WHITESPACE: 2dcontext/tools/current-work-canvas.xhtml -TRAILING WHITESPACE: battery-status/* TRAILING WHITESPACE: conformance-checkers/* TRAILING WHITESPACE: content-security-policy/* TRAILING WHITESPACE: custom-elements/* @@ -29,11 +24,9 @@ TRAILING WHITESPACE: html-longdesc/* TRAILING WHITESPACE: old-tests/* TRAILING WHITESPACE: pointerevents/* TRAILING WHITESPACE: shadow-dom/* -TRAILING WHITESPACE: tools/* TRAILING WHITESPACE: webaudio/* TRAILING WHITESPACE: WebIDL/* TRAILING WHITESPACE: webvtt/* -TRAILING WHITESPACE: encoding/legacy*/* TRAILING WHITESPACE: server-timing/resources/parsing/*.sub.headers ## File types that should never be checked ## @@ -77,9 +70,6 @@ WEB-PLATFORM.TEST:docs/* ## Helper scripts ## -W3C-TEST.ORG: tools/* -PRINT STATEMENT: tools/* -W3C-TEST.ORG: */tools/* PRINT STATEMENT: */tools/* ## Deliberate copies of Ahem ## @@ -101,7 +91,6 @@ CR AT EOL: html/form-elements/the-textarea-element/multiline-placeholder-cr.html CR AT EOL: html/form-elements/the-textarea-element/multiline-placeholder-crlf.html CR AT EOL: html/input/the-placeholder-attribute/multiline-cr.html CR AT EOL: html/input/the-placeholder-attribute/multiline-crlf.html -CR AT EOL: html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html CR AT EOL: webvtt/parsing/file-parsing/tests/support/newlines.vtt # Intentional use of tabs @@ -139,7 +128,6 @@ PARSE-FAILED: dom/nodes/Document-createElement-namespace-tests/minimal_html.xml # setTimeout usage (should probably mostly be fixed) SET TIMEOUT: *-manual.* -SET TIMEOUT: 2dcontext/* SET TIMEOUT: annotation-model/scripts/ajv.min.js SET TIMEOUT: apng/animated-png-timeout.html SET TIMEOUT: cookies/resources/testharness-helpers.js @@ -181,18 +169,13 @@ SET TIMEOUT: mixed-content/generic/sanity-checker.js SET TIMEOUT: navigation-timing/* SET TIMEOUT: offscreen-canvas/the-offscreen-canvas/* SET TIMEOUT: old-tests/submission/Microsoft/history/history_000.htm -SET TIMEOUT: page-visibility/resources/pagevistestharness.js SET TIMEOUT: paint-timing/resources/subframe-painting.html SET TIMEOUT: payment-request/allowpaymentrequest/setting-allowpaymentrequest-timing.https.sub.html -SET TIMEOUT: payment-request/payment-request-response-id.html -SET TIMEOUT: pointerevents/pointerevent_support.js SET TIMEOUT: preload/single-download-preload.html SET TIMEOUT: resize-observer/resources/iframe.html SET TIMEOUT: resource-timing/resource-timing.js SET TIMEOUT: resource-timing/single-entry-per-resource.html -SET TIMEOUT: screen-orientation/lock-bad-argument.html SET TIMEOUT: screen-orientation/onchange-event.html -SET TIMEOUT: screen-orientation/resources/sandboxed-iframe-locking.html SET TIMEOUT: secure-contexts/basic-popup-and-iframe-tests.https.js SET TIMEOUT: service-workers/cache-storage/script-tests/cache-abort.js SET TIMEOUT: service-workers/service-worker/activation.https.html @@ -208,12 +191,10 @@ SET TIMEOUT: service-workers/service-worker/resources/opaque-response-being-prel SET TIMEOUT: service-workers/service-worker/resources/opaque-response-preloaded-xhr.html SET TIMEOUT: service-workers/service-worker/resources/performance-timeline-worker.js SET TIMEOUT: service-workers/service-worker/resources/resource-timing-worker.js -SET TIMEOUT: service-workers/service-worker/resources/register-foreign-fetch-errors-worker.js SET TIMEOUT: shadow-dom/Document-prototype-currentScript.html SET TIMEOUT: shadow-dom/scroll-to-the-fragment-in-shadow-tree.html SET TIMEOUT: shadow-dom/slotchange-event.html SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/html-forms/test-003.html -SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/inert-html-elements/test-001.html SET TIMEOUT: streams/piping/close-propagation-forward.js SET TIMEOUT: streams/piping/error-propagation-backward.js SET TIMEOUT: streams/piping/error-propagation-forward.js @@ -222,12 +203,10 @@ SET TIMEOUT: streams/readable-streams/cancel.js SET TIMEOUT: streams/resources/rs-utils.js SET TIMEOUT: streams/writable-streams/byte-length-queuing-strategy.js SET TIMEOUT: user-timing/* -SET TIMEOUT: webaudio/js/lodash.js SET TIMEOUT: webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html SET TIMEOUT: webauthn/*timeout.https.html SET TIMEOUT: webdriver/* SET TIMEOUT: webmessaging/* -SET TIMEOUT: websockets/* SET TIMEOUT: webstorage/eventTestHarness.js SET TIMEOUT: webvtt/* SET TIMEOUT: workers/* @@ -250,17 +229,13 @@ GENERATE_TESTS: css/css-tables/fixed-layout-2.html GENERATE_TESTS: css/css-tables/height-distribution/computing-row-measure-0.html GENERATE_TESTS: css/css-tables/height-distribution/computing-row-measure-1.html GENERATE_TESTS: css/css-tables/height-distribution/percentage-sizing-of-table-cell-children.html -GENERATE_TESTS: css/css-tables/height-distribution/percentage-sizing-of-table-cell-children.html GENERATE_TESTS: css/css-tables/html-to-css-mapping-1.html GENERATE_TESTS: css/css-tables/html-to-css-mapping-2.html GENERATE_TESTS: css/css-tables/html5-table-formatting-1.html -GENERATE_TESTS: css/css-tables/html5-table-formatting-1.html GENERATE_TESTS: css/css-tables/html5-table-formatting-2.html GENERATE_TESTS: css/css-tables/html5-table-formatting-3.html GENERATE_TESTS: css/css-tables/html5-table-formatting-fixed-layout-1.html GENERATE_TESTS: css/css-tables/table-model-fixup-2.html -GENERATE_TESTS: css/css-tables/table-model-fixup-2.html -GENERATE_TESTS: css/css-tables/table-model-fixup-2.html GENERATE_TESTS: css/css-tables/table-model-fixup.html GENERATE_TESTS: css/css-tables/visibility-collapse-col-001.html GENERATE_TESTS: css/css-tables/visibility-collapse-row-001.html @@ -323,12 +298,8 @@ SET TIMEOUT: resources/testharness.js SET TIMEOUT: acid/acid3/test.html # Travis -W3C-TEST.ORG: .travis.yml WEB-PLATFORM.TEST: .travis.yml -# Config -WEB-PLATFORM.TEST: config.default.json -WEB-PLATFORM.TEST: resources/test/config.test.json # Third party code *: css/tools/apiclient/* @@ -339,29 +310,22 @@ WEB-PLATFORM.TEST: resources/test/config.test.json # Build system virtualenv *: css/tools/_virtualenv/* - ## Third party data files TRAILING WHITESPACE: css/css-writing-modes/tools/generators/ucd/Blocks.txt TRAILING WHITESPACE: resources/chromium/* - ## Test generation files CONSOLE: css/css-writing-modes/tools/generators/unicode-data.js - ## Test plans and implementation reports -*: css/*/reports/* *: css/*/test-plan/* - ## Things we don't have enabled yet OPEN-NO-MODE: css/* -PARSE-FAILED: css/* PRINT STATEMENT: css/* CONTENT-VISUAL: css/* CONTENT-MANUAL: css/* - ## Support files not in /support/ or similar SUPPORT-WRONG-DIR: css/requirements.txt SUPPORT-WRONG-DIR: css/README.md @@ -374,10 +338,8 @@ SUPPORT-WRONG-DIR: css/*/README.md SUPPORT-WRONG-DIR: css/*-README SUPPORT-WRONG-DIR: css/*/LICENSE SUPPORT-WRONG-DIR: css/*/LICENSE-* -SUPPORT-WRONG-DIR: css/*/COPYING SUPPORT-WRONG-DIR: css/*/Makefile SUPPORT-WRONG-DIR: css/*/OWNERS -SUPPORT-WRONG-DIR: fonts/* # The selectors-3 testsuite has a weird build system SUPPORT-WRONG-DIR: css/selectors/* @@ -420,8 +382,6 @@ INDENT TABS: css/css-images/* INDENT TABS: css/css-lists/* INDENT TABS: css/css-masking/* INDENT TABS: css/css-multicol/* -INDENT TABS: css/cssom/* -INDENT TABS: css/cssom-view/* INDENT TABS: css/css-page/* INDENT TABS: css/css-pseudo/* INDENT TABS: css/css-regions/* @@ -437,7 +397,6 @@ INDENT TABS: css/css-values/* INDENT TABS: css/css-variables/* INDENT TABS: css/css-writing-modes/* INDENT TABS: css/filter-effects/* -INDENT TABS: fonts/* INDENT TABS: css/mediaqueries/* INDENT TABS: css/selectors/* INDENT TABS: css/vendor-imports/* @@ -474,10 +433,7 @@ TRAILING WHITESPACE: css/css-scoping/css-scoping-shadow-slotted-rule.html TRAILING WHITESPACE: css/css-scoping/css-scoping-shadow-with-outside-rules.html TRAILING WHITESPACE: css/css-scoping/css-scoping-shadow-with-rules.html TRAILING WHITESPACE: css/css-scoping/css-scoping-shadow-with-rules-no-style-leak.html -TRAILING WHITESPACE: css/css-transforms/css3-transform-rotateY.html TRAILING WHITESPACE: css/css-variables/reference/vars-font-shorthand-001-ref.html -TRAILING WHITESPACE: css/css-variables/vars-font-shorthand-001.html -TRAILING WHITESPACE: css/geometry/DOMMatrix-001.html TRAILING WHITESPACE: css/vendor-imports/mozilla/mozilla-central-reftests/css21/pagination/moz-css21-float-page-break-inside-avoid-7.html TRAILING WHITESPACE: css/vendor-imports/mozilla/mozilla-central-reftests/css21/pagination/moz-css21-float-page-break-inside-avoid-7-ref.html TRAILING WHITESPACE: css/vendor-imports/mozilla/mozilla-central-reftests/css21/pagination/moz-css21-float-page-break-inside-avoid-8.html @@ -549,24 +505,10 @@ SET TIMEOUT: css/CSS2/generated-content/counter-reset-002.xht SET TIMEOUT: css/CSS2/selectors/dom-hover-001.xht SET TIMEOUT: css/CSS2/selectors/dom-hover-002.xht SET TIMEOUT: css/CSS2/tables/tables-102.xht -SET TIMEOUT: css/cssom-view/matchMediaAddListener.html SET TIMEOUT: css/mediaqueries/min-width-tables-001.html -SET TIMEOUT: css/selectors/focus-within-shadow-001.html -SET TIMEOUT: css/selectors/focus-within-shadow-002.html -SET TIMEOUT: css/selectors/focus-within-shadow-003.html -SET TIMEOUT: css/selectors/focus-within-shadow-004.html -SET TIMEOUT: css/selectors/focus-within-shadow-005.html ## Build system stuff -CSS-COLLIDING-TEST-NAME: css/*/OWNERS -CSS-COLLIDING-TEST-NAME: css/*/README -CSS-COLLIDING-TEST-NAME: css/*/README.md -CSS-COLLIDING-TEST-NAME: css/*/LICENSE -CSS-COLLIDING-TEST-NAME: css/*/Makefile -CSS-COLLIDING-TEST-NAME: css/*/reftest.list -CSS-COLLIDING-TEST-NAME: css/*/.htaccess CSS-COLLIDING-SUPPORT-NAME: css/*/README -CSS-COLLIDING-SUPPORT-NAME: css/*/.htaccess CSS-COLLIDING-SUPPORT-NAME: css/*/LOCK # These are all the current "merge mismatch" errors the build system produces @@ -664,95 +606,6 @@ CSS-COLLIDING-SUPPORT-NAME: css/css-images/support/pattern-grg-rgr-grg.png CSS-COLLIDING-SUPPORT-NAME: css/CSS2/tables/support/pattern-grg-rgr-grg.png CSS-COLLIDING-SUPPORT-NAME: css/CSS2/values/support/pattern-grg-rgr-grg.png -# These are thrown off by their support/support/ copies -# https:css///github.com/w3c/csswg-test/issues/1235 -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/bidi-text/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/tables/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/lists/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/filter-effects/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/cssom-view/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-values/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-style-attr/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/text/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-multicol/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/values/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/box-display/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/generated-content/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/support/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-fonts/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/pagination/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-flexbox/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/fonts/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/selectors/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/ui/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/zindex/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/csswg-issues/submitted/css2.1/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/backgrounds/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/i18n/syndata/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-text/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-backgrounds/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-transforms/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/syntax/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-images/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-transitions/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/cascade/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/floats-clear/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/css1/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-shapes/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/colors/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/positioning/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-regions/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/borders/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/cssom/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-page/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/generate/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/normal-flow/support/swatch-red.png -CSS-COLLIDING-SUPPORT-NAME: css/css-flexbox/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/generated-content/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/backgrounds/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/text/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-values/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/csswg-issues/submitted/css2.1/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/borders/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/filter-effects/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/support/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/cssom/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-writing-modes/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/positioning/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-fonts/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-images/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/box-display/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/colors/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/generate/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-transforms/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/normal-flow/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-text/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-page/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/bidi-text/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-style-attr/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/zindex/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-transitions/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/fonts/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/i18n/syndata/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/selectors/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/syntax/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/css1/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-shapes/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/lists/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/ui/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/margin-padding-clear/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-backgrounds/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/tables/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/cascade/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-multicol/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/values/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/css-regions/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/floats-clear/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/cssom-view/support/swatch-green.png -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/pagination/support/swatch-green.png - # Duplicate filename not picked up by the build system # https:css///github.com/w3c/csswg-test/issues/1236 CSS-COLLIDING-REF-NAME: css/css-masking/clip-path-svg-content/reference/clip-path-square-001-ref.svg @@ -794,7 +647,6 @@ CSS-COLLIDING-SUPPORT-NAME: css/CSS2/support/50x50-green.png CSS-COLLIDING-SUPPORT-NAME: css/CSS2/ui/support/animated.gif CSS-COLLIDING-SUPPORT-NAME: css/CSS2/backgrounds/support/animated.gif CSS-COLLIDING-SUPPORT-NAME: css/css-shapes/shape-outside/shape-image/support/animated.gif -CSS-COLLIDING-SUPPORT-NAME: css/CSS2/css1/support/pattern-gg-gr.png CSS-COLLIDING-SUPPORT-NAME: css/css-display/support/util.js CSS-COLLIDING-SUPPORT-NAME: css/CSS2/normal-flow/support/replaced-min-max-1.png CSS-COLLIDING-SUPPORT-NAME: css/vendor-imports/mozilla/mozilla-central-reftests/ui3/support/replaced-min-max-1.png @@ -885,7 +737,6 @@ MISSING-LINK: css/css-scroll-anchoring/wrapped-text.html SUPPORT-WRONG-DIR: css/css-timing/testcommon.js MISSING-LINK: css/css-typed-om/CSSMatrixComponent-DOMMatrix-mutable.html MISSING-LINK: css/css-typed-om/declared-styleMap-accepts-inherit.html -MISSING-LINK: css/css-typed-om/styleMap-update-function.html SUPPORT-WRONG-DIR: css/cssom/stylesheet-same-origin.css MISSING-LINK: css/cssom-view/DOMRectList.html MISSING-LINK: css/cssom-view/elementFromPoint-002.html @@ -913,20 +764,14 @@ MISSING-LINK: css/cssom-view/scrollingElement.html MISSING-LINK: css/cssom-view/scrollIntoView-shadow.html MISSING-LINK: css/cssom-view/scrollIntoView-smooth.html MISSING-LINK: css/cssom-view/scrollTop-display-change.html -CSS-COLLIDING-TEST-NAME: css/cssom-view/interfaces.html -CSS-COLLIDING-TEST-NAME: css/cssom/interfaces.html # TODO https://github.com/w3c/web-platform-tests/issues/5770 MISSING-LINK: css/geometry/*.worker.js MISSING-LINK: css/filter-effects/*.any.js -WEBIDL2.JS: .gitmodules - -# Manual test that uses console.logs for feedback -CONSOLE: payment-request/payment-request-response-id.html - # Tests that use WebKit/Blink testing APIs LAYOUTTESTS APIS: css/css-regions/interactivity/* +LAYOUTTESTS APIS: resources/chromium/generic_sensor_mocks.js # Existing use of WEB-PLATFORM.TEST WEB-PLATFORM.TEST: clear-site-data/support/test_utils.sub.js @@ -939,12 +784,7 @@ WEB-PLATFORM.TEST: fetch/api/request/request-structure.html WEB-PLATFORM.TEST: html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html WEB-PLATFORM.TEST: html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html WEB-PLATFORM.TEST: html/semantics/forms/the-label-element/label-attributes.html -WEB-PLATFORM.TEST: longtask-timing/longtask-in-childiframe-crossorigin.html -WEB-PLATFORM.TEST: longtask-timing/longtask-in-sibling-iframe-crossorigin.html WEB-PLATFORM.TEST: navigation-timing/nav2_test_attributes_values.html WEB-PLATFORM.TEST: navigation-timing/nav2_test_instance_accessors.html -WEB-PLATFORM.TEST: service-workers/service-worker/update-bytecheck.https.html -WEB-PLATFORM.TEST: webdriver/tests/cookies/add_cookie.py -WEB-PLATFORM.TEST: webdriver/tests/cookies/get_named_cookie.py WEB-PLATFORM.TEST: webrtc/RTCPeerConnection-getIdentityAssertion.html WEB-PLATFORM.TEST: webrtc/identity-helper.js diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-disabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-disabled-by-feature-policy.https.html index 56a1cc4f0f9..6e496c1390f 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-disabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-disabled-by-feature-policy.https.html @@ -8,7 +8,7 @@ diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html index b5f6798e248..4b653178189 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html @@ -8,7 +8,7 @@ diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html index 6cad267b6f5..4c120f6d743 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html @@ -8,7 +8,7 @@ diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy.https.html index 24e2554bca2..ae5983411df 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-by-feature-policy.https.html @@ -8,7 +8,7 @@ diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html index 59dfef5bf20..e6210407abd 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html @@ -8,7 +8,7 @@ diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer.https.html index a3cefc26169..661ea68a82d 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer.https.html @@ -9,7 +9,7 @@
diff --git a/tests/wpt/web-platform-tests/magnetometer/Magnetometer_onerror-manual.https.html b/tests/wpt/web-platform-tests/magnetometer/Magnetometer_onerror-manual.https.html index 04b987797fa..dbdcf1d5f7c 100644 --- a/tests/wpt/web-platform-tests/magnetometer/Magnetometer_onerror-manual.https.html +++ b/tests/wpt/web-platform-tests/magnetometer/Magnetometer_onerror-manual.https.html @@ -15,7 +15,7 @@ diff --git a/tests/wpt/web-platform-tests/media-capabilities/OWNERS b/tests/wpt/web-platform-tests/media-capabilities/OWNERS new file mode 100644 index 00000000000..b05a482a14b --- /dev/null +++ b/tests/wpt/web-platform-tests/media-capabilities/OWNERS @@ -0,0 +1 @@ +@mounirlamouri diff --git a/tests/wpt/web-platform-tests/media-source/generate-config-change-tests.py b/tests/wpt/web-platform-tests/media-source/generate-config-change-tests.py index 4edb925b448..6ab2c8bf46b 100755 --- a/tests/wpt/web-platform-tests/media-source/generate-config-change-tests.py +++ b/tests/wpt/web-platform-tests/media-source/generate-config-change-tests.py @@ -83,7 +83,6 @@ HTML_TEMPLATE = """ -
diff --git a/tests/wpt/web-platform-tests/mediacapture-fromelement/OWNERS b/tests/wpt/web-platform-tests/mediacapture-fromelement/OWNERS new file mode 100644 index 00000000000..496af7c74cb --- /dev/null +++ b/tests/wpt/web-platform-tests/mediacapture-fromelement/OWNERS @@ -0,0 +1,3 @@ +@yellowdoge +@martinthomson +@uysalere diff --git a/tests/wpt/web-platform-tests/mediacapture-image/OWNERS b/tests/wpt/web-platform-tests/mediacapture-image/OWNERS new file mode 100644 index 00000000000..32380f13e32 --- /dev/null +++ b/tests/wpt/web-platform-tests/mediacapture-image/OWNERS @@ -0,0 +1,2 @@ +@yellowdoge +@reillyeon diff --git a/tests/wpt/web-platform-tests/mediacapture-streams/MediaDevices-getUserMedia.https.html b/tests/wpt/web-platform-tests/mediacapture-streams/MediaDevices-getUserMedia.https.html index 0573ab0a594..0a2f2ff75bd 100644 --- a/tests/wpt/web-platform-tests/mediacapture-streams/MediaDevices-getUserMedia.https.html +++ b/tests/wpt/web-platform-tests/mediacapture-streams/MediaDevices-getUserMedia.https.html @@ -36,6 +36,34 @@ test(function () { // list.deviceId // list.groupId }, "mediaDevices.getUserMedia() is present on navigator"); + +promise_test(t => { + return navigator.mediaDevices.enumerateDevices() + .then(t.step_func(async devices => { + for (var i in devices) { + await navigator.mediaDevices.getUserMedia( + {video: {groupId: {exact: devices[i].groupId}}}) + .then( + t.step_func(stream => { + var found_device = devices.find(element => { + return element.deviceId == + stream.getTracks()[0].getSettings().deviceId; + }); + assert_true(undefined !== found_device); + assert_equals(found_device.kind, "videoinput"); + assert_equals(found_device.groupId, devices[i].groupId); + }), + t.step_func(error => { + assert_equals(error.name, "OverconstrainedError"); + assert_equals(error.constraint, "groupId"); + var found_device = devices.find(element => { + return element.kind == "videoinput" && + element.groupId == devices[i].groupId}); + assert_true(undefined === found_device); + })); + } + })); +}, 'groupId is correctly supported by getUserMedia() for video devices'); diff --git a/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-applyConstraints.https.html b/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-applyConstraints.https.html new file mode 100644 index 00000000000..0056695083e --- /dev/null +++ b/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-applyConstraints.https.html @@ -0,0 +1,57 @@ + +MediaStreamTrack applyConstraints +

When prompted, accept to share your video stream.

+ + + diff --git a/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getCapabilities.https.html b/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getCapabilities.https.html index 257578f67ca..d9283705f32 100644 --- a/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getCapabilities.https.html +++ b/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getCapabilities.https.html @@ -15,6 +15,7 @@ assert_true(undefined !== audioCapabilities.autoGainControl, "MediaTrackCapabilities's autoGainControl should exist for an audio track."); assert_true(undefined !== audioCapabilities.noiseSuppression, "MediaTrackCapabilities's noiseSuppression should exist for an audio track."); assert_true(undefined !== videoCapabilities.deviceId, "MediaTrackCapabilities's deviceId should exist for a video track."); + assert_true(undefined !== videoCapabilities.groupId, "MediaTrackCapabilities's groupId should exist for a video track."); }); }); diff --git a/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https.html b/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https.html index 42674bab2ad..4c2feef37ec 100644 --- a/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https.html +++ b/tests/wpt/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https.html @@ -57,4 +57,22 @@ }); }); }, 'A device can be opened twice with different resolutions'); + + promise_test(t => { + return navigator.mediaDevices.enumerateDevices().then(async devices => { + for (var device of devices) { + if (device.kind == "audiooutput") + continue; + var device_id_constraint = {deviceId: {exact: device.deviceId}}; + var constraints = device.kind == "audioinput" + ? {audio: device_id_constraint} + : {video: device_id_constraint}; + + var stream = await navigator.mediaDevices.getUserMedia(constraints); + assert_equals(stream.getTracks()[0].getSettings().groupId, + device.groupId); + assert_true(device.groupId.length > 0); + } + }); + }, 'groupId is correctly reported by getSettings() for all devices'); diff --git a/tests/wpt/web-platform-tests/mediasession/OWNERS b/tests/wpt/web-platform-tests/mediasession/OWNERS new file mode 100644 index 00000000000..b05a482a14b --- /dev/null +++ b/tests/wpt/web-platform-tests/mediasession/OWNERS @@ -0,0 +1 @@ +@mounirlamouri diff --git a/tests/wpt/web-platform-tests/netinfo/OWNERS b/tests/wpt/web-platform-tests/netinfo/OWNERS new file mode 100644 index 00000000000..095bbbdb31b --- /dev/null +++ b/tests/wpt/web-platform-tests/netinfo/OWNERS @@ -0,0 +1,4 @@ +@jkarlin +@igrigorik +@marcoscaceres +@tarunban diff --git a/tests/wpt/web-platform-tests/offscreen-canvas/OWNERS b/tests/wpt/web-platform-tests/offscreen-canvas/OWNERS new file mode 100644 index 00000000000..3bb6edf248a --- /dev/null +++ b/tests/wpt/web-platform-tests/offscreen-canvas/OWNERS @@ -0,0 +1,5 @@ +@AmeliaBR +@annevk +@kenrussell +@jdashg +@fserb diff --git a/tests/wpt/web-platform-tests/old-tests/OWNERS b/tests/wpt/web-platform-tests/old-tests/OWNERS new file mode 100644 index 00000000000..04a7557ed2f --- /dev/null +++ b/tests/wpt/web-platform-tests/old-tests/OWNERS @@ -0,0 +1,2 @@ +@foolip +@Ms2ger diff --git a/tests/wpt/web-platform-tests/old-tests/submission/Microsoft/history/history_000.htm b/tests/wpt/web-platform-tests/old-tests/submission/Microsoft/history/history_000.htm index 771ed154255..855612b82a9 100644 --- a/tests/wpt/web-platform-tests/old-tests/submission/Microsoft/history/history_000.htm +++ b/tests/wpt/web-platform-tests/old-tests/submission/Microsoft/history/history_000.htm @@ -322,8 +322,25 @@ } add_result_callback(testFinished); - //start the first test manually - queue(testCollection[testIndex]); + + function startTestsWhenIframesLoaded() { + if (testframe1.contentWindow.document.readyState != 'complete' || + testframe2.contentWindow.document.readyState != 'complete') { + return; + } + testframe1.removeEventListener('load', startTestsWhenIframesLoaded, false); + testframe2.removeEventListener('load', startTestsWhenIframesLoaded, false); + + //start the first test + queue(testCollection[testIndex]); + } + + // add listeners to trigger the tests once the iframes are loaded, + // but also try to start it right away in case the load events have + // already fired and we missed them. + testframe1.addEventListener('load', startTestsWhenIframesLoaded, false); + testframe2.addEventListener('load', startTestsWhenIframesLoaded, false); + startTestsWhenIframesLoaded(); diff --git a/tests/wpt/web-platform-tests/orientation-event/OWNERS b/tests/wpt/web-platform-tests/orientation-event/OWNERS new file mode 100644 index 00000000000..77a3bbc2b7b --- /dev/null +++ b/tests/wpt/web-platform-tests/orientation-event/OWNERS @@ -0,0 +1,2 @@ +@reillyeon +@timvolodine diff --git a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html index ccefe2ea23e..7f4257165f4 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html index 6aed47d4ddf..ab34f5b4542 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html index 51bbba1cae4..cb23e8b6aec 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html index c0b4cc8ed30..cc09eeaea42 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html index 9ce51ab6448..62e21beb907 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor.https.html b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor.https.html new file mode 100644 index 00000000000..c476047f62a --- /dev/null +++ b/tests/wpt/web-platform-tests/orientation-sensor/AbsoluteOrientationSensor.https.html @@ -0,0 +1,16 @@ + + +OrientationSensor Test + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor_onerror-manual.https.html b/tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor_onerror-manual.https.html index d70ea3048ea..415a63c1edf 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor_onerror-manual.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor_onerror-manual.https.html @@ -16,7 +16,7 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html index 9296af8ea6c..d97d40b6ca3 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html index 01b45b09935..3a6173a2c11 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html index 1bf41196663..e8d30020c21 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html index 7ea2fb50f3b..d9f38f2dcca 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html index 6d677bf0d42..d63bf4e19b9 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html @@ -8,6 +8,6 @@ diff --git a/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor.https.html b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor.https.html new file mode 100644 index 00000000000..9521a15f6cc --- /dev/null +++ b/tests/wpt/web-platform-tests/orientation-sensor/RelativeOrientationSensor.https.html @@ -0,0 +1,16 @@ + + +OrientationSensor Test + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor.https.html b/tests/wpt/web-platform-tests/orientation-sensor/orientation-sensor-tests.js similarity index 63% rename from tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor.https.html rename to tests/wpt/web-platform-tests/orientation-sensor/orientation-sensor-tests.js index 5e728a688db..74e360a041a 100644 --- a/tests/wpt/web-platform-tests/orientation-sensor/OrientationSensor.https.html +++ b/tests/wpt/web-platform-tests/orientation-sensor/orientation-sensor-tests.js @@ -1,16 +1,3 @@ - - -OrientationSensor Test - - - - - - -
- - diff --git a/tests/wpt/web-platform-tests/page-visibility/test_minimize-manual.html b/tests/wpt/web-platform-tests/page-visibility/test_minimize-manual.html index 28e8486769c..27fd0d7cefa 100644 --- a/tests/wpt/web-platform-tests/page-visibility/test_minimize-manual.html +++ b/tests/wpt/web-platform-tests/page-visibility/test_minimize-manual.html @@ -5,6 +5,7 @@ Page Visibility API Operation While Minimizing Browser Window + diff --git a/tests/wpt/web-platform-tests/page-visibility/test_tab_state_change-manual.html b/tests/wpt/web-platform-tests/page-visibility/test_tab_state_change-manual.html index c701e507862..75d1da6e937 100644 --- a/tests/wpt/web-platform-tests/page-visibility/test_tab_state_change-manual.html +++ b/tests/wpt/web-platform-tests/page-visibility/test_tab_state_change-manual.html @@ -5,6 +5,7 @@ Page Visibility API Operation While Changing Tabs + diff --git a/tests/wpt/web-platform-tests/payment-handler/app-can-make-payment.js b/tests/wpt/web-platform-tests/payment-handler/app-can-make-payment.js index beec3283ec9..0bb94904735 100644 --- a/tests/wpt/web-platform-tests/payment-handler/app-can-make-payment.js +++ b/tests/wpt/web-platform-tests/payment-handler/app-can-make-payment.js @@ -76,9 +76,9 @@ self.addEventListener('canmakepayment', event => { } const methodAsURL = new URL(methodName); - if (event.topLevelOrigin !== methodAsURL.origin) { - const msg = `Unexpected event.topLevelOrigin: "${ - event.topLevelOrigin + if (event.topOrigin !== methodAsURL.origin) { + const msg = `Unexpected event.topOrigin: "${ + event.topOrigin }". Expected "${methodAsURL.origin}".`; event.respondWith(Promise.reject(new Error(msg))); return; diff --git a/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event-constructor.https.worker.js b/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event-constructor.https.worker.js index 06af7de96ec..8ae05d7853a 100644 --- a/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event-constructor.https.worker.js +++ b/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event-constructor.https.worker.js @@ -30,13 +30,13 @@ test(() => { test(() => { const ev = new CanMakePaymentEvent('test', { - topLevelOrigin: 'https://foo.com', + topOrigin: 'https://foo.com', paymentRequestOrigin: 'https://bar.com', methodData: [], modifiers: [], }); assert_false(ev.isTrusted, 'constructed in script, so not be trusted'); - assert_equals(ev.topLevelOrigin, 'https://foo.com'); + assert_equals(ev.topOrigin, 'https://foo.com'); assert_equals(ev.paymentRequestOrigin, 'https://bar.com'); }, 'CanMakePaymentEvent can be constructed with a CanMakePaymentEventInit, even if not trusted'); diff --git a/tests/wpt/web-platform-tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html b/tests/wpt/web-platform-tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html index 3925cdd81e6..f767044d060 100644 --- a/tests/wpt/web-platform-tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html +++ b/tests/wpt/web-platform-tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html @@ -68,7 +68,7 @@ function runManualTest(button, expected = {}) {