Closed Bug 774223 Opened 12 years ago Closed 12 years ago

clear the marionette log when getLogs is called

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: automatedtester, Unassigned)

Details

Attachments

(1 file)

currently there is no way to clear the logs when marionette.log(...) is called on the client code. 

There is no current way to do this currently in the WebDriver spec.
I have changed the current implementation to clear the log array when people call get_logs()

This matches what the current plan is for the WebDriver Spec
Attachment #642574 - Flags: review?(mdas)
Summary: have the ability to clear the log from marionette exposed the client-side → clear the marionette log when getLogs is called
Comment on attachment 642574 [details] [diff] [review]
patch for clearing logs

Review of attachment 642574 [details] [diff] [review]:
-----------------------------------------------------------------

Cool, thanks!
Attachment #642574 - Flags: review?(mdas) → review+
https://hg.mozilla.org/mozilla-central/rev/f1626a741e27
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
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: