Use plain object for lazy getter in remote/
Categories
(Remote Protocol :: Agent, task)
Tracking
(firefox103 fixed)
| Tracking | Status | |
|---|---|---|
| firefox103 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(9 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1772096 - Part 2: Use plain object for lazy getter in remote/components/. r?#webdriver-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1772096 - Part 3: Use plain object for lazy getter in remote/marionette/. r?#webdriver-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1772007 +++
Many JSM files define lazy getters on the per-JSM global this object.
The global this object doesn't exist in ES module, and those lazy getters need to be moved to a plain object const lazy = {};, and each consumer needs to be rewritten to refer the lazy getter with lazy.foo.
This migration is done by automated script in bug 1608279.
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D147998
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D147999
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D148000
| Assignee | ||
Comment 5•3 years ago
|
||
Depends on D148001
| Assignee | ||
Comment 6•3 years ago
|
||
Depends on D148002
| Assignee | ||
Comment 7•3 years ago
|
||
Depends on D148003
| Assignee | ||
Comment 8•3 years ago
|
||
Depends on D148004
| Assignee | ||
Comment 9•3 years ago
|
||
Depends on D148005
| Assignee | ||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/038cb446b920
https://hg.mozilla.org/mozilla-central/rev/1bda4b09158c
https://hg.mozilla.org/mozilla-central/rev/2dbab3d54cee
https://hg.mozilla.org/mozilla-central/rev/2d19dcd3543e
https://hg.mozilla.org/mozilla-central/rev/3eb48c87e98a
https://hg.mozilla.org/mozilla-central/rev/93f80456c91c
https://hg.mozilla.org/mozilla-central/rev/5d2b0cc358d8
https://hg.mozilla.org/mozilla-central/rev/baeff7b44e8b
https://hg.mozilla.org/mozilla-central/rev/9d7d0e5712f2
Description
•