WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
262029
Import attributes not re-checked for already loaded modules
https://bugs.webkit.org/show_bug.cgi?id=262029
Summary
Import attributes not re-checked for already loaded modules
Nicolò Ribaudo
Reported
2023-09-24 23:56:41 PDT
When re-loading an already loaded module specifier, the attributes should be re-validated. await import("data:application/json,3", { with: { type: "json" } }); await import("data:application/json,3"); The second import should fail, but it succeedes. Spec:
https://html.spec.whatwg.org/#fetch-a-single-module-script
(it uses the `type` as part of the modules map key)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-01 23:57:13 PDT
<
rdar://problem/116331337
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug