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); |