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.
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
3 <body><div contenteditable="true"></div><div><input id="i"><div></div></input></div></body>
5 <script id="s">
6 <![CDATA[
8 function boom()
9 {
10 document.getElementById("i").focus();
12 try { document.execCommand("stylewithcss", false, "true") } catch(e) { }
13 try { document.execCommand("inserthtml", false, "<x>X</x>"); } catch(e) { }
14 try { document.execCommand("underline", false, null); } catch(e) { }
15 try { document.execCommand("justifyfull", false, null); } catch(e) { }
16 try { document.execCommand("underline", false, null); } catch(e) { }
17 try { document.execCommand("insertParagraph", false, null); } catch(e) { }
18 try { document.execCommand("delete", false, null); } catch(e) { }
20 try { document.execCommand("stylewithcss", false, "false") } catch(e) { }
21 try { document.execCommand("inserthtml", false, "<x>X</x>"); } catch(e) { }
22 try { document.execCommand("underline", false, null); } catch(e) { }
23 try { document.execCommand("justifyfull", false, null); } catch(e) { }
24 try { document.execCommand("underline", false, null); } catch(e) { }
25 try { document.execCommand("insertParagraph", false, null); } catch(e) { }
26 try { document.execCommand("delete", false, null); } catch(e) { }
28 document.documentElement.removeAttribute("class");
29 }
31 setTimeout(boom, 10);
33 ]]>
34 </script>
36 </html>