|
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
|
2 |
|
3 <head> |
|
4 |
|
5 <script> |
|
6 |
|
7 function init() |
|
8 { |
|
9 var foopy = document.getElementById("foopy"); |
|
10 var emb = document.getElementById("emb"); |
|
11 |
|
12 try { |
|
13 foopy.appendChild(SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(emb))[0]); |
|
14 emb.parentNode.removeChild(emb); |
|
15 foopy.parentNode.removeChild(foopy); |
|
16 } catch (e) { |
|
17 } |
|
18 |
|
19 document.documentElement.removeAttribute("class"); |
|
20 } |
|
21 |
|
22 |
|
23 window.addEventListener("load", function() { setTimeout(init, 30); }, false); |
|
24 |
|
25 </script> |
|
26 |
|
27 </head> |
|
28 <body> |
|
29 |
|
30 <div id="foopy"/> |
|
31 |
|
32 <embed src="data:foo/bar,baz" id="emb" /> |
|
33 |
|
34 </body> |
|
35 </html> |