mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
20 lines
434 B
HTML
20 lines
434 B
HTML
<!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>
|