summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html
blob: 5c75c1160522ce81414eddee4b94ccae21785a22 (plain)
1
2
3
4
5
6
7
8
9
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>