summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
blob: fc77aa82a5b59ec042e352a7cc85d222f7883238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html>
<head>
  <title>Test for SpecialPowers extension</title>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>

<div id="content" class="testbody">
  <script type="text/javascript">
    dump("\nSPECIALPTEST2:::Loading test2 file now " + (new Date).getTime() + "\n");
    is(SpecialPowers.sanityCheck(), "foo", "Special Powers top level");
    ok(!SpecialPowers.Services.prefs.prefHasUserValue('testing.some_arbitrary_pref'),
       "should not retain pref from previous test");
  </script>
  <iframe id="frame1" src="file_SpecialPowersFrame1.html">
  </iframe>
</div>
</body>
</html>