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

Unified Diff: third_party/WebKit/Source/core/dom/ModuleScript.cpp

Issue 2819733002: Implement ModuleScript::RunScript() (Closed)
Patch Set: Update comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a0f6a396a78fb14fe72bdbab795330f2c96185aa 100644
--- a/third_party/WebKit/Source/core/dom/ModuleScript.cpp
+++ b/third_party/WebKit/Source/core/dom/ModuleScript.cpp
@@ -58,8 +58,7 @@ bool ModuleScript::CheckMIMETypeBeforeRunScript(Document* context_document,
}
void ModuleScript::RunScript(LocalFrame* frame, const SecurityOrigin*) const {
- // TODO(hiroshige): Implement this once Modulator::ExecuteModule() is landed.
- NOTREACHED();
+ settings_object_->ExecuteModule(this);
}
String ModuleScript::InlineSourceTextForCSP() const {
« no previous file with comments | « third_party/WebKit/Source/core/dom/ModuleScript.h ('k') | third_party/WebKit/Source/core/testing/DummyModulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698