Closed Bug 1360712 Opened 7 years ago Closed 7 years ago

[e10s] Intermittent test_click.py TestClickNavigation.test_click_link_page_load | AssertionError: u'' != 'XHTML Test Page'

Categories

(Testing :: Marionette Client and Harness, defect)

Version 3
defect
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure)

Here an excerpt from the trace log:

1493394297700	Marionette	TRACE	440 -> [0,8,"findElement",{"using":"link text","value":"333333"}]
1493394297734	Marionette	TRACE	440 <- [1,8,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"8340041c-1d2c-4b02-9fe4-33f573883372","ELEMENT":"8340041c-1d2c-4b02-9fe4-33f573883372"}}]
1493394297736	Marionette	TRACE	440 -> [0,9,"clickElement",{"id":"8340041c-1d2c-4b02-9fe4-33f573883372"}]
1493394298346	Marionette	DEBUG	Canceled page load listener because no navigation has been detected
1493394298385	Marionette	TRACE	440 <- [1,9,null,{}]
++DOMWINDOW == 37 (000000B983D8E000) [pid = 2496] [serial = 63] [outer = 000000B9F5A13000]
1493394298401	Marionette	TRACE	440 -> [0,10,"getCurrentUrl",{}]
1493394298458	Marionette	TRACE	440 <- [1,10,null,{"value":"http://127.0.0.1:49324/xhtmlTest.html"}]
1493394298464	Marionette	TRACE	440 -> [0,11,"getTitle",{}]
1493394298494	Marionette	TRACE	440 <- [1,11,null,{"value":""}]

The click was performed on a link which should have caused a page load. But even after 600ms no `beforeunload` or `unload` event has been triggered. But then querying for the current URL just 15ms later, we get the new page returned. But it hasn't been finished loading yet, given that the title of the page is empty.

Builds affected here are all e10s debug, and that mainly on Windows but also a single one on OS X. The failures started on April 28th. So maybe related to bug 1360466, and the change from `event.originalTarget` to `event.target`. But not sure why, given that MDN says that this property has to be used.
Summary: Intermittent test_click.py TestClickNavigation.test_click_link_page_load | AssertionError: u'' != 'XHTML Test Page' → [e10s] Intermittent test_click.py TestClickNavigation.test_click_link_page_load | AssertionError: u'' != 'XHTML Test Page'
I think this is basically the same underlying issue as bug 1357634, because we don't use `beforeunload` yet.
Depends on: 1357634
Fixed by bug 1357634.
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.