Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <body>
4 <iframe id="foo"></iframe>
5 <script type="text/javascript">
6 var n = document.getElementById('foo');
7 var f = n.contentWindow;
8 f.document.open();
9 f.document.write('');
10 f.onload = function() {
11 f.document.designMode = 'on';
12 setTimeout(function() {
13 f.document.designMode='on';
14 f.location = 'data:text/html;charset=utf-8,<body>FAIL<script>document.body.innerHTML="PASS"<\/script>';
15 n.addEventListener("load",
16 function() { document.documentElement.className = ''; },
17 false);
18 }, 0);
19 };
20 f.document.close();
21 </script>
22 </body>
23 </html>