Skip to content

Commit

Permalink
Disable fetch of remote debugging files
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgrim-brave committed Nov 2, 2018
1 parent d496503 commit 5d1e54f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/chrome-browser-ui-webui-devtools_ui.cc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc
index a99cea430734..d124fa007135 100644
--- a/chrome/browser/ui/webui/devtools_ui.cc
+++ b/chrome/browser/ui/webui/devtools_ui.cc
@@ -269,6 +269,7 @@ void DevToolsDataSource::StartBundledDataRequest(
void DevToolsDataSource::StartRemoteDataRequest(
const GURL& url,
const content::URLDataSource::GotDataCallback& callback) {
+ return; // feature disabled in Brave
CHECK(url.is_valid());
net::NetworkTrafficAnnotationTag traffic_annotation =
net::DefineNetworkTrafficAnnotation("devtools_hard_coded_data_source", R"(

0 comments on commit 5d1e54f

Please sign in to comment.