Description[ES6 modules] Return previous error when an instantiation is reattempt.
Before this CL, when instantiation was reattempt for previously errored module,
ModuleTreeLinker::Instantiate() crashed.
This CL updates the code to follow whatwg/html update:
https://github.com/whatwg/html/pull/2559
so that we rethrow previous error when instantiation is reattempt.
TEST=webkit_unit_test --gtest_filter=ModuleTreeLinkerTest.FetchTreePreviousInstantiationFailure
BUG=594639, 714521
Review-Url: https://codereview.chromium.org/2839563002
Cr-Commit-Position: refs/heads/master@{#467882}
Committed: https://chromium.googlesource.com/chromium/src/+/321b6ea1a1e2f392c629e2f074ae509a3aaefc42
Patch Set 1 #
Total comments: 12
Patch Set 2 : hiroshige #Patch Set 3 : compile #Patch Set 4 : comments #Messages
Total messages: 22 (11 generated)
|