Description[ES6 modules] ModuleTreeLinker::Instantiate shouldn't proceed on invalid context
Before this CL, ModuleTreeLinker::Instantiate assumed that it is only called for
modulator with a valid context. However, asynchronous module graph node load
completion may be triggered after the context was destroyed.
This CL fixes the issue by making ModuleTreeLinker::Instantiate fail without crashing
if the context is invalid.
BUG=594639, 716935
Review-Url: https://codereview.chromium.org/2886593002
Cr-Commit-Position: refs/heads/master@{#472246}
Committed: https://chromium.googlesource.com/chromium/src/+/87dc11bdb4e1cf4ba674f3907fa1127f8839ad40
Patch Set 1 #
Total comments: 5
Patch Set 2 : hasvalidcontxt #Messages
Total messages: 17 (10 generated)
|