Add basic lit vendoring for use in new widgets
Categories
(Firefox :: General, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: hjones, Assigned: mstriemer)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(1 file, 2 obsolete files)
We want to experiment with using the lit library for building out some new reusable components for Firefox.
For now it might be sufficient to just include the minified lit
source available as a single file at https://cdn.jsdelivr.net/gh/lit/dist@2/all/lit-all.min.js
We will need to patch some usage of innerHTML
which will otherwise gets sanitized and break lit-html
. Otherwise this should provide us with a quick way to get started with using lit
in central.
Reporter | ||
Comment 1•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
This adds a new lit.all.dev.mjs file which is the development version of lit.
It is unminified so we can more easily see changes between updates. For official
builds, we use a version that is locally minified by esbuild. It's still the
development version though, so we'll still see the dev warning.
Depends on D159765
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4f8e2b95246 Vendor the lit library in toolkit/content/widgets r=hjones
Comment 5•1 year ago
|
||
Backed out for causing bc failures on browser_all_files_referenced.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 2, expected +0
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/384c57c5f3bf Vendor the lit library in toolkit/content/widgets r=hjones
Assignee | ||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•2 months ago
|
Description
•