summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/server/subdomain-flag.www.sub.window.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/infrastructure/server/subdomain-flag.www.sub.window.js')
-rw-r--r--testing/web-platform/tests/infrastructure/server/subdomain-flag.www.sub.window.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/server/subdomain-flag.www.sub.window.js b/testing/web-platform/tests/infrastructure/server/subdomain-flag.www.sub.window.js
new file mode 100644
index 0000000000..9b4140340a
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/server/subdomain-flag.www.sub.window.js
@@ -0,0 +1,5 @@
+test(() => {
+ assert_equals(location.hostname, "{{domains[www]}}");
+}, "Use of .www. file name flag implies www subdomain");
+
+done();