js/xpconnect/crashtests/806751.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/crashtests/806751.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var frame = document.getElementById("frame");
    1.12 +  var frameWin = frame.contentWindow;
    1.13 +  var frameWinner = Object.create(frameWin);
    1.14 +  var v = frameWinner.captureEvents.bind(frameWinner);
    1.15 +  frame.src = "local-file-not-found";
    1.16 +  setTimeout(function() { setTimeout(finish); v(0); });
    1.17 +}
    1.18 +
    1.19 +function finish() {
    1.20 +  document.documentElement.removeAttribute('class');
    1.21 +}
    1.22 +
    1.23 +</script>
    1.24 +</head>
    1.25 +
    1.26 +<body onload="boom();">
    1.27 +<iframe id="frame" src="data:text/html,1"></iframe>
    1.28 +</body>
    1.29 +</html>

mercurial