summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/infrastructure/specialPowers/specialpowers.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/infrastructure/specialPowers/specialpowers.html')
-rw-r--r--testing/web-platform/mozilla/tests/infrastructure/specialPowers/specialpowers.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/infrastructure/specialPowers/specialpowers.html b/testing/web-platform/mozilla/tests/infrastructure/specialPowers/specialpowers.html
new file mode 100644
index 0000000000..38615028d2
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/infrastructure/specialPowers/specialpowers.html
@@ -0,0 +1,7 @@
+<title>Check specialPowers is available in gecko-only tests</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<script>
+test(() => assert_equals(SpecialPowers.sanityCheck(), "foo"))
+</script>