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 | <!doctype html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head><title>Bug 718516</title> |
michael@0 | 4 | <script> |
michael@0 | 5 | function start () |
michael@0 | 6 | { |
michael@0 | 7 | firstDirElement = document.createElement('dir'); |
michael@0 | 8 | firstDirElement.style.cssText = '-moz-stack-sizing: ignore;' + |
michael@0 | 9 | ' -moz-column-width: 16385px;'; |
michael@0 | 10 | textPathElement = document |
michael@0 | 11 | .createElementNS('http://www.w3.org/2000/svg', 'textPath'); |
michael@0 | 12 | firstDirElement.appendChild(textPathElement); |
michael@0 | 13 | textPathParent = textPathElement.parentElement; |
michael@0 | 14 | firstDivElement = document.createElement('div'); |
michael@0 | 15 | document.body.appendChild(firstDivElement); |
michael@0 | 16 | centerElement = document.createElement('center'); |
michael@0 | 17 | firstDivElement.appendChild(centerElement); |
michael@0 | 18 | firstIFrameElement = document.createElement('iframe'); |
michael@0 | 19 | firstIFrameElement.src = 'data:text/html,%3Cdatalist%20id%3D%27' |
michael@0 | 20 | + 'element0%27%3E%3Cscript%20id%3D%27element2%27%3Ex%20x'; |
michael@0 | 21 | firstIFrameElement.id = 'ifr37311'; |
michael@0 | 22 | centerElement.ownerDocument.documentElement |
michael@0 | 23 | .appendChild(firstIFrameElement); |
michael@0 | 24 | window.setTimeout('start_dataiframe0()', 100); |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | function start_dataiframe0 () |
michael@0 | 28 | { |
michael@0 | 29 | element2 = centerElement.ownerDocument.getElementById('ifr37311') |
michael@0 | 30 | .contentDocument.getElementById('element2'); |
michael@0 | 31 | secondDirElement = document.createElement('dir'); |
michael@0 | 32 | secondDirElement.style.cssText = |
michael@0 | 33 | 'visibility: inherit;-moz-column-count: 32771;'; |
michael@0 | 34 | feOffsetElement = document |
michael@0 | 35 | .createElementNS('http://www.w3.org/2000/svg', 'feOffset'); |
michael@0 | 36 | centerElement.style.position = 'absolute'; |
michael@0 | 37 | firstIFrameElement.id = 'ifr36578'; |
michael@0 | 38 | element0 = feOffsetElement.ownerDocument.getElementById('ifr36578') |
michael@0 | 39 | .contentDocument |
michael@0 | 40 | .getElementById('element0'); |
michael@0 | 41 | firstIFrameElement = document.createElement('iframe'); |
michael@0 | 42 | element0Clone = element0.cloneNode(true); |
michael@0 | 43 | videoElement = document.createElement('video'); |
michael@0 | 44 | firstDivParent = firstDivElement.offsetParent; |
michael@0 | 45 | firstIFrameElement.id = 'ifr9261'; |
michael@0 | 46 | element0Clone.ownerDocument.documentElement |
michael@0 | 47 | .appendChild(firstIFrameElement); |
michael@0 | 48 | window.setTimeout('start_dataiframe4()', 100); |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | function start_dataiframe4 () |
michael@0 | 52 | { |
michael@0 | 53 | documentElement = element0Clone.ownerDocument |
michael@0 | 54 | .getElementById('ifr9261').contentDocument.documentElement; |
michael@0 | 55 | textPathParent.appendChild(videoElement); |
michael@0 | 56 | centerElement.appendChild(element2.lastChild); |
michael@0 | 57 | documentElement.appendChild(secondDirElement); |
michael@0 | 58 | firstDirElement.style.position = 'relative'; |
michael@0 | 59 | document.body.appendChild(firstDirElement); |
michael@0 | 60 | firstDirElement.appendChild(firstDivElement); |
michael@0 | 61 | secondDirElement.appendChild(firstDivParent); |
michael@0 | 62 | } |
michael@0 | 63 | </script> |
michael@0 | 64 | </head> |
michael@0 | 65 | <body onload="start()"> |
michael@0 | 66 | A |
michael@0 | 67 | </body> |
michael@0 | 68 | </html> |
michael@0 | 69 | |
michael@0 | 70 |