[meta] Convert /remote JSM modules to ESM
Categories
(Remote Protocol :: Agent, task)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
Details
(Keywords: meta, Whiteboard: [webdriver:m5])
For bug 1308512 we have to convert our JSM modules to ESM modules. This can easily be done by using the ./mach esmify
script. Most of the work is done automatically, and in some cases it might require some manual fixes.
I would propose that we divide the work into the following batches:
components/
,shared/
andserver/
marionette/
webdriver-bidi/
cdp/
Each of these batches is most likely worth a single point.
Note that we still have a couple of module references from remote/shared
to remote/marionette
that we should get fixed first to avoid partial conversions of modules. This includes sync.js
, cert.js
, and accessibility.js
.
If we all agree I'll go ahead in file individual bugs.
Reporter | ||
Comment 1•2 years ago
|
||
As Julian pointed out we should also fix the linting rules first for our remote/
folder. There is bug 1774367 for that work.
Reporter | ||
Comment 2•2 years ago
|
||
We will track for M5 and separate bugs should be filed. We may not need to move the modules to shared but lets check again.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 3•2 years ago
|
||
This is all done.
Description
•