Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Issue 2643003002: [ES6 modules] Introduce ModuleScript model object (Closed)

Created:
3 years, 11 months ago by kouhei (in TOK)
Modified:
3 years, 10 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, kinuko
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ES6 modules] Introduce ModuleScript model object This CL introduces ModuleScript model object. A ModuleScript corresponds to "module script" spec concept. https://html.spec.whatwg.org/multipage/webappapis.html#module-script BUG=594639 Review-Url: https://codereview.chromium.org/2643003002 Cr-Commit-Position: refs/heads/master@{#447644} Committed: https://chromium.googlesource.com/chromium/src/+/7d335c5cc47cef718bec67cded9c128acea4370b

Patch Set 1 #

Total comments: 14

Patch Set 2 : omit instantiation error fro now #

Total comments: 2

Patch Set 3 : semicolon #

Total comments: 6

Patch Set 4 : yhirano / CORE_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -0 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptModule.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/ModuleScript.h View 1 2 3 1 chunk +98 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/ModuleScript.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (16 generated)
kouhei (in TOK)
3 years, 11 months ago (2017-01-19 04:02:30 UTC) #2
kouhei (in TOK)
CL Split from https://codereview.chromium.org/2555653002/ as always
3 years, 11 months ago (2017-01-19 04:02:59 UTC) #3
yhirano
https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode18 third_party/WebKit/Source/core/dom/ModuleScript.h:18: enum class InstantiationState { Isn't this too generic? Maybe ...
3 years, 11 months ago (2017-01-19 04:17:05 UTC) #6
domenic
https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.cpp File third_party/WebKit/Source/core/dom/ModuleScript.cpp (right): https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.cpp#newcode9 third_party/WebKit/Source/core/dom/ModuleScript.cpp:9: void ModuleScript::updateStateAfterInstantiation(ScriptValue maybeError) { This method seems redundant. It ...
3 years, 11 months ago (2017-01-19 05:23:59 UTC) #7
kouhei (in TOK)
WIP https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode54 third_party/WebKit/Source/core/dom/ModuleScript.h:54: On 2017/01/19 05:23:59, domenic wrote: > I guess ...
3 years, 11 months ago (2017-01-19 05:27:37 UTC) #8
dominicc (has gone to gerrit)
On 2017/01/19 at 05:27:37, kouhei wrote: > WIP > > https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h > File third_party/WebKit/Source/core/dom/ModuleScript.h (right): ...
3 years, 11 months ago (2017-01-19 06:01:03 UTC) #9
kouhei (in TOK)
https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode54 third_party/WebKit/Source/core/dom/ModuleScript.h:54: > https://html.spec.whatwg.org/#hostresolveimportedmodule(referencingmodule,-specifier) > step 3 get the module map ...
3 years, 11 months ago (2017-01-19 08:50:22 UTC) #12
kouhei (in TOK)
Still hasn't found the solution. Spawned a email thread about how to store the "instantiation ...
3 years, 11 months ago (2017-01-24 03:16:46 UTC) #14
kouhei (in TOK)
Omit "instantiation error" for now. PTAL https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/1/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode18 third_party/WebKit/Source/core/dom/ModuleScript.h:18: enum class InstantiationState ...
3 years, 10 months ago (2017-01-27 18:46:27 UTC) #15
hiroshige
https://codereview.chromium.org/2643003002/diff/20001/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/20001/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode44 third_party/WebKit/Source/core/dom/ModuleScript.h:44: ParserDisposition parserState() const { return m_parserState; }; nit: extra ...
3 years, 10 months ago (2017-01-27 20:54:41 UTC) #18
kouhei (in TOK)
https://codereview.chromium.org/2643003002/diff/20001/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/20001/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode44 third_party/WebKit/Source/core/dom/ModuleScript.h:44: ParserDisposition parserState() const { return m_parserState; }; On 2017/01/27 ...
3 years, 10 months ago (2017-01-30 17:12:19 UTC) #21
kouhei (in TOK)
ping. I think the controversial part is split on PS3 and other CLs depend on ...
3 years, 10 months ago (2017-01-31 14:47:34 UTC) #22
kouhei (in TOK)
ping again
3 years, 10 months ago (2017-02-01 17:50:39 UTC) #23
adamk
A lot of reviewers on this CL, can you say who you're pinging?
3 years, 10 months ago (2017-02-01 18:11:23 UTC) #24
kouhei (in TOK)
yhirano: PTAL On 2017/02/01 18:11:23, adamk wrote: > A lot of reviewers on this CL, ...
3 years, 10 months ago (2017-02-01 18:16:08 UTC) #25
yhirano
lgtm https://codereview.chromium.org/2643003002/diff/40001/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/40001/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode8 third_party/WebKit/Source/core/dom/ModuleScript.h:8: #include "bindings/core/v8/ScriptModule.h" Not needed? https://codereview.chromium.org/2643003002/diff/40001/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode10 third_party/WebKit/Source/core/dom/ModuleScript.h:10: #include "core/dom/DOMException.h" ...
3 years, 10 months ago (2017-02-01 20:21:05 UTC) #26
kouhei (in TOK)
https://codereview.chromium.org/2643003002/diff/40001/third_party/WebKit/Source/core/dom/ModuleScript.h File third_party/WebKit/Source/core/dom/ModuleScript.h (right): https://codereview.chromium.org/2643003002/diff/40001/third_party/WebKit/Source/core/dom/ModuleScript.h#newcode8 third_party/WebKit/Source/core/dom/ModuleScript.h:8: #include "bindings/core/v8/ScriptModule.h" On 2017/02/01 20:21:05, yhirano (slow) wrote: > ...
3 years, 10 months ago (2017-02-01 20:39:48 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2643003002/60001
3 years, 10 months ago (2017-02-01 20:40:21 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/110984)
3 years, 10 months ago (2017-02-01 23:06:22 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2643003002/60001
3 years, 10 months ago (2017-02-01 23:11:47 UTC) #34
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 23:48:03 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/7d335c5cc47cef718bec67cded9c...

Powered by Google App Engine
This is Rietveld 408576698