Bug 575870 - Enable the firefox button on xp themed, classic, and aero basic. r=dao...
[mozilla-central.git] / layout / reftests / bugs / 445004-1.html
blob2535e0164219da58275765d90fc15a4e56f5f9ea
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <script>
5 var loads = 0;
6 function loadStarted() {
7 ++loads;
9 function loadEnded() {
10 --loads;
11 if (loads == 0) {
12 document.documentElement.className = "";
15 loadStarted();
16 window.onload = function() {
17 if (location.protocol != 'file:') {
18 var txt = document.createTextNode('Must be run from file://');
19 var div = document.createElement("div");
20 div.appendChild(txt);
21 document.body.appendChild(div);
23 loadEnded();
25 </script>
26 </head>
27 <body>
28 <iframe width="500" height="200" src="subdir/445004-subframe.html"
29 onload="window.frames[0].doIt();"></iframe>
30 </body>
31 </html>