Closed Bug 1432538 Opened 6 years ago Closed 6 years ago

test_screenshot.py loads HTML document with window.openDialog on a ChromeWindow

Categories

(Remote Protocol :: Marionette, defect)

Version 3
defect
Not set
normal

Tracking

(firefox60 fixed)

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: ato, Assigned: ato)

References

Details

Attachments

(1 file)

test_screenshot.py in the Mn test suite loads an HTML document with
window.openDialog("test.html", "", "chrome") in chrome context.
Because it is an HTML document it will not fire the "load" or
"DOMContentLoaded" DOM events.

This is not a problem with the way Marionette currently detects
document loads of ChromeWindows (by polling) but will become a
problem once the window tracking refactoring lands [1] because that
uses DOM events to detect document load.

  [1] https://bugzil.la/marionette-window-tracking
Assignee: nobody → ato
Summary: test_screenshot.py loads HTML document with window.openDialog → test_screenshot.py loads HTML document with window.openDialog on a ChromeWindow
Comment on attachment 8945096 [details]
Bug 1432538 - Delete chrome viewport screen capture test.

https://reviewboard.mozilla.org/r/215318/#review221190

As discussed on IRC this is not a supported method. So yes, lets get it removed. Thanks.
Attachment #8945096 - Flags: review?(hskupin) → review+
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/747fade2a7f2
Delete chrome viewport screen capture test. r=whimboo
https://hg.mozilla.org/mozilla-central/rev/747fade2a7f2
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
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: