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

Unified Diff: Source/core/xml/parser/XMLDocumentParser.cpp

Issue 137983010: (Re)organize handling of CORS access control during resource loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: HTMLImportLoader no longer needs a ResourceFetcher Created 6 years, 11 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
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/parser/XMLDocumentParser.cpp
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp
index ea78e4d6abf2ff1a69a9ca5b2e0f874d51ea5823..f9b73c6901f49ef0c59aa4f5de3457b9c4fbd51e 100644
--- a/Source/core/xml/parser/XMLDocumentParser.cpp
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp
@@ -471,8 +471,8 @@ void XMLDocumentParser::notifyFinished(Resource* unusedResource)
if (errorOccurred)
scriptLoader->dispatchErrorEvent();
else if (!wasCanceled) {
- if (scriptLoader->executePotentiallyCrossOriginScript(sourceCode))
- scriptLoader->dispatchLoadEvent();
+ scriptLoader->executeScript(sourceCode);
+ scriptLoader->dispatchLoadEvent();
}
m_scriptElement = 0;
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698