summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/dom/self-origin.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/dom/self-origin.any.js')
-rw-r--r--testing/web-platform/tests/html/dom/self-origin.any.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/dom/self-origin.any.js b/testing/web-platform/tests/html/dom/self-origin.any.js
new file mode 100644
index 0000000000..c103a32144
--- /dev/null
+++ b/testing/web-platform/tests/html/dom/self-origin.any.js
@@ -0,0 +1,5 @@
+"use strict";
+
+test(function() {
+ assert_equals(self.origin, "http://" + location.host);
+}, "self.origin should be correct");