summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
blob: 1adee718f15d1a6b82af41955252fe42d36f42aa (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 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>