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

Issue 2848213002: [ES6 modules] Fix bad assert in HostResolveImportedModule (Closed)

Created:
3 years, 7 months ago by kouhei (in TOK)
Modified:
3 years, 7 months ago
Reviewers:
hiroshige, kinuko, domenic, yhirano, module-dev
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

[ES6 modules] Fix bad assert in HostResolveImportedModule Before this CL, ScriptModuleResolverImpl::Resolve wrongly assumed that resolved module script's instantiation state is always "instantiated". However, this isn't always the case when instantiating module graph w/ cycles. This CL removes the CHECK. Corresponding spec PR: https://github.com/whatwg/html/pull/2603 BUG=594639 , https://github.com/whatwg/html/issues/2596 TEST=external/wpt/html/semantics/scripting-1/the-script-element/module/imports.html shouldn't crash Review-Url: https://codereview.chromium.org/2848213002 Cr-Commit-Position: refs/heads/master@{#468555} Committed: https://chromium.googlesource.com/chromium/src/+/f6ff4cd290401c5720e534e52f7ed04544b06e58

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptModuleResolverImpl.cpp View 1 chunk +1 line, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (8 generated)
kouhei (in TOK)
3 years, 7 months ago (2017-05-01 06:52:51 UTC) #2
hiroshige
lgtm
3 years, 7 months ago (2017-05-01 18:01:45 UTC) #7
kinuko
lgtm
3 years, 7 months ago (2017-05-01 22:27:11 UTC) #8
yhirano
lgtm
3 years, 7 months ago (2017-05-02 02:15:51 UTC) #9
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/2848213002/1
3 years, 7 months ago (2017-05-02 04:18:13 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 04:23:20 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f6ff4cd290401c5720e534e52f7e...

Powered by Google App Engine
This is Rietveld 408576698