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 395484 7c71bcc3202e972beddfce59d5025d5b27ddc746
parent 395483 9c540a7a8ca3a6271a7fedb2b342444207151250
child 395485 e397c2628d58366f715c052eca41a782f8103fe4
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1334035
milestone54.0a2
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>