Bug 147340 - [ES6] Implement ES6 Modules
Summary: [ES6] Implement ES6 Modules
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on: 164539 164860 147350 147353 147422 147876 148053 148171 148172 148173 148689 148705 148896 148897 149129 161651 164827 164858 164861 165849 177959 178168
Blocks: 166405
  Show dependency treegraph
 
Reported: 2015-07-27 16:36 PDT by Yusuke Suzuki
Modified: 2017-10-12 06:25 PDT (History)
17 users (show)

See Also:


Attachments
Patch (169.11 KB, patch)
2015-08-26 21:34 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (175.73 KB, patch)
2015-08-27 00:00 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (152.04 KB, patch)
2015-08-28 01:35 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (153.35 KB, patch)
2015-08-28 01:50 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (193.81 KB, patch)
2015-08-28 23:16 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2015-07-27 16:36:00 PDT
Meta bug for ES6 modules.
Comment 1 Yusuke Suzuki 2015-08-20 22:43:56 PDT
Let's keep the Loader implementation JS.
It makes catching up the draft change easy.
And we can extract / propose the spec from the actual working prototype relatively easy :)
Comment 2 Yusuke Suzuki 2015-08-20 22:44:27 PDT
Roadmap seems to be added to the draft repository. https://github.com/whatwg/loader/blob/master/roadmap.md
Comment 3 Yusuke Suzuki 2015-08-26 21:34:42 PDT
Created attachment 260029 [details]
Patch

WIP: the big picture of the final implementation. now breaking this into several patches
Comment 4 Yusuke Suzuki 2015-08-27 00:00:11 PDT
Created attachment 260044 [details]
Patch

WIP: drop C++ recursions
Comment 5 Yusuke Suzuki 2015-08-28 01:35:24 PDT
Created attachment 260137 [details]
Patch

WIP: rebase the patch based on the landed part
Comment 6 Yusuke Suzuki 2015-08-28 01:50:10 PDT
Created attachment 260139 [details]
Patch

WIP: rebase the patch based on the landed part, part 2
Comment 7 Yusuke Suzuki 2015-08-28 01:55:56 PDT
Comment on attachment 260139 [details]
Patch

Still have a problem in Export/Import module processing (order, and resolveExport part), I'll fix this part while extracting ModuleProgramExecutable from this patch.
Comment 8 Yusuke Suzuki 2015-08-28 23:16:30 PDT
Created attachment 260220 [details]
Patch

WIP: adding bunch of tests
Comment 9 Yusuke Suzuki 2015-09-05 01:46:22 PDT
OK, now, ES6 Modules in JSC shell is landed!
It's time to integrate it to WebCore! (first, we'll enable it only inside WebKit, not expose it to user space, because the loader spec is not mature yet.)
Comment 10 Ryosuke Niwa 2015-09-16 14:03:43 PDT
<rdar://problem/14790682>