[Webkit-unassigned] [Bug 227469] New: JavaScript modules fail to load in XHTML documents
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 28 16:37:57 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227469
Bug ID: 227469
Summary: JavaScript modules fail to load in XHTML documents
Product: WebKit
Version: Safari 13
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: 00ff0000red at gmail.com
Created attachment 432441
--> https://bugs.webkit.org/attachment.cgi?id=432441&action=review
Example file that reveals the bug
When attempting to load a JavaScript module file (i.e. <script type="module" src="..." />), in an XHTML document sent with the "application/xhtml+xml" MIME type, the file is not loaded at all. It appears that the XHTML document does not recognize "module" as a supported type?
"nomodule" scripts also fail to load, so web applications are unable to provide a reliable fallback due to this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210628/26aed5f8/attachment-0001.htm>
More information about the webkit-unassigned
mailing list