Closed Bug 1242459 Opened 9 years ago Closed 9 years ago

Replace dump() in testing/marionette/actions.js with logger

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: ato, Assigned: ato)

References

Details

(Keywords: pi-marionette-server)

Attachments

(1 file)

testing/marionette/actions.js:118 uses dump() to log debug information. This ought to be replaced with a logger instance: https://dxr.mozilla.org/mozilla-central/source/testing/marionette/actions.js#118 Note that this might be a bit tricky because this file is loaded using loadJsSubscript, and not Cu.import.
Whiteboard: [good first bug][lang=js]
I investigated this a bit further, and it’s not a good first bug. As mentioned before, it requires rewriting testing/marionette/actions.js to a JS module.
Whiteboard: [good first bug][lang=js]
Assignee: nobody → ato
Status: NEW → ASSIGNED
Attachment #8712798 - Flags: review?(dburns) → review+
Comment on attachment 8712798 [details] MozReview Request: Bug 1242459 - Replace dump() with logger in actions.js; r?automatedtester https://reviewboard.mozilla.org/r/32653/#review29433 ::: testing/marionette/actions.js:120 (Diff revision 1) > - ") relative to the viewport\n" + > + "relative to the viewport, " + can you update this to `` so that it is in keeping with the rest. It will have no affect but just looks better.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Depends on: 1244042
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: