diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index e29c1742312..ee3bfd0fecd 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -393,6 +393,10 @@ "path": "html/browsers/the-window-object/the-windowproxy-object/test-window-proxy-toolbar-manual.html", "url": "/html/browsers/the-window-object/the-windowproxy-object/test-window-proxy-toolbar-manual.html" }, + { + "path": "html/browsers/windows/noreferrer-cross-origin-manual.html", + "url": "/html/browsers/windows/noreferrer-cross-origin-manual.html" + }, { "path": "html/editing/dnd/datastore/015-manual.html", "url": "/html/editing/dnd/datastore/015-manual.html" @@ -13097,6 +13101,14 @@ "path": "cors/status.htm", "url": "/cors/status.htm" }, + { + "path": "cssom-view/elementFromPoint.html", + "url": "/cssom-view/elementFromPoint.html" + }, + { + "path": "cssom-view/elementsFromPoint.html", + "url": "/cssom-view/elementsFromPoint.html" + }, { "path": "custom-elements/concepts/custom-elements-type-naming.html", "url": "/custom-elements/concepts/custom-elements-type-naming.html" @@ -15317,6 +15329,10 @@ "path": "html/browsers/offline/manifest_url_check.html", "url": "/html/browsers/offline/manifest_url_check.html" }, + { + "path": "html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html", + "url": "/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html" + }, { "path": "html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-01.html", "url": "/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-01.html" @@ -15441,6 +15457,18 @@ "path": "html/browsers/windows/nested-browsing-contexts/window-top-001.html", "url": "/html/browsers/windows/nested-browsing-contexts/window-top-001.html" }, + { + "path": "html/browsers/windows/noreferrer-window-name.html", + "url": "/html/browsers/windows/noreferrer-window-name.html" + }, + { + "path": "html/browsers/windows/noreferrer.html", + "url": "/html/browsers/windows/noreferrer.html" + }, + { + "path": "html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html", + "url": "/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html" + }, { "path": "html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html", "url": "/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html" @@ -17717,6 +17745,10 @@ "path": "html/semantics/forms/form-control-infrastructure/form.html", "url": "/html/semantics/forms/form-control-infrastructure/form.html" }, + { + "path": "html/semantics/forms/form-submission-0/url-encoded.html", + "url": "/html/semantics/forms/form-submission-0/url-encoded.html" + }, { "path": "html/semantics/forms/resetting-a-form/reset-form.html", "url": "/html/semantics/forms/resetting-a-form/reset-form.html" @@ -27601,6 +27633,10 @@ "path": "websockets/unload-a-document/003.html", "url": "/websockets/unload-a-document/003.html" }, + { + "path": "webstorage/document-domain.html", + "url": "/webstorage/document-domain.html" + }, { "path": "webstorage/event_constructor.html", "url": "/webstorage/event_constructor.html" @@ -28757,9 +28793,9 @@ "url": "/html/browsers/history/the-history-interface/007.html" }, { - "path": "html/browsers/origin/cross-origin-objects/cross-origin-objects.html", + "path": "html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html", "timeout": "long", - "url": "/html/browsers/origin/cross-origin-objects/cross-origin-objects.html" + "url": "/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html" }, { "path": "html/dom/interfaces.html", @@ -29951,22 +29987,7 @@ }, "local_changes": { "deleted": [], - "items": { - "testharness": { - "html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html": [ - { - "path": "html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html", - "url": "/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html" - } - ], - "html/semantics/forms/form-submission-0/url-encoded.html": [ - { - "path": "html/semantics/forms/form-submission-0/url-encoded.html", - "url": "/html/semantics/forms/form-submission-0/url-encoded.html" - } - ] - } - }, + "items": {}, "reftest_nodes": {} }, "reftest_nodes": { @@ -35527,7 +35548,7 @@ } ] }, - "rev": "5a754b40cd49c0404863c431b58cc311dc5d167c", + "rev": "ee40b886c701ffa25a673240cabdedd59ee3ace4", "url_base": "/", "version": 2 } diff --git a/tests/wpt/metadata/dom/nodes/Document-createElement-namespace.html.ini b/tests/wpt/metadata/dom/nodes/Document-createElement-namespace.html.ini index f3b5c19cdea..8e411d9a60a 100644 --- a/tests/wpt/metadata/dom/nodes/Document-createElement-namespace.html.ini +++ b/tests/wpt/metadata/dom/nodes/Document-createElement-namespace.html.ini @@ -1,5 +1,5 @@ [Document-createElement-namespace.html] - disabled: extremely frequent intermittent crash #8614 + disabled: extremely frequent intermittent crash type: testharness [Created element's namespace in empty.xhtml] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.html.ini b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini similarity index 55% rename from tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.html.ini rename to tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini index b64053a7891..0499a659c5c 100644 --- a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.html.ini +++ b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini @@ -1,3 +1,3 @@ -[cross-origin-objects.html] +[cross-origin-objects.sub.html] type: testharness expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html.ini b/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html.ini index 81f58d2ecba..4adc32981f0 100644 --- a/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html.ini +++ b/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html.ini @@ -2,3 +2,4 @@ type: testharness [new document] expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/windows/noreferrer-window-name.html.ini b/tests/wpt/metadata/html/browsers/windows/noreferrer-window-name.html.ini new file mode 100644 index 00000000000..c7f0b290235 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/windows/noreferrer-window-name.html.ini @@ -0,0 +1,6 @@ +[noreferrer-window-name.html] + type: testharness + expected: TIMEOUT + [rel=noreferrer and reuse of names] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/windows/noreferrer.html.ini b/tests/wpt/metadata/html/browsers/windows/noreferrer.html.ini new file mode 100644 index 00000000000..6cd28adf6e1 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/windows/noreferrer.html.ini @@ -0,0 +1,6 @@ +[noreferrer.html] + type: testharness + expected: TIMEOUT + [rel=noreferrer nullifies window.opener] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html.ini b/tests/wpt/metadata/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html.ini new file mode 100644 index 00000000000..4dedae027e2 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html.ini @@ -0,0 +1,6 @@ +[targeting-cross-origin-nested-browsing-contexts.sub.html] + type: testharness + expected: TIMEOUT + [Targeting nested browsing contexts] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/semantics/forms/the-form-element/form-autocomplete.html.ini b/tests/wpt/metadata/html/semantics/forms/the-form-element/form-autocomplete.html.ini index ad57004b9a2..3f7e216f6f1 100644 --- a/tests/wpt/metadata/html/semantics/forms/the-form-element/form-autocomplete.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/the-form-element/form-autocomplete.html.ini @@ -150,3 +150,30 @@ [impp is an allowed autocomplete field name] expected: FAIL + [username is an allowed autocomplete field name] + expected: FAIL + + [new-password is an allowed autocomplete field name] + expected: FAIL + + [current-password is an allowed autocomplete field name] + expected: FAIL + + [address-level4 is an allowed autocomplete field name] + expected: FAIL + + [address-level3 is an allowed autocomplete field name] + expected: FAIL + + [address-level2 is an allowed autocomplete field name] + expected: FAIL + + [address-level1 is an allowed autocomplete field name] + expected: FAIL + + [transaction-currency is an allowed autocomplete field name] + expected: FAIL + + [transaction-amount is an allowed autocomplete field name] + expected: FAIL + diff --git a/tests/wpt/metadata/mozilla-sync b/tests/wpt/metadata/mozilla-sync index a87d8455c1f..fcb3354f713 100644 --- a/tests/wpt/metadata/mozilla-sync +++ b/tests/wpt/metadata/mozilla-sync @@ -1 +1 @@ -8950345e0e2c803cfa87105374dfdb30a550cfe0 \ No newline at end of file +a00f2d6310f42d641151d8aa46aef53338e568cc \ No newline at end of file diff --git a/tests/wpt/metadata/webstorage/document-domain.html.ini b/tests/wpt/metadata/webstorage/document-domain.html.ini new file mode 100644 index 00000000000..d039f44c41a --- /dev/null +++ b/tests/wpt/metadata/webstorage/document-domain.html.ini @@ -0,0 +1,5 @@ +[document-domain.html] + type: testharness + [localStorage and document.domain] + expected: FAIL + diff --git a/tests/wpt/mozilla/meta/css/viewport_meta.html.ini b/tests/wpt/mozilla/meta/css/viewport_meta.html.ini index 32a48a29459..e21ca57b360 100644 --- a/tests/wpt/mozilla/meta/css/viewport_meta.html.ini +++ b/tests/wpt/mozilla/meta/css/viewport_meta.html.ini @@ -1 +1,3 @@ -prefs: ["layout.viewport.enabled:true"] +prefs: [layout.viewport.enabled:true] +[viewport_meta.html] + type: reftest diff --git a/tests/wpt/mozilla/meta/css/viewport_rule.html.ini b/tests/wpt/mozilla/meta/css/viewport_rule.html.ini index 32a48a29459..a015a2452bf 100644 --- a/tests/wpt/mozilla/meta/css/viewport_rule.html.ini +++ b/tests/wpt/mozilla/meta/css/viewport_rule.html.ini @@ -1 +1,3 @@ -prefs: ["layout.viewport.enabled:true"] +prefs: [layout.viewport.enabled:true] +[viewport_rule.html] + type: reftest diff --git a/tests/wpt/web-platform-tests/WebCryptoAPI/getRandomValues.js b/tests/wpt/web-platform-tests/WebCryptoAPI/getRandomValues.js index 77855b2822d..0649d9596a0 100644 --- a/tests/wpt/web-platform-tests/WebCryptoAPI/getRandomValues.js +++ b/tests/wpt/web-platform-tests/WebCryptoAPI/getRandomValues.js @@ -16,26 +16,35 @@ function run_test() { }, "Float64Array (too long)") }, "Float arrays") - test(function() { - assert_equals(self.crypto.getRandomValues(new Int8Array(8)).constructor, - Int8Array, "crypto.getRandomValues(new Int8Array(8))") - assert_equals(self.crypto.getRandomValues(new Uint8Array(8)).constructor, - Uint8Array, "crypto.getRandomValues(new Uint8Array(8))") - - assert_equals(self.crypto.getRandomValues(new Int16Array(8)).constructor, - Int16Array, "crypto.getRandomValues(new Int16Array(8))") - assert_equals(self.crypto.getRandomValues(new Uint16Array(8)).constructor, - Uint16Array, "crypto.getRandomValues(new Uint16Array(8))") - - assert_equals(self.crypto.getRandomValues(new Int32Array(8)).constructor, - Int32Array, "crypto.getRandomValues(new Int32Array(8))") - assert_equals(self.crypto.getRandomValues(new Uint32Array(8)).constructor, - Uint32Array, "crypto.getRandomValues(new Uint32Array(8))") - }, "Integer arrays") + var arrays = { + 'Int8Array': Int8Array, + 'Int16Array': Int16Array, + 'Int32Array': Int32Array, + 'Uint8Array': Uint8Array, + 'Uint8ClampedArray': Uint8ClampedArray, + 'Uint16Array': Uint16Array, + 'Uint32Array': Uint32Array, + }; test(function() { - assert_throws("QuotaExceededError", function() { - self.crypto.getRandomValues(new Int8Array(65537)) - }, "crypto.getRandomValues length over 65536") + for (var array in arrays) { + assert_equals(self.crypto.getRandomValues(new arrays[array](8)).constructor, + arrays[array], "crypto.getRandomValues(new " + array + "(8))") + } + }, "Integer array") + + test(function() { + for (var array in arrays) { + var maxlength = 65536 / (arrays[array].BYTES_PER_ELEMENT); + assert_throws("QuotaExceededError", function() { + self.crypto.getRandomValues(new arrays[array](maxlength + 1)) + }, "crypto.getRandomValues length over 65536") + } }, "Large length") + + test(function() { + for (var array in arrays) { + assert_true(self.crypto.getRandomValues(new arrays[array](0)).length == 0) + } + }, "Null arrays") } diff --git a/tests/wpt/web-platform-tests/cssom-view/elementFromPoint.html b/tests/wpt/web-platform-tests/cssom-view/elementFromPoint.html new file mode 100644 index 00000000000..3ae4a9dbfe0 --- /dev/null +++ b/tests/wpt/web-platform-tests/cssom-view/elementFromPoint.html @@ -0,0 +1,157 @@ + +cssom-view - elementFromPoint + + + + +
 
+
 
+
 
+ + + + + + + + + + + + Hello WPT! + + +
 
+
Another teal
+ + + area 1 + area 2 + area 3 + diff --git a/tests/wpt/web-platform-tests/cssom-view/elementsFromPoint.html b/tests/wpt/web-platform-tests/cssom-view/elementsFromPoint.html new file mode 100644 index 00000000000..4400f6aa9cb --- /dev/null +++ b/tests/wpt/web-platform-tests/cssom-view/elementsFromPoint.html @@ -0,0 +1,150 @@ + +cssom-view - elementsFromPoint + + + + +
 
+
 
+
 
+ + + + + + + + + + + + Hello WPT! + + +
 
+
Another teal
+ diff --git a/tests/wpt/web-platform-tests/cssom-view/iframe.html b/tests/wpt/web-platform-tests/cssom-view/iframe.html new file mode 100644 index 00000000000..e4413a7388a --- /dev/null +++ b/tests/wpt/web-platform-tests/cssom-view/iframe.html @@ -0,0 +1,4 @@ + + diff --git a/tests/wpt/web-platform-tests/dom/ranges/Range-mutations.html b/tests/wpt/web-platform-tests/dom/ranges/Range-mutations.html index aa740d4a6aa..ade44bb989b 100644 --- a/tests/wpt/web-platform-tests/dom/ranges/Range-mutations.html +++ b/tests/wpt/web-platform-tests/dom/ranges/Range-mutations.html @@ -15,7 +15,6 @@ // // TODO: // -// * replaceWholeText() tests // * Lots and lots and lots more different types of ranges // * insertBefore() with DocumentFragments // * Fill out other insert/remove tests diff --git a/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html b/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html similarity index 98% rename from tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html rename to tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html index 350f999366a..ee7c7763663 100644 --- a/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html +++ b/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html @@ -22,7 +22,7 @@ path = location.pathname.substring(0, location.pathname.lastIndexOf('/')) + '/fr var B = document.getElementById('B').contentWindow; var C = document.getElementById('C').contentWindow; B.frameElement.uriToLoad = path; -C.frameElement.uriToLoad = 'http://www1.web-platform.test:' + location.port + path; +C.frameElement.uriToLoad = '//{{domains[www1]}}:' + location.port + path; function reloadSubframes(cb) { var iframes = document.getElementsByTagName('iframe'); @@ -51,7 +51,7 @@ function addTest(fun, desc) { testList.push([fun, desc]); } */ addTest(function() { - assert_equals(location.host, 'web-platform.test:8000', 'Need to run the top-level test from web-platform.test:8000'); + assert_equals(location.host, '{{domains[]}}:{{location[port]}}', 'Need to run the top-level test from {{domains[]}}:{{location[port]}}'); assert_equals(B.parent, window, "window.parent works same-origin"); assert_equals(C.parent, window, "window.parent works cross-origin"); assert_equals(B.location.pathname, path, "location.href works same-origin"); @@ -317,7 +317,7 @@ function doDocumentDomainTest(cb) { win.close(); cb(); }); - var win = window.open('win-documentdomain.html'); + var win = window.open('win-documentdomain.sub.html'); } // We do a fresh load of the subframes for each test to minimize side-effects. diff --git a/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.html b/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.sub.html similarity index 86% rename from tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.html rename to tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.sub.html index 363819c3252..d1b0e0dd112 100644 --- a/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.html +++ b/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.sub.html @@ -10,9 +10,9 @@ var path = location.pathname.substring(0, location.pathname.lastIndexOf('/')) + '/frame.html'; A.location = 'frame.html'; - B.location = frameURI = 'http://www2.web-platform.test:' + location.port + path; - C.location = frameURI = 'http://www2.web-platform.test:' + location.port + path; - D.location = frameURI = 'http://www1.web-platform.test:' + location.port + path; + B.location = '//{{domains[www2]}}:' + location.port + path; + C.location = '//{{domains[www2]}}:' + location.port + path; + D.location = '//{{domains[www1]}}:' + location.port + path; var loadCount = 0; function frameLoaded() { diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html new file mode 100644 index 00000000000..0191fa61e15 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html @@ -0,0 +1,3 @@ + +

Follow this link to open a new browsing context and then confirm it can be closed: +link. diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-manual.html b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-manual.html new file mode 100644 index 00000000000..f5879ee6d75 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-manual.html @@ -0,0 +1,10 @@ +

    +
  1. After clicking these two links in order a single browsing context should be open showing + example.org: + one, + two. + +

  2. After clicking these two links two browsing contexts should have been opened: + one, + two. +

diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-window-name.sub.html b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-window-name.sub.html new file mode 100644 index 00000000000..790c22157c8 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-cross-origin-window-name.sub.html @@ -0,0 +1,3 @@ + +

Follow this link to open a new browsing context and then confirm it says "idonteven": +link. diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-window-name.html b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-window-name.html new file mode 100644 index 00000000000..37aea98f5c5 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer-window-name.html @@ -0,0 +1,40 @@ + +rel=noreferrer and reuse of names + + +

+ diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer.html b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer.html new file mode 100644 index 00000000000..c072486b0a0 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/noreferrer.html @@ -0,0 +1,25 @@ + +rel=noreferrer nullifies window.opener + + +
+ diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/support-close.html b/tests/wpt/web-platform-tests/html/browsers/windows/support-close.html new file mode 100644 index 00000000000..38ec2aef5c3 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/support-close.html @@ -0,0 +1 @@ +

Clicking this button should close this browsing context: diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/support-named-null-opener.html b/tests/wpt/web-platform-tests/html/browsers/windows/support-named-null-opener.html new file mode 100644 index 00000000000..8c106ca8862 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/support-named-null-opener.html @@ -0,0 +1,8 @@ + diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/support-nested-browsing-contexts.html b/tests/wpt/web-platform-tests/html/browsers/windows/support-nested-browsing-contexts.html new file mode 100644 index 00000000000..e92b69d7e73 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/support-nested-browsing-contexts.html @@ -0,0 +1,12 @@ + + + diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/support-opener-null.html b/tests/wpt/web-platform-tests/html/browsers/windows/support-opener-null.html new file mode 100644 index 00000000000..c734eb3056d --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/support-opener-null.html @@ -0,0 +1,4 @@ + diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/support-post-to-opener.html b/tests/wpt/web-platform-tests/html/browsers/windows/support-post-to-opener.html new file mode 100644 index 00000000000..453fec97a78 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/support-post-to-opener.html @@ -0,0 +1,8 @@ + diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/support-window-name-echo.html b/tests/wpt/web-platform-tests/html/browsers/windows/support-window-name-echo.html new file mode 100644 index 00000000000..a437fecb2c4 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/support-window-name-echo.html @@ -0,0 +1 @@ + diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html b/tests/wpt/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html new file mode 100644 index 00000000000..65b9fbf309d --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html @@ -0,0 +1,38 @@ + + + + + Targeting nested browsing contexts + + + + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm index fbdb7f75551..d6c2abe7d57 100644 --- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm @@ -1,6 +1,4 @@ javascript: URL creating a document in an about:blank iframe - - diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html index 528d3c80773..1119f818f95 100644 --- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html @@ -1,7 +1,7 @@ DOM Image constructor Test - + diff --git a/tests/wpt/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html b/tests/wpt/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html index af497b40959..c50ea73170d 100644 --- a/tests/wpt/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html +++ b/tests/wpt/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html @@ -47,7 +47,8 @@ autocompletetest(document.forms.autocomplete_off, ["off", "off", "on", "off", ""], "form autocomplete attribute off"); autocompletetest(document.forms.autocomplete_invalid, ["on", "on", "on", "off", ""], "form autocomplete attribute invalid"); - var keywords = [ "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "organization-title", "organization", "street-address", "address-line1", "address-line2", "address-line3", "locality", "region", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "url", "photo", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-local-prefix", "tel-local-suffix", "tel-extension", "email", "impp" ]; + var keywords = [ "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "username", "new-password", "current-password", "organization-title", "organization", "street-address", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "url", "photo", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-local-prefix", "tel-local-suffix", "tel-extension", "email", "impp" ]; + keywords.forEach(function(keyword) { test(function(){ var input = document.createElement("input"); diff --git a/tests/wpt/web-platform-tests/html/semantics/forms/the-option-element/option-selected.html b/tests/wpt/web-platform-tests/html/semantics/forms/the-option-element/option-selected.html index 0a9977a62f8..e18e90b853b 100644 --- a/tests/wpt/web-platform-tests/html/semantics/forms/the-option-element/option-selected.html +++ b/tests/wpt/web-platform-tests/html/semantics/forms/the-option-element/option-selected.html @@ -2,7 +2,7 @@ HTMLOptionElement.selected - +

diff --git a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html index 85d1f7b9def..34b9fe1bf18 100644 --- a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html +++ b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html @@ -4,7 +4,7 @@ HTML Templates: Template element as a descendant of the frameset element. - + diff --git a/tests/wpt/web-platform-tests/html/webappapis/animation-frames/callback-multicalls.html b/tests/wpt/web-platform-tests/html/webappapis/animation-frames/callback-multicalls.html index 90e75a1f405..38f34171ea9 100644 --- a/tests/wpt/web-platform-tests/html/webappapis/animation-frames/callback-multicalls.html +++ b/tests/wpt/web-platform-tests/html/webappapis/animation-frames/callback-multicalls.html @@ -2,7 +2,7 @@ AnimationTiming Test: multiple calls to requestAnimationFrame with the same callback - +
diff --git a/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html b/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html index 40b7c27c333..ed2f70e196e 100644 --- a/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html +++ b/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html @@ -1,7 +1,7 @@ Task and Microtask Ordering - + diff --git a/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html b/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html index a5bb59a99b4..c14a043b6ab 100644 --- a/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html +++ b/tests/wpt/web-platform-tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html @@ -1,7 +1,7 @@ Task and Microtask Ordering - + diff --git a/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/get-navigatorlanguage-manual.html b/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/get-navigatorlanguage-manual.html index 8198df6f0a9..4bdab91121d 100644 --- a/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/get-navigatorlanguage-manual.html +++ b/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/get-navigatorlanguage-manual.html @@ -2,7 +2,7 @@ NavigatorLanguage: navigator.language returns the user's preferred language - +

Precondition

diff --git a/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigatorlanguage.html b/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigatorlanguage.html index 72503f7505e..d56df8a3d85 100644 --- a/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigatorlanguage.html +++ b/tests/wpt/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigatorlanguage.html @@ -2,7 +2,7 @@ NavigatorLanguage: the most preferred language is the one returned by navigator.language - +
diff --git a/tests/wpt/web-platform-tests/url/resources/testharness-extras.js b/tests/wpt/web-platform-tests/url/resources/testharness-extras.js deleted file mode 100644 index c812ca64d19..00000000000 --- a/tests/wpt/web-platform-tests/url/resources/testharness-extras.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Extending the W3C testharness.js with locally useful functionality. -*/ - -function assert_type_error(f, msg) { - assert_throws(TypeError(), f, msg); -} - -function assert_syntax_error(f, msg) { - assert_throws(SyntaxError(), f, msg); -} diff --git a/tests/wpt/web-platform-tests/url/urlsearchparams-constructor.html b/tests/wpt/web-platform-tests/url/urlsearchparams-constructor.html index e2d7b11c100..4e4d5dac35c 100644 --- a/tests/wpt/web-platform-tests/url/urlsearchparams-constructor.html +++ b/tests/wpt/web-platform-tests/url/urlsearchparams-constructor.html @@ -5,7 +5,6 @@ - + + + +
+ +