summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html
blob: 8e5e2989bf7299f422c9dc0c13f2c7298f0dff52 (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, 255, 0)");
}, "Test that pref was set");
</script>