mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
afdaddf1d7
--HG-- extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
36 lines
727 B
HTML
36 lines
727 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=801227
|
|
-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Abort due to page reload</title>
|
|
<script type="application/javascript">
|
|
var pc = new RTCPeerConnection();
|
|
|
|
var index = localStorage.index || 0;
|
|
if (index < 3) {
|
|
localStorage.index = index + 1;
|
|
window.location.reload();
|
|
}
|
|
|
|
function finish() {
|
|
delete localStorage["index"];
|
|
|
|
pc.close();
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
navigator.mozGetUserMedia({ audio: true, fake: true }, function (aStream) {
|
|
pc.addStream(aStream);
|
|
finish();
|
|
}, finish);
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
</body>
|
|
</html>
|
|
|