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

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

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Add missing expects plus tweak test output of Network.interceptedRedirect for clarity Created 3 years, 9 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 649dd1b2ff92fcd780b2844c1059c49bb63095e4..765f067e06c2c98c56d5d08d64b495a201f0fb5b 100644
--- a/content/browser/devtools/protocol_config.json
+++ b/content/browser/devtools/protocol_config.json
@@ -37,9 +37,9 @@
},
{
"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"],
+ "include": ["allowRequest", "blockRequest", "clearBrowserCache", "clearBrowserCookies", "disable", "enable", "enableFetchInterception", "getCookies", "getAllCookies", "deleteCookie", "mockResponse", "modifyRequest", "setCookie", "setUserAgentOverride", "canEmulateNetworkConditions"],
+ "include_types": ["CookieSameSite", "Cookie", "ErrorReason", "Response", "Headers", "InterceptId", "Request", "ResourceTiming", "SecurityDetails", "SignedCertificateTimestamp", "Initiator", "ResourcePriority", "InterceptedRedirectNotification", "InterceptedRequestNotification", "RequestWillBeSentNotification", "ResponseReceivedNotification", "LoadingFinishedNotification", "LoadingFailedNotification", "RequestWillBeSentNotification"],
+ "include_events": ["interceptedRedirect", "interceptedRequest", "requestWillBeSent", "responseReceived", "loadingFinished", "loadingFailed"],
"async": ["getCookies", "getAllCookies", "deleteCookie", "setCookie"]
},
{

Powered by Google App Engine
This is Rietveld 408576698