mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
19
dom/tests/mochitest/bugs/devicemotion_outer.html
Normal file
19
dom/tests/mochitest/bugs/devicemotion_outer.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
var total = 50;
|
||||
var loaded = 0;
|
||||
for (var i = 0; i < total; i++) {
|
||||
var f = document.createElement("iframe");
|
||||
document.body.appendChild(f);
|
||||
f.onload = function() {
|
||||
loaded++;
|
||||
if (loaded == total - 1)
|
||||
document.location.replace("about:blank");
|
||||
}
|
||||
f.setAttribute('src', 'devicemotion_inner.html');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue