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 | <html class="reftest-wait"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <title>testcase2 Bug 432114 – Crash [@ PL_DHashTableOperate] with DOMNodeInserted event listener removing window and frameset contenteditable</title> |
michael@0 | 4 | </head> |
michael@0 | 5 | <body> |
michael@0 | 6 | <script> |
michael@0 | 7 | window.addEventListener("DOMNodeRemoved", function() { |
michael@0 | 8 | setTimeout(function() { |
michael@0 | 9 | document.documentElement.removeAttribute("class"); |
michael@0 | 10 | }, 0); |
michael@0 | 11 | }, false); |
michael@0 | 12 | </script> |
michael@0 | 13 | <iframe id="content" src="data:application/xhtml+xml;charset=utf-8,%3Chtml%20xmlns%3D%22http%3A//www.w3.org/1999/xhtml%22%3E%0A%3Cframeset%20contenteditable%3D%22true%22/%3E%0A%3Cscript%3E%0Afunction%20doExecCommand%28%29%7B%0Adocument.execCommand%28%27formatBlock%27%2C%20false%2C%20%27p%27%29%3B%0A%7D%0AsetTimeout%28doExecCommand%2C100%29%3B%0Awindow.addEventListener%28%27DOMNodeRemoved%27%2C%20function%28%29%20%7Bwindow.frameElement.parentNode.removeChild%28window.frameElement%29%3B%7D%2C%20true%29%3B%0A%3C/script%3E%0A%3C/html%3E" style="width:1000px;height: 200px;"></iframe> |
michael@0 | 14 | |
michael@0 | 15 | </body> |
michael@0 | 16 | </html> |