Bug 1322862 - Wait for forward- and back commands to complete; r?maja_zf draft
authorAndreas Tolfsen <ato@mozilla.com>
Thu, 02 Feb 2017 14:08:52 +0000
changeset 469623 621e2f16c14def6c71bab3be9bb7ac69fe46682c
parent 469620 22d048e2a70d8d5d35b0e21bcea19b6e9eb41a69
child 544254 419a3e7e9cf2885f66267cdae63244207d7a55dc
push id43786
push userbmo:ato@mozilla.com
push dateThu, 02 Feb 2017 14:13:31 +0000
reviewersmaja_zf
bugs1322862, 1330348
milestone54.0a1
Bug 1322862 - Wait for forward- and back commands to complete; r?maja_zf The Back and Forward commands are meant to be synchronous and this works around the problem of intermittents on slow try machines until bug 1330348 is fixed. For some reason, the preceding patches make script evaluation quicker and makes navigating back and forward less racy. MozReview-Commit-ID: GRcgMp1Rc6N
gecko.log
testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py
new file mode 100644
--- /dev/null
+++ b/gecko.log
@@ -0,0 +1,136 @@
+Xlib:  extension "GLX" missing on display ":99".
+1486044506594	Marionette	INFO	Listening on port 2828
+Xlib:  extension "GLX" missing on display ":99".
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_about_blank_for_new_docshell
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_about_blank_for_new_docshell
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_error_on_tls_navigation
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_error_on_tls_navigation
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_error_when_exceeding_page_load_timeout
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://marionette/content/listener.js, line 1071: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_error_when_exceeding_page_load_timeout
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_find_element_state_complete
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_find_element_state_complete
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_focus_after_navigation
+Xlib:  extension "GLX" missing on display ":99".
+
+(firefox:20168): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
+Failed to connect to socket /tmp/dbus-VEFVDrB3MV: Connection refused
+1486044511232	Marionette	INFO	Listening on port 2828
+Xlib:  extension "GLX" missing on display ":99".
+
+(firefox:20168): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
+Failed to connect to socket /tmp/dbus-VEFVDrB3MV: Connection refused
+
+(firefox:20168): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
+Failed to connect to socket /tmp/dbus-VEFVDrB3MV: Connection refused
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_focus_after_navigation
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_fragment
+Xlib:  extension "GLX" missing on display ":99".
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_fragment
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_get_current_url
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_get_current_url
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_get_current_url_returns_top_level_browsing_context_url
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_get_current_url_returns_top_level_browsing_context_url
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_go_back
+JavaScript error: chrome://marionette/content/listener.js, line 1427: TypeError: can't access dead object
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_go_back
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_go_forward
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_go_forward
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_html_document_to_image_document
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_html_document_to_image_document
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_image_document_to_image_document
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_image_document_to_image_document
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_invalid_protocol
+Xlib:  extension "GLX" missing on display ":99".
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_invalid_protocol
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_chrome_error
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_chrome_error
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_iframe
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_iframe
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_in_child_frame_changes_to_top
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_in_child_frame_changes_to_top
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_refresh
+JavaScript error: chrome://marionette/content/listener.js, line 1427: TypeError: can't access dead object
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_refresh
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_set_location_through_execute_script
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_set_location_through_execute_script
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_should_navigate_to_requested_about_page
+Xlib:  extension "GLX" missing on display ":99".
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_should_navigate_to_requested_about_page
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_deactivation
+1486044522474	Marionette	WARN	TLS certificate errors will be ignored for this session
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+1486044522539	Marionette	WARN	TLS certificate errors will be ignored for this session
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_deactivation
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_by_click
+1486044522754	Marionette	WARN	TLS certificate errors will be ignored for this session
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_by_click
+MARIONETTE LOG: INFO: TEST-START: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_by_command
+1486044522955	Marionette	WARN	TLS certificate errors will be ignored for this session
+JavaScript error: chrome://webcompat/content/lib/ua_overrider.jsm, line 109: NS_ERROR_HOST_IS_IP_ADDRESS: Component returned failure code: 0x804b0051 (NS_ERROR_HOST_IS_IP_ADDRESS) [nsIEffectiveTLDService.getBaseDomain]
+MARIONETTE LOG: INFO: TEST-END: /home/ato/src/gecko/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:test_navigate_by_command
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py
@@ -73,36 +73,41 @@ class TestNavigate(WindowManagerMixin, M
         self.assertEqual(self.iframe_doc, self.marionette.get_url())
 
     def test_get_current_url(self):
         self.marionette.navigate(self.test_doc)
         self.assertEqual(self.test_doc, self.marionette.get_url())
         self.marionette.navigate("about:blank")
         self.assertEqual("about:blank", self.marionette.get_url())
 
+    # TODO(ato): Remove wait conditions when fixing bug 1330348
     def test_go_back(self):
         self.marionette.navigate(self.test_doc)
         self.assertNotEqual("about:blank", self.location_href)
         self.assertEqual("Marionette Test", self.marionette.title)
         self.marionette.navigate("about:blank")
         self.assertEqual("about:blank", self.location_href)
         self.marionette.go_back()
+        Wait(self.marionette).until(lambda m: self.location_href == self.test_doc)
         self.assertNotEqual("about:blank", self.location_href)
         self.assertEqual("Marionette Test", self.marionette.title)
 
+    # TODO(ato): Remove wait conditions when fixing bug 1330348
     def test_go_forward(self):
         self.marionette.navigate(self.test_doc)
         self.assertNotEqual("about:blank", self.location_href)
         self.assertEqual("Marionette Test", self.marionette.title)
         self.marionette.navigate("about:blank")
         self.assertEqual("about:blank", self.location_href)
         self.marionette.go_back()
+        Wait(self.marionette).until(lambda m: self.location_href == self.test_doc)
         self.assertEqual(self.test_doc, self.location_href)
         self.assertEqual("Marionette Test", self.marionette.title)
         self.marionette.go_forward()
+        Wait(self.marionette).until(lambda m: self.location_href == "about:blank")
         self.assertEqual("about:blank", self.location_href)
 
     def test_refresh(self):
         self.marionette.navigate(self.test_doc)
         self.assertEqual("Marionette Test", self.marionette.title)
         self.assertTrue(self.marionette.execute_script(
             """var elem = window.document.createElement('div'); elem.id = 'someDiv';
             window.document.body.appendChild(elem); return true;"""))