Closed Bug 1580692 Opened 5 years ago Closed 5 years ago

Intermittent TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/switch_to_frame/cross_origin.py | expected OK

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure, regression)

The actual problem here is that we are trying to access frameElement on a cross-origin object:

[task 2019-09-12T07:18:13.340Z] 07:18:13 INFO - PID 13944 | JavaScript error: chrome://marionette/content/listener.js, line 1542: SecurityError: Permission denied to access property "frameElement" on cross-origin object
[task 2019-09-12T07:18:37.896Z] 07:18:37 INFO - TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/switch_to_frame/cross_origin.py | expected OK

Here the source code:

https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/testing/marionette/listener.js

The unexpected timeout is a different problem which should not happen. As it looks like we don't catch this error anywhere, and as such hang forever in the WebDriver:SwitchToFrame command.

I will file two new bugs for Marionette this bug will depend on.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.