Attempt to fix bug 1137717 by focusing the test frame
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 02 Mar 2015 14:17:38 -0500
changeset 261790 6195f1c0b532cb045eae68e150e522761153d750
parent 261738 0b3c520002adf11e3d1f6147ad1b4c58a99be82e
child 261791 1748c99efd92fb89983c2ee34de44d35c570344d
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1137717
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Attempt to fix bug 1137717 by focusing the test frame
layout/base/tests/bug1132768-1.html
--- a/layout/base/tests/bug1132768-1.html
+++ b/layout/base/tests/bug1132768-1.html
@@ -1,13 +1,14 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
   <script src="/tests/SimpleTest/EventUtils.js"></script>
   <script>
     function test() {
+      focus();
       synthesizeMouseAtCenter(document.querySelector("span"), {});
     }
     function focused() {
       document.documentElement.removeAttribute("class");
     }
   </script>
   <body onload="setTimeout(test, 0)">
     <div contenteditable spellcheck="false" onfocus="focused()"