-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable fetch of remote debugging files
Fixes brave/brave-browser#1736
- Loading branch information
1 parent
d496503
commit 5d1e54f
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"( |