testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
author Joel Maher <jmaher@mozilla.com>
Wed, 05 Mar 2014 10:32:02 -0500
changeset 189259 f8d98d12013595375f61a60a658fbd6c3deeb734
parent 173533 testing/mochitest/tests/test_SpecialPowersExtension2.html@1ae80631738afab72c91ffd7c6d1ebd741a8beb3
child 528457 c9c0c6f2eed54a187e124942e53c3660b4cf17d8
permissions -rw-r--r--
Bug 971025 - move testing/mochitest/test/test_* to testing/mochitest/test/Harness_sanity. r=ted

<!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>