diff options
Diffstat (limited to 'testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html')
-rw-r--r-- | testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html b/testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html new file mode 100644 index 000000000..8e5e2989b --- /dev/null +++ b/testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.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, 255, 0)"); +}, "Test that pref was set"); +</script> |