Index: third_party/WebKit/Source/core/dom/ModuleScript.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ModuleScript.cpp b/third_party/WebKit/Source/core/dom/ModuleScript.cpp |
index 9e2845e11cfaac2eddea279dfdb06a7ecd3826fc..c21d36a34209e85b657bfb79d858bfce8512e6c8 100644 |
--- a/third_party/WebKit/Source/core/dom/ModuleScript.cpp |
+++ b/third_party/WebKit/Source/core/dom/ModuleScript.cpp |
@@ -58,8 +58,10 @@ bool ModuleScript::CheckMIMETypeBeforeRunScript(Document* context_document, |
} |
void ModuleScript::RunScript(LocalFrame* frame, const SecurityOrigin*) const { |
- // TODO(hiroshige): Implement this once Modulator::ExecuteModule() is landed. |
- NOTREACHED(); |
+ fprintf(stderr, "ModuleScript: isNull=%d state=%d\n", record_.IsNull(), |
+ InstantiationState()); |
+ |
+ settings_object_->ExecuteModule(this); |
} |
String ModuleScript::InlineSourceTextForCSP() const { |