Closed Bug 1774784 Opened 3 years ago Closed 3 years ago

Remove unused windowglobal-in-root/log.jsm module

Categories

(Remote Protocol :: WebDriver BiDi, task)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jdescottes, Unassigned)

Details

During the initial implementation of the log module, we added an empty windowglobal-in-root/log.jsm module.

At that time we didn't have a ModuleRegistry and the framework was checking the existence of Modules by try / catching a ChromeUtils.import.

This worked fine on a regular Firefox build, however during tests an assertion was added to make the browser crash if a ChromeUtils.import failed. That's why we added this empty module.

But now that we have the ModuleRegistry, the framework is no longer trying to load modules which might not exist, so we could remove the module.

https://searchfox.org/mozilla-central/source/remote/webdriver-bidi/modules/windowglobal-in-root/log.jsm

The current idea to fix Bug 1767260 is to start using event interception which will be implemented in Bug 1775463.
The windowglobal-in-root log module will actually be used and we can close this as invalid.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.