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

Unified Diff: Source/core/inspector/InspectorResourceAgent.cpp

Issue 23102017: DevTools: fix source maps loading from file scheme urls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed test Created 7 years, 4 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 | « LayoutTests/inspector/resources/file-resource-to-load-for-frontend.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorResourceAgent.cpp
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp
index 3f1acd60e483ef76fe3e2aa4e99c587b5b317966..91ced1aa1d2f016de97703f174bb8d4d86bd6437 100644
--- a/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/Source/core/inspector/InspectorResourceAgent.cpp
@@ -715,12 +715,6 @@ void InspectorResourceAgent::loadResourceForFrontend(ErrorString* errorString, c
return;
}
- KURL kurl = KURL(ParsedURLString, url);
- if (kurl.isLocalFile()) {
- *errorString = "Can not load local file";
- return;
- }
-
ResourceRequest request(url);
request.setHTTPMethod("GET");
request.setCachePolicy(ReloadIgnoringCacheData);
« no previous file with comments | « LayoutTests/inspector/resources/file-resource-to-load-for-frontend.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698