Document address bar utility modules that content-process code can import
Categories
(Firefox :: Address Bar, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
Details
(Whiteboard: [sng][mcab-hnt-followon])
Attachments
(2 external files)
docs/utilities.md covers only UrlbarPrefs and UrlbarUtils, and still says UrlbarUtils holds the constants shared across the components. Those constants and many helpers moved to UrlbarShared.mjs, which can be imported into both system and content realms. overview.md and dynamic-result-types.md already use UrlbarShared.RESULT_TYPE and UrlbarShared.HIGHLIGHT without introducing it.
The page should document UrlbarShared.mjs (no window, per-realm state), UrlbarContentPrefs.mjs (where content code imports prefs from) and UrlbarContentUtils.mjs, and narrow the UrlbarUtils entry to the parent-only helpers, so an author can tell which module a new helper belongs in.
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/56fce97d14bb
https://hg.mozilla.org/mozilla-central/rev/3e9700f2e6f1
Updated•1 month ago
|
Description
•