Replace usage of marionette format.js by remote/shared/Format.jsm
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
(Whiteboard: [bidi-m1-mvp])
Attachments
(1 file)
The two modules are identical, except for the preference they use to truncate or not messages:
remote.log.truncate
for the remote/shared modulemarionette.log.truncate
for the marionette module
Removing format.js in favor of remote/shared/Format.jsm would help moving other modules (eg errors.js) to remote/shared.
Assignee | ||
Comment 1•4 years ago
|
||
Not urgent unassigning to focus on the BiDi architecture.
Comment 3•3 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #0)
The two modules are identical, except for the preference they use to truncate or not messages:
remote.log.truncate
for the remote/shared modulemarionette.log.truncate
for the marionette module
Similar to the build flag we could rename these preferences to webdriver.log.[level|truncate]
. That way it will be easier to maintain. When doing that we also have to update geckodriver so it uses the new ones, but also keeps setting the old ones for backward compatibility reasons.
Julian, what do you think? If you agree we should get the new pref names added with the next geckodriver release, and afterward we can make the change on this bug.
Assignee | ||
Comment 4•3 years ago
|
||
Agreed, having unique prefs webdriver.log.truncate
& webdriver.log.level
is the way to go here. Let's make the change to geckodriver as soon as we can.
Comment 5•3 years ago
|
||
Actually marionette.log.truncate
is not used in geckodriver. As such we should not be blocked on making this change to webdriver.log.truncate
and we could immediately start merging both modules. But maybe it's wise to wait and update all the preferences at once.
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Let's discuss during our next triage, bug flagging as [bidi-m1-mvp] because I think all the effort to create shared modules should be MVP?
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
Picking this back up while we are handling reviews for MessageHandler patches
Assignee | ||
Comment 8•3 years ago
|
||
Comment 10•3 years ago
|
||
bugherder |
Description
•