mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 841958 - <reftest-wait> avoids JS SecurityError in crashtest 822197.html. r=jesup
This commit is contained in:
parent
7af4e94e2a
commit
837e9ad9b7
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user