WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 242740
270687
JS module importing a previously errored module is unexpectedly executed
https://bugs.webkit.org/show_bug.cgi?id=270687
Summary
JS module importing a previously errored module is unexpectedly executed
Jon Coppeard
Reported
2024-03-08 02:13:45 PST
Created
attachment 470244
[details]
Testcase When a page contains two module scripts that both import a common dependency that throws, the second module script is executed. As I understand it, both module script evaluations should fail (with the same error thrown by the dependency), and neither module body should be executed. The test case is attached. This works as expected in Firefox and Chrome. Tested on Safari Technology Preview 190.
Attachments
Testcase
(930 bytes, application/zip)
2024-03-08 02:13 PST
,
Jon Coppeard
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-03-15 03:14:13 PDT
<
rdar://problem/124682105
>
Mark Lam
Comment 2
2024-07-19 21:42:43 PDT
This will be revolved when we fix
https://bugs.webkit.org/show_bug.cgi?id=242740
. *** This bug has been marked as a duplicate of
bug 242740
***
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