Bug 575870 - Enable the firefox button on xp themed, classic, and aero basic. r=dao...
[mozilla-central.git] / layout / reftests / bugs / 459443-1.html
blob3ff19d1822fbcc61ec6d23808dc678ae28e74f26
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);
20 f.document.close();
21 </script>
22 </body>
23 </html>