fxview-tab-list story is broken, shows a "ChromeUtils is not defined" error
Categories
(Toolkit :: UI Widgets, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox120 | --- | unaffected |
firefox121 | --- | unaffected |
firefox122 | --- | wontfix |
firefox125 | --- | wontfix |
firefox126 | --- | wontfix |
firefox127 | --- | fixed |
People
(Reporter: hjones, Assigned: jsudiaman)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [recomp])
Attachments
(1 file)
This seems to trace back to Bug 1859829 which added a dependency on helpers.mjs
which uses ChromeUtils
to import different ESModules: https://searchfox.org/mozilla-central/rev/12ea2c521cdd071a6d25b0894f31f8f23b18b76a/browser/components/firefoxview/helpers.mjs#7-11
Off the top of my head I'm not sure what the ideal fix would be. We can add some more unfortunate window.IS_STORYBOOK
checks or mock out the relevant parts of ChromeUtils
in preview.mjs
similar to what we do with window.MozXULElement
, but this feels like something we'll keep running into so maybe it's worth finding a better long term solution.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1859829
:jsudiaman, since you are the author of the regressor, bug 1859829, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•2 years ago
|
||
Removing NI as this is a Storybook issue, will let the recomp team triage.
Comment 3•2 years ago
|
||
The escapeRegExp
helper that is requiring the helpers import doesn't actually depend on any of the ChromeUtils stuff, it's also duplicated in a few other places.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 4•1 years ago
|
||
Description
•