Back out 700eb783676a (bug 678420) to try to stem the tide of Windows test_reftests_with_caret.html failures on a CLOSED TREE
authorPhil Ringnalda <philringnalda@gmail.com>
Wed, 17 Aug 2011 23:59:10 -0700
changeset 75415 8b970cb862f2e83f942a59261a5602400f726441
parent 75414 0423f32a805431316f0a3cbb643c508ac1aa66ec
child 75458 f69a10f23bf334215464758d71ad900542856f5a
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
bugs678420
milestone9.0a1
backs out700eb783676a0609afcf4cf8b0a2897961a5df6b
Back out 700eb783676a (bug 678420) to try to stem the tide of Windows test_reftests_with_caret.html failures on a CLOSED TREE
layout/base/tests/bug613433-1.html
layout/base/tests/bug613433-2.html
layout/base/tests/bug613433-3.html
--- a/layout/base/tests/bug613433-1.html
+++ b/layout/base/tests/bug613433-1.html
@@ -7,18 +7,18 @@
         overflow-x: auto;
       }
     </style>
     <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     <script>
       function test() {
         document.querySelector("div").focus();
         // type a character, then press backspace to delete it
-        sendKey("X", "div1");
-        sendKey("BACK_SPACE", "div1");
+        sendKey("X", window);
+        sendKey("BACK_SPACE", window);
         document.documentElement.removeAttribute("class");
       }
     </script>
   </head>
   <body onload="test()">
-    <div id="div1" contenteditable></div>
+    <div contenteditable></div>
   </body>
 </html>
--- a/layout/base/tests/bug613433-2.html
+++ b/layout/base/tests/bug613433-2.html
@@ -7,18 +7,18 @@
         overflow-y: auto;
       }
     </style>
     <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     <script>
       function test() {
         document.querySelector("div").focus();
         // type a character, then press backspace to delete it
-        sendKey("X", "div1");
-        sendKey("BACK_SPACE", "div1");
+        sendKey("X", window);
+        sendKey("BACK_SPACE", window);
         document.documentElement.removeAttribute("class");
       }
     </script>
   </head>
   <body onload="test()">
-    <div id="div1" contenteditable></div>
+    <div contenteditable></div>
   </body>
 </html>
--- a/layout/base/tests/bug613433-3.html
+++ b/layout/base/tests/bug613433-3.html
@@ -7,18 +7,18 @@
         overflow: auto;
       }
     </style>
     <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     <script>
       function test() {
         document.querySelector("div").focus();
         // type a character, then press backspace to delete it
-        sendKey("X", "div1");
-        sendKey("BACK_SPACE", "div1");
+        sendKey("X", window);
+        sendKey("BACK_SPACE", window);
         document.documentElement.removeAttribute("class");
       }
     </script>
   </head>
   <body onload="test()">
-    <div id="div1" contenteditable></div>
+    <div contenteditable></div>
   </body>
 </html>