summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_dir.html
blob: 105d9070c9dceadcdb0cc6471389678c8d2719ab (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 #FF0000</p>
<script>
test(function() {
  assert_equals(getComputedStyle(document.body).color, "rgb(255, 0, 0)");
}, "Test that pref was set");
</script>