<!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(255, 0, 0)"); | |
}, "Test that pref was set"); | |
</script> |