Summary: | [ES6] Implement ES6 Modules | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||||||||
Component: | JavaScriptCore | Assignee: | 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
Yusuke Suzuki
2015-07-27 16:36:00 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 :) Roadmap seems to be added to the draft repository. https://github.com/whatwg/loader/blob/master/roadmap.md Created attachment 260029 [details]
Patch
WIP: the big picture of the final implementation. now breaking this into several patches
Created attachment 260044 [details]
Patch
WIP: drop C++ recursions
Created attachment 260137 [details]
Patch
WIP: rebase the patch based on the landed part
Created attachment 260139 [details]
Patch
WIP: rebase the patch based on the landed part, part 2
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.
Created attachment 260220 [details]
Patch
WIP: adding bunch of tests
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.) |