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

Unified Diff: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp

Issue 2774843002: Pass AccessControlStatus to compileModule() (Closed)
Patch Set: const 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/loader/modulescript/ModuleScriptLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
index 51fd2eaa4e20925330ec9f2dcc079e6f3a055e72..44e2a2b473e4b279ecfa3783ca2b35cfed396a93 100644
--- a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
@@ -63,10 +63,12 @@ class ModuleScriptLoaderTestModulator final : public DummyModulator {
SecurityOrigin* securityOrigin() override { return m_securityOrigin.get(); }
ScriptModule compileModule(const String& script,
- const String& urlStr) override {
+ const String& urlStr,
+ AccessControlStatus accessControlStatus) override {
ScriptState::Scope scope(m_scriptState.get());
return ScriptModule::compile(m_scriptState->isolate(),
- "export default 'foo';", "");
+ "export default 'foo';", "",
+ accessControlStatus);
}
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698