Bug 942411 - Change the frame height to force a reflow and renable the test on Linux to see if it helps. r=smaug, a=test-only
authorNeil Deakin <neil@mozilla.com>
Tue, 17 Mar 2015 08:05:07 -0400
changeset 252088 b8ec30b0a437
parent 252087 62a72d33d16b
child 252089 2cca5b090036
push id698
push userjlund@mozilla.com
push date2015-03-23 22:08 +0000
treeherdermozilla-release@b0c0ae7b02a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, test-only
bugs942411
milestone37.0
Bug 942411 - Change the frame height to force a reflow and renable the test on Linux to see if it helps. r=smaug, a=test-only
dom/html/test/mochitest.ini
dom/html/test/test_ignoreuserfocus.html
--- a/dom/html/test/mochitest.ini
+++ b/dom/html/test/mochitest.ini
@@ -513,17 +513,17 @@ skip-if = buildapp == 'mulet' || buildap
 [test_track.html]
 [test_track_disabled.html]
 [test_ul_attributes_reflection.html]
 [test_undoManager.html]
 [test_video_wakelock.html]
 skip-if = toolkit == 'android' || (toolkit == 'gonk' && debug) #bug 871015, bug 881443
 [test_input_files_not_nsIFile.html]
 [test_ignoreuserfocus.html]
-skip-if = (toolkit == 'gonk' && debug) || (os == 'linux' && e10s && debug) # bug 942411
+skip-if = (toolkit == 'gonk' && debug)
 [test_fragment_form_pointer.html]
 [test_bug1682.html]
 [test_bug1823.html]
 [test_bug57600.html]
 [test_bug196523.html]
 skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || e10s #Bug 931116, b2g desktop specific, initial triage
 [test_bug199692.html]
 skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == 'android' || e10s #bug 811644 #Bug 931116, b2g desktop specific, initial triage
--- a/dom/html/test/test_ignoreuserfocus.html
+++ b/dom/html/test/test_ignoreuserfocus.html
@@ -122,20 +122,20 @@
               synthesizeKey("VK_TAB", {});
               isnot(document.activeElement, iframe, "[synthesize tab key] iframe should not have the focus");
               is(document.activeElement, witness2, "witness2 should have the focus");
 
               SimpleTest.finish();
             });
             witness.focus();
             // force reflow
-            var reflow = iframe.offsetLeft;
+            iframe.setAttribute("height", "298px");
           });
           // force reflow
-          var reflow = iframe.offsetLeft;
+          iframe.setAttribute("height", "299px");
         });
 
         document.body.appendChild(witness);
         document.body.appendChild(iframe);
         document.body.appendChild(witness2);
 
         iframe.setAttribute("src", "file_ignoreuserfocus.html");
       }