summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/browsers
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/infrastructure/browsers')
-rw-r--r--testing/web-platform/tests/infrastructure/browsers/firefox/prefs.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/browsers/firefox/prefs.html b/testing/web-platform/tests/infrastructure/browsers/firefox/prefs.html
new file mode 100644
index 0000000000..9656aa051e
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/browsers/firefox/prefs.html
@@ -0,0 +1,9 @@
+<title>Ensure that setting gecko prefs works</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+test(function() {
+ assert_equals(getComputedStyle(document.documentElement).color, "rgb(0, 255, 0)")
+});
+</script>
+<p>This should be green</p>