Index: src/inspector/v8-debugger-agent-impl.cc |
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc |
index 998d3723caeacb1041aaa1248db6a38ecd76f85b..2d78ce6ae036bc3a8f6b4d45cad6f3756405a7b1 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -994,6 +994,7 @@ void V8DebuggerAgentImpl::didParseSource( |
} |
bool isLiveEdit = script->isLiveEdit(); |
bool hasSourceURL = script->hasSourceURL(); |
+ bool isModule = script->isModule(); |
String16 scriptId = script->scriptId(); |
String16 scriptURL = script->sourceURL(); |
@@ -1013,18 +1014,20 @@ void V8DebuggerAgentImpl::didParseSource( |
std::move(executionContextAuxData)); |
const bool* isLiveEditParam = isLiveEdit ? &isLiveEdit : nullptr; |
const bool* hasSourceURLParam = hasSourceURL ? &hasSourceURL : nullptr; |
+ const bool* isModuleParam = isModule ? &isModule : nullptr; |
if (success) |
m_frontend.scriptParsed( |
scriptId, scriptURL, scriptRef->startLine(), scriptRef->startColumn(), |
scriptRef->endLine(), scriptRef->endColumn(), contextId, |
scriptRef->hash(m_isolate), std::move(executionContextAuxDataParam), |
- isLiveEditParam, std::move(sourceMapURLParam), hasSourceURLParam); |
+ isLiveEditParam, std::move(sourceMapURLParam), hasSourceURLParam, |
+ isModuleParam); |
else |
m_frontend.scriptFailedToParse( |
scriptId, scriptURL, scriptRef->startLine(), scriptRef->startColumn(), |
scriptRef->endLine(), scriptRef->endColumn(), contextId, |
scriptRef->hash(m_isolate), std::move(executionContextAuxDataParam), |
- std::move(sourceMapURLParam), hasSourceURLParam); |
+ std::move(sourceMapURLParam), hasSourceURLParam, isModuleParam); |
if (scriptURL.isEmpty() || !success) return; |