Open
Bug 1399032
Opened 7 years ago
Updated 2 years ago
WebDriver:SwitchToParentFrame causes hang due to "TypeError: can't access dead object"
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
Details
Originally reported here: https://github.com/mozilla/geckodriver/issues/937
With the attached Marionette testcase we can cause switchToParentFrame to fail:
1505201688795 Marionette TRACE 20 -> [0,34,"switchToParentFrame",{}]
JavaScript error: chrome://marionette/content/listener.js, line 1576: TypeError: can't access dead object
The failure happens with a very low frequency, so using --run-until-failure with --repeat was useful here.
The failing line is:
> function switchToParentFrame(msg) {
> -> curContainer.frame = curContainer.frame.parent;
> let parentElement = seenEls.add(curContainer.frame);
While running the test I have also seen crashes of Firefox in some cases. Maybe that is somehow related.
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Summary: switchToParentFrame() causes hang due to "TypeError: can't access dead object" → WebDriver:SwitchToParentFrame causes hang due to "TypeError: can't access dead object"
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•