Closed Bug 1237698 Opened 9 years ago Closed 9 years ago

Unable to switch to frame that is inside or is itself an anonymous node.

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: yzen, Unassigned)

Details

Attachments

(2 files)

If there is an iframe that is inside and anonymous node or is itself anonymous, switch_to_frame fails with the following error: error: {"error":"no such frame","message":"Unable to locate frame: undefined","stacktrace":null}
Attached patch Failing testcase (deleted) — Splinter Review
I believe this is a valid test case.
--- .../marionette/chrome/test_anonymous_content.xul | 9 +++++++++ .../tests/unit/test_anonymous_content.py | 10 ++++++++++ testing/marionette/driver.js | 23 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) Review commit: https://reviewboard.mozilla.org/r/30203/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/30203/
Attachment #8705828 - Flags: review?(dburns)
Comment on attachment 8705828 [details] MozReview Request: Bug 1237698 - adding support for switch to frame inside anonymous content. https://reviewboard.mozilla.org/r/30203/#review27103
Attachment #8705828 - Flags: review?(dburns) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: