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

Unified Diff: content/browser/devtools/protocol_config.json

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Fix Created 3 years, 7 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
Index: content/browser/devtools/protocol_config.json
diff --git a/content/browser/devtools/protocol_config.json b/content/browser/devtools/protocol_config.json
index 9ec0d2816f9e5964867a6e61aa1abcfe8ab2bbca..71b4368c69f75c068fbe865b0f606175e5ca3700 100644
--- a/content/browser/devtools/protocol_config.json
+++ b/content/browser/devtools/protocol_config.json
@@ -37,10 +37,10 @@
},
{
"domain": "Network",
- "include": ["enable", "disable", "clearBrowserCache", "clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie", "setUserAgentOverride", "canEmulateNetworkConditions"],
- "include_types": ["CookieSameSite", "Cookie", "Response", "Headers", "Request", "ResourceTiming", "SecurityDetails", "SignedCertificateTimestamp", "Initiator", "ResourcePriority", "RequestWillBeSentNotification", "ResponseReceivedNotification", "LoadingFinishedNotification", "LoadingFailedNotification", "RequestWillBeSentNotification"],
- "include_events": ["requestWillBeSent", "responseReceived", "loadingFinished", "loadingFailed"],
- "async": ["clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie"]
+ "include": ["allowRequest", "blockRequest", "clearBrowserCache", "clearBrowserCookies", "disable", "enable", "enableFetchInterception", "getCookies", "getAllCookies", "deleteCookie", "mockResponse", "modifyRequest", "setCookie", "setUserAgentOverride", "canEmulateNetworkConditions"],
+ "include_types": ["CookieSameSite", "Cookie", "ErrorReason", "Response", "Headers", "Request", "ResourceTiming", "SecurityDetails", "SignedCertificateTimestamp", "Initiator", "ResourcePriority", "InterceptedRedirectNotification", "InterceptedRequestNotification", "RequestWillBeSentNotification", "ResponseReceivedNotification", "LoadingFinishedNotification", "LoadingFailedNotification", "RequestWillBeSentNotification"],
+ "include_events": ["interceptedRedirect", "interceptedRequest", "requestWillBeSent", "responseReceived", "loadingFinished", "loadingFailed"],
+ "async": ["allowRequest", "blockRequest", "clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "mockResponse", "modifyRequest", "setCookie"]
},
{
"domain": "Page",

Powered by Google App Engine
This is Rietveld 408576698