Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
5 </head>
6 <body>
7 <iframe src="data:text/html,<body spellcheck=false></body>"></iframe>
8 <script>
9 onload = function() {
10 var i = document.querySelector("iframe");
11 var d = i.contentDocument;
12 var w = i.contentWindow;
13 var s = w.getSelection();
14 i.focus();
15 d.body.contentEditable = true;
16 d.body.contentEditable = false;
17 d.designMode = "off";
18 d.designMode = "on";
19 d.body.focus();
20 synthesizeKey("x", {});
21 s.collapse(d.body.firstChild, 1);
22 synthesizeKey("x", {});
23 setTimeout(function() {
24 document.documentElement.removeAttribute("class");
25 }, 0);
26 };
27 </script>
28 </body>
29 </html>