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

Issue 2639893003: [ES6 modules] Introduce Modulator "module map settings object" (Closed)

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

Description

[ES6 modules] Introduce Modulator "module map settings object" This CL introduces Modulator class, which implements a HTML spec concept "module map settings object". Modulator instance is owned by V8PerContextData. BUG=594639 Review-Url: https://codereview.chromium.org/2639893003 Cr-Commit-Position: refs/heads/master@{#444308} Committed: https://chromium.googlesource.com/chromium/src/+/f8f6553f21647ef987f423bb30ed260c5133a08b

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -1 line) Patch
M third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h View 3 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp View 3 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/Modulator.h View 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/Modulator.cpp View 1 1 chunk +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (9 generated)
kouhei (in TOK)
3 years, 11 months ago (2017-01-18 06:47:04 UTC) #3
haraken
https://codereview.chromium.org/2639893003/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp (right): https://codereview.chromium.org/2639893003/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp#newcode252 third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp:252: m_scriptState->perContextData()->clearModulator(); Why do you want to clear a modulator ...
3 years, 11 months ago (2017-01-18 06:55:56 UTC) #7
dominicc (has gone to gerrit)
lgtm https://codereview.chromium.org/2639893003/diff/1/third_party/WebKit/Source/core/dom/Modulator.cpp File third_party/WebKit/Source/core/dom/Modulator.cpp (right): https://codereview.chromium.org/2639893003/diff/1/third_party/WebKit/Source/core/dom/Modulator.cpp#newcode12 third_party/WebKit/Source/core/dom/Modulator.cpp:12: return ScriptState::forMainWorld(frame)->perContextData()->modulator(); WDYT about returning nullptr when ScriptState::forMainWorld ...
3 years, 11 months ago (2017-01-18 06:59:01 UTC) #8
kouhei (in TOK)
https://codereview.chromium.org/2639893003/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp (right): https://codereview.chromium.org/2639893003/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp#newcode252 third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp:252: m_scriptState->perContextData()->clearModulator(); On 2017/01/18 06:55:55, haraken wrote: > > Why ...
3 years, 11 months ago (2017-01-18 07:07:10 UTC) #9
haraken
LGTM
3 years, 11 months ago (2017-01-18 07:09:49 UTC) #10
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/2639893003/20001
3 years, 11 months ago (2017-01-18 07:19:02 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 09:15:50 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f8f6553f21647ef987f423bb30ed...

Powered by Google App Engine
This is Rietveld 408576698