Since bug 1858078 JSON modules (i.e. `with {type: "json"}`) load have their own nsContentPolicyType(s). This means the exception added for allowing loads of JS modules with a JSON MIME type is now incorrect. We should disallow normal JS modules with a JSON MIME type again *and* we should make sure JSON modules loads have a JSON MIME type.
Bug 1966620 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Since bug 1858078 JSON modules (i.e. `with {type: "json"}`) load have their own nsContentPolicyType(s). This means the exception added for allowing loads of JS modules with a JSON MIME type in bug 1916351 is now incorrect. We should disallow normal JS modules with a JSON MIME type again *and* we should make sure JSON modules loads have a JSON MIME type.