summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html')
-rw-r--r--testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html b/testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html
new file mode 100644
index 000000000..5c75c1160
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<title>Example pref test</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<p>Test requires the pref browser.display.foreground_color to be set to #00FF00</p>
+<script>
+test(function() {
+ assert_equals(getComputedStyle(document.body).color, "rgb(0, 0, 0)");
+}, "Test that pref was reset");
+</script>