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

Issue 2845743003: Move "create a module script" from ModuleScriptLoader to ModuleScript (Closed)

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

Description

Move "create a module script" from ModuleScriptLoader to ModuleScript Because it will be used from outside ModuleScriptLoader when we support inline scripts. This CL - Renames existing ModuleScript::Create() (which is a simple wrapper of the constructor) to CreateForTest(), - Moves ModuleScriptLoader::CreateModuleScript() to new ModuleScript::Create(), and - Reorders the parameters to match with the spec. BUG=594639, 715369 Review-Url: https://codereview.chromium.org/2845743003 Cr-Commit-Position: refs/heads/master@{#467873} Committed: https://chromium.googlesource.com/chromium/src/+/498b00e062fb73064e19187b6b174f0d6ff62968

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Messages

Total messages: 25 (21 generated)
hiroshige
PTAL.
3 years, 7 months ago (2017-04-26 22:18:53 UTC) #5
kouhei (in TOK)
lgtm. It looks like we can remove ModuleScriptLoader::CreateForTesting in the future too.
3 years, 7 months ago (2017-04-26 22:36:22 UTC) #6
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/2845743003/60001
3 years, 7 months ago (2017-04-28 03:25:55 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 03:34:45 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/498b00e062fb73064e19187b6b17...

Powered by Google App Engine
This is Rietveld 408576698