Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 4 | |
michael@0 | 5 | <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();" class="reftest-wait"> |
michael@0 | 6 | <script type="text/javascript"> |
michael@0 | 7 | // <![CDATA[ |
michael@0 | 8 | |
michael@0 | 9 | var HTML_NS = "http://www.w3.org/1999/xhtml"; |
michael@0 | 10 | var MATHML_NS = "http://www.w3.org/1998/Math/MathML"; |
michael@0 | 11 | var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; |
michael@0 | 12 | |
michael@0 | 13 | function boom() |
michael@0 | 14 | { |
michael@0 | 15 | var listbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listbox"); |
michael@0 | 16 | var listitem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listitem"); |
michael@0 | 17 | listbox.appendChild(listitem); |
michael@0 | 18 | document.documentElement.appendChild(listbox); |
michael@0 | 19 | var hbox = document.createElementNS(XUL_NS, "hbox"); |
michael@0 | 20 | listbox.appendChild(hbox); |
michael@0 | 21 | var mphantom = document.createElementNS(MATHML_NS, 'mphantom'); |
michael@0 | 22 | listbox.appendChild(mphantom); |
michael@0 | 23 | var wax = document.createElementNS(MATHML_NS, 'wax'); |
michael@0 | 24 | hbox.appendChild(wax); |
michael@0 | 25 | var msub = document.createElementNS(MATHML_NS, 'msub'); |
michael@0 | 26 | wax.appendChild(msub); |
michael@0 | 27 | var merror = document.createElementNS(MATHML_NS, 'merror'); |
michael@0 | 28 | wax.appendChild(merror); |
michael@0 | 29 | var span = document.createElementNS(HTML_NS, 'span'); |
michael@0 | 30 | mphantom.appendChild(span); |
michael@0 | 31 | var vbox = document.createElementNS(XUL_NS, 'vbox'); |
michael@0 | 32 | span.appendChild(vbox); |
michael@0 | 33 | |
michael@0 | 34 | setTimeout(boom2, 0); |
michael@0 | 35 | |
michael@0 | 36 | function boom2() |
michael@0 | 37 | { |
michael@0 | 38 | var munderover = document.createElementNS(MATHML_NS, 'munderover'); |
michael@0 | 39 | msub.appendChild(munderover); |
michael@0 | 40 | var mtext = document.createElementNS(MATHML_NS, 'mtext'); |
michael@0 | 41 | span.appendChild(mtext); |
michael@0 | 42 | |
michael@0 | 43 | document.documentElement.removeAttribute("class"); |
michael@0 | 44 | } |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | // ]]> |
michael@0 | 48 | </script> |
michael@0 | 49 | </window> |