1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 + <title>Test for SpecialPowers extension</title> 1.8 + <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> 1.9 + <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 1.10 +</head> 1.11 +<body> 1.12 + 1.13 +<div id="content" class="testbody"> 1.14 + <script type="text/javascript"> 1.15 + dump("\nSPECIALPTEST2:::Loading test2 file now " + (new Date).getTime() + "\n"); 1.16 + is(SpecialPowers.sanityCheck(), "foo", "Special Powers top level"); 1.17 + ok(!SpecialPowers.Services.prefs.prefHasUserValue('testing.some_arbitrary_pref'), 1.18 + "should not retain pref from previous test"); 1.19 + </script> 1.20 + <iframe id="frame1" src="file_SpecialPowersFrame1.html"> 1.21 + </iframe> 1.22 +</div> 1.23 +</body> 1.24 +</html>