Bug 841958 - <reftest-wait> avoids JS SecurityError in crashtest 822197.html. r=jesup

This commit is contained in:
Jan-Ivar Bruaroey 2013-02-16 19:55:41 -05:00
parent 7af4e94e2a
commit 837e9ad9b7

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html class="reftest-wait">
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=822197
-->
@ -9,15 +9,20 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822197
<script type="application/javascript">
var pcArray = [];
function finish() {
document.documentElement.removeAttribute("class");
}
function start() {
for(var i = 0; i < 70; i++) {
var pc = new mozRTCPeerConnection();
pc.createOffer(function() {}, function() {});
pcArray.push(pc);
}
finish();
}
</script>
</head>
<body onload="start();"></body>
<body onload="setTimeout(start, 100)">
</html>