Implement importmap integrity verification
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
People
(Reporter: fkilic, Assigned: fkilic)
References
(Blocks 2 open bugs, )
Details
(Keywords: dev-doc-complete)
Attachments
(4 files)
This bug aims to track the implementation of https://github.com/mozilla/standards-positions/issues/1010
Assignee | ||
Comment 1•8 months ago
|
||
This patch does two things. First one is, it checks for the existence of "integrity" property in the script tag and drills down that value, and the second one is it implements loading of integrity values from the ImportMap and adds the SRI metadata to script load requests.
Assignee | ||
Comment 2•8 months ago
|
||
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 4•8 months ago
|
||
Assignee | ||
Comment 5•8 months ago
|
||
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•7 months ago
|
Comment 7•7 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/083f906721f4
https://hg.mozilla.org/mozilla-central/rev/de72c7441c29
https://hg.mozilla.org/mozilla-central/rev/690179550da9
https://hg.mozilla.org/mozilla-central/rev/c9a2c8a3f840
Assignee | ||
Comment 8•6 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: We now support importmap integrity verification. I think it is important for devs.
[Affects Firefox for Android]: Yes (not the UI, but affects the engine)
[Suggested wording]: Added support for import map integrity field. You can now ensure the integrity of dynamically or statically imported modules.
[Links (documentation, blog post, etc)]: Previous notes for import map's introduction https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/108#apis, and import map integrity description on MDNN https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap#integrity_metadata_map
Comment 10•6 months ago
|
||
Description
•