Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <script> |
michael@0 | 5 | |
michael@0 | 6 | function boom() |
michael@0 | 7 | { |
michael@0 | 8 | var frame = document.getElementById("frame"); |
michael@0 | 9 | var frameWin = frame.contentWindow; |
michael@0 | 10 | var frameWinner = Object.create(frameWin); |
michael@0 | 11 | var v = frameWinner.captureEvents.bind(frameWinner); |
michael@0 | 12 | frame.src = "local-file-not-found"; |
michael@0 | 13 | setTimeout(function() { setTimeout(finish); v(0); }); |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | function finish() { |
michael@0 | 17 | document.documentElement.removeAttribute('class'); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | </script> |
michael@0 | 21 | </head> |
michael@0 | 22 | |
michael@0 | 23 | <body onload="boom();"> |
michael@0 | 24 | <iframe id="frame" src="data:text/html,1"></iframe> |
michael@0 | 25 | </body> |
michael@0 | 26 | </html> |