Bug 147340

Summary: [ES6] Implement ES6 Modules
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: NEW ---    
Severity: Normal CC: adam, barraclough, chi187, darin, fealebenpae, fpizlo, ggaren, graouts, ivanbuhov2, lzsoft.cja, m.goleb+bugzilla, mike, oliver, paulirish, rniwa, saam, sam
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 164539, 147350, 147353, 147422, 147876, 148053, 148171, 148172, 148173, 148689, 148705, 148896, 148897, 149129, 161651, 164827, 164858, 164860, 164861, 165849, 177959, 178168    
Bug Blocks: 166405    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

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>