Closed Bug 1642328 Opened 4 years ago Closed 4 years ago

Marionette's print.printToFile takes a MozBrowser, not an nsIFrameLoader

Categories

(Remote Protocol :: Marionette, task, P4)

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

Marionette's print.printToFile's first argument is named 'frameLoader', suggesting that it takes an nsIFrameLoader. The only caller of this function passes a MozBrowser though.

The print methods on both frameLoader and MozBrowser have identical signatures so this works, but we should probably rename this argument to reflect reality.

This new method has been added recently via bug 1638839.

See Also: → 1638839
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/4930c42c5866
Marionette's print.printToFile takes a MozBrowser, not an nsIFrameLoader. r=jgraham,marionette-reviewers,whimboo
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
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: