Bug 1334035 - Skip Marionette test_window_set_timeout_is_not_cancelled on Android. a=test-only
authorGeoff Brown <gbrown@mozilla.com>
Tue, 28 Mar 2017 08:15:13 -0600
changeset 379302 2afe68eea810d63d40ba5dbf90e16dcdab6212b8
parent 379301 4409827e99061e88046683099035c4be8d1527db
child 379303 cd0437785fe3e212015c6389fe2e33722442d4ce
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1334035
milestone53.0
Bug 1334035 - Skip Marionette test_window_set_timeout_is_not_cancelled on Android. a=test-only
testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
@@ -234,16 +234,17 @@ class TestExecuteContent(MarionetteTestC
 
         self.assertTrue(send("return typeof Components.utils == 'undefined'"))
         self.assertTrue(send("return typeof window.wrappedJSObject == 'undefined'"))
 
     def test_no_callback(self):
         self.assertTrue(self.marionette.execute_script(
             "return typeof arguments[0] == 'undefined'"))
 
+    @skip_if_mobile("Intermittent on Android - bug 1334035")
     def test_window_set_timeout_is_not_cancelled(self):
         def content_timeout_triggered(mn):
             return mn.execute_script("return window.n", sandbox=None) > 0
 
         # subsequent call to execute_script after this
         # should not cancel the setTimeout event
         self.marionette.navigate(inline("""
             <script>