diff --git a/clear-site-data/support/test_utils.sub.js b/clear-site-data/support/test_utils.sub.js index a1085375db2cfe..235273bd5ba4cb 100644 --- a/clear-site-data/support/test_utils.sub.js +++ b/clear-site-data/support/test_utils.sub.js @@ -267,7 +267,7 @@ var TestUtils = (function() { throw "Unsupported scheme: " + page_scheme; if (resource_scheme != "https" && resource_scheme != "http") throw "Unsupported scheme: " + resource_scheme; - return page_scheme + "://web-platform.test:" + + return page_scheme + "://{{domains[]}}:" + (page_scheme == "https" ? {{ports[https][0]}} : {{ports[http][0]}}) + "/clear-site-data/support/page_with_resource.sub.html?scheme=" + resource_scheme; diff --git a/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html b/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html index 6a0f0a1e76e819..408c0116eb9db0 100644 --- a/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html +++ b/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html @@ -5,7 +5,7 @@ - + @@ -22,7 +22,7 @@ -

test wildcard host name matching (*.web-platform.test is good)

+

test wildcard host name matching (asterisk as a subdomain of the current domain)

diff --git a/content-security-policy/generic/generic-0_8_1.sub.html b/content-security-policy/generic/generic-0_8_1.sub.html index 1a2096f78ebe06..c2d968b3664739 100644 --- a/content-security-policy/generic/generic-0_8_1.sub.html +++ b/content-security-policy/generic/generic-0_8_1.sub.html @@ -1,7 +1,7 @@ - test wildcard host name matching (www*.web-platform.test is bad, *www.web-platform.test is bad) + test wildcard host name matching (asterisk as part of a subdomain is not accepted) @@ -20,7 +20,7 @@ -

test wildcard host name matching (www*.web-platform.test is bad, *www.web-platform.test is bad)

+

test wildcard host name matching (asterisk as part of a subdomain is not accepted)

diff --git a/content-security-policy/nonce-hiding/script-nonces-hidden-meta.tentative.html b/content-security-policy/nonce-hiding/script-nonces-hidden-meta.tentative.sub.html similarity index 97% rename from content-security-policy/nonce-hiding/script-nonces-hidden-meta.tentative.html rename to content-security-policy/nonce-hiding/script-nonces-hidden-meta.tentative.sub.html index 7209ea78125d7c..c171bdc66d76b5 100644 --- a/content-security-policy/nonce-hiding/script-nonces-hidden-meta.tentative.html +++ b/content-security-policy/nonce-hiding/script-nonces-hidden-meta.tentative.sub.html @@ -124,7 +124,7 @@ var script = document.querySelector('#cssTest'); var style = getComputedStyle(script); assert_equals(style['display'], 'block'); - assert_equals(style['background-image'], "url(\"http://web-platform.test:8001/security/resources/abe.png\")"); + assert_equals(style['background-image'], "url(\"http://{{domains[]}}:8001/security/resources/abe.png\")"); })); }, "Nonces leak via CSS side-channels."); diff --git a/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.tentative.html b/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.tentative.sub.html similarity index 98% rename from content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.tentative.html rename to content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.tentative.sub.html index a283869c18e1f8..5863fc864829b7 100644 --- a/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.tentative.html +++ b/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.tentative.sub.html @@ -109,7 +109,7 @@ var script = document.querySelector('#cssTest'); var style = getComputedStyle(script); assert_equals(style['display'], 'block'); - assert_equals(style['background-image'], "url(\"http://web-platform.test:8001/security/resources/abe.png\")"); + assert_equals(style['background-image'], "url(\"http://{{domains[]}}:8001/security/resources/abe.png\")"); })); }, "Nonces don't leak via CSS side-channels."); diff --git a/fetch/api/request/request-structure.html b/fetch/api/request/request-structure.html index 3f82e9c448b0d8..575aa178f5b00f 100644 --- a/fetch/api/request/request-structure.html +++ b/fetch/api/request/request-structure.html @@ -45,7 +45,7 @@ case "url": //default value is base url - //i.e http://web-platform.test:8000/fetch/api/request-structure.html + //i.e http://example.com/fetch/api/request-structure.html newValue = "http://url.test"; break; diff --git a/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html b/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html index 6ffea4fe32aa1a..c687906ba15166 100644 --- a/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html +++ b/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html @@ -11,17 +11,17 @@ - + +

Description

This test validates that the values of nav timing 2 instance's timing-related attributes are in certain order and the others are of expected values.

+

Description

This test validates that nav timing 2 instance can be accessed by three different accessors once available: window.performance.getEntries()/getEntriesByType("navigation")/getEntriesByName("document")

- + - +