Remove JS getters from internal module objects
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(3 files)
Following bug 1774454, the JS getters on internal module objects are only used by test code, via the shell module object wrapper system. None of these objects are exposed to JS.
If change the shell module object wrappers to use the C++ accessors we can remove these getters entirely.
Assignee | ||
Comment 1•2 years ago
|
||
Test code interacts with these module objects by means of the shell object
wrappers. If we add a few more C++ accessors where necessary we can use these
instead of calling the JS property getters.
Assignee | ||
Comment 2•2 years ago
|
||
Since these getters are now unused we can remove them.
Depends on D151133
Assignee | ||
Comment 3•2 years ago
|
||
Since these no longer have any methods or getters we can give them null prototypes.
Depends on D151134
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/071ec66b1874
https://hg.mozilla.org/mozilla-central/rev/f2acb176f0ff
https://hg.mozilla.org/mozilla-central/rev/4381d9d2dce1
Description
•