Closed
Bug 1472821
Opened 6 years ago
Closed 4 years ago
Support array of String for lazyRequireGetter
Categories
(DevTools :: Framework, enhancement)
DevTools
Framework
Tracking
(firefox81 fixed)
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(4 files)
Follow up to Bug 1465873, see Bug 1465873 comment 38: (In reply to Brian Grinstead [:bgrins] from comment #38) > Comment on attachment 8988174 [details] > Bug 1465873 - part5: Move generic node utils from Node actor to layout/utils > helper; > > https://reviewboard.mozilla.org/r/253416/#review261070 > > ::: devtools/server/actors/inspector/node.js:19 > (Diff revision 3) > > > > loader.lazyRequireGetter(this, "getCssPath", "devtools/shared/inspector/css-logic", true); > > loader.lazyRequireGetter(this, "getXPath", "devtools/shared/inspector/css-logic", true); > > loader.lazyRequireGetter(this, "findCssSelector", "devtools/shared/inspector/css-logic", true); > > > > +loader.lazyRequireGetter(this, "isAfterPseudoElement", "devtools/shared/layout/utils", true); > > This makes me think we should update lazyRequireGetter to optionally take > array of names as a second parameter (like > XPCOMUtils.defineLazyScriptGetter). >
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D85268
To illustrate the added value of supporting arrays in lazyRequireGetter
Updated•4 years ago
|
Attachment #9166799 -
Attachment description: Bug 1472821 - Use array or properties to call lazyRequireGetter in inspector actors → Bug 1472821 - Use array of properties to call lazyRequireGetter in inspector actors
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D85268
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D85269
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0cff2a1c92de Support array of String for lazyRequireGetter r=nchevobbe,rcaliman https://hg.mozilla.org/integration/autoland/rev/e94159a1c5cd Update linter to detect array of properties defined by lazyRequireGetter r=Standard8 https://hg.mozilla.org/integration/autoland/rev/b8156d89e6bf Use array of properties to call lazyRequireGetter in inspector actors r=rcaliman https://hg.mozilla.org/integration/autoland/rev/84b257d07031 Move webconsole fixture mapping for async-storage in requireHacker r=nchevobbe
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0cff2a1c92de
https://hg.mozilla.org/mozilla-central/rev/e94159a1c5cd
https://hg.mozilla.org/mozilla-central/rev/b8156d89e6bf
https://hg.mozilla.org/mozilla-central/rev/84b257d07031
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•