dom/tests/mochitest/orientation/bug507902-frame.html
author Nils Maier <maierman@web.de>
Wed, 28 Nov 2012 13:13:13 -0500
changeset 114378 0e5ca55005ae8ef9002ac12472740104fb79fd47
parent 83477 11c676ef0718d1364801598954aa1a52bc383dc0
child 329662 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bug 719180: Part 2 - Add jar channel unit tests; r=taras

<!DOCTYPE HTML>
<html>
<head>
  <title>Frame for watchPosition </title>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
</head>
<body>
<script type="text/javascript">

var ok = window.parent.ok;
var SimpleTest = window.parent.SimpleTest;

function boom()
{
  window.addEventListener("unload", function(){}, false);
  window.addEventListener("devicemotion", function(){}, false);
  location = "data:text/html,2";

  ok(1, "leak will be at the end of mochitests. so pass.");
  SimpleTest.finish();
}

SimpleTest.waitForExplicitFinish();

window.addEventListener("load", function() { setTimeout(boom, 0); }, false);

</script>
</body>
</html>