Files
Jonatan Klemets f9986599ac Bug 1966620 - Update EnsureMIMEOfScript and WarnWrongMIMEOfScript to handle TYPE_JSON r=necko-reviewers,devtools-reviewers,tschuster,nchevobbe,kershaw
This code broke when TYPE_JSON was added in bug 1858078 because it
lacked test coverage. This patch fixes the code and adds tests to make
sure we don't break it again.

Differential Revision: https://phabricator.services.mozilla.com/D257112
2025-07-29 15:40:51 +00:00

14 lines
422 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Web Console test for module script with JSON MIME type</title>
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
<script type="module" src="test-json-mime.json"></script>
</head>
<body>
<p>Web Console test for module script with JSON MIME type.</p>
</body>
</html>