Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 HTML_NS = "http://www.w3.org/1999/xhtml"; |
michael@0 | 9 | var outer, inner, q; |
michael@0 | 10 | |
michael@0 | 11 | function a() |
michael@0 | 12 | { |
michael@0 | 13 | outer = document.createElementNS(HTML_NS, "div"); |
michael@0 | 14 | inner = document.createElementNS(HTML_NS, "div"); |
michael@0 | 15 | |
michael@0 | 16 | inner.appendChild(document.createElementNS(HTML_NS, "iframe")); |
michael@0 | 17 | inner.appendChild(document.createElementNS(HTML_NS, "div")); |
michael@0 | 18 | inner.appendChild(q = document.createElementNS(HTML_NS, "span")); |
michael@0 | 19 | |
michael@0 | 20 | outer.appendChild(inner); |
michael@0 | 21 | document.documentElement.appendChild(outer); |
michael@0 | 22 | setTimeout(b, 10); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | function b() |
michael@0 | 26 | { |
michael@0 | 27 | outer.appendChild(document.createElementNS(HTML_NS, "span")); |
michael@0 | 28 | setTimeout(c, 10); |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | function c() |
michael@0 | 32 | { |
michael@0 | 33 | q.appendChild(document.createElementNS(HTML_NS, "div")); |
michael@0 | 34 | document.documentElement.removeAttribute("class"); |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | a(); |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | window.addEventListener("load", boom, false); |
michael@0 | 41 | |
michael@0 | 42 | </script> |
michael@0 | 43 | </head> |
michael@0 | 44 | |
michael@0 | 45 | <frameset></frameset> |
michael@0 | 46 | |
michael@0 | 47 | </html> |