mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d824b10c2e
--HG-- rename : dom/tests/mochitest/orientation/test_bug507902.html => dom/tests/mochitest/orientation/bug507902-frame.html
31 lines
674 B
HTML
31 lines
674 B
HTML
<!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>
|
|
|