Bug 164858 - [JSC] Specifying same module entry point multiple times cause TypeError
Summary: [JSC] Specifying same module entry point multiple times cause TypeError
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords:
Depends on:
Blocks: 147340
  Show dependency treegraph
 
Reported: 2016-11-17 01:03 PST by Yusuke Suzuki
Modified: 2016-11-30 19:56 PST (History)
6 users (show)

See Also:


Attachments
Patch (6.02 KB, patch)
2016-11-30 00:51 PST, Yusuke Suzuki
saam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2016-11-17 01:03:51 PST
If you request the same module entry point to evaluate multiple times, JSC raises Type error.
Now, the current loader API spec becomes abandoned. We can just modify our loader to fit to the whatwg's HTML's ES6 modules.
Comment 1 Yusuke Suzuki 2016-11-30 00:51:33 PST
Created attachment 295707 [details]
Patch
Comment 2 Saam Barati 2016-11-30 19:33:16 PST
Comment on attachment 295707 [details]
Patch

r=me
Comment 3 Yusuke Suzuki 2016-11-30 19:56:36 PST
Committed r209172: <http://trac.webkit.org/changeset/209172>