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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/request-interception-modify-get-to-post-expected.txt

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Add a comment 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: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/request-interception-modify-get-to-post-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/request-interception-modify-get-to-post-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/request-interception-modify-get-to-post-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c4c73558b4329b10f08bdaf59e1c4868343d564
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/request-interception-modify-get-to-post-expected.txt
@@ -0,0 +1,16 @@
+CONSOLE MESSAGE: line 1: POST MODIFICATION SUCCESS!
+Tests modifying a GET into a POST.
+
+Test started
+Network agent enabled
+Request interception enabled
+Page agent enabled
+Runtime agent enabled
+Network.requestIntercepted ID 1 GET redirect-iframe.html
+allowRequest ID 1
+Network.responseReceived redirect-iframe.html 200 text/html
+Network.requestIntercepted ID 2 GET redirect1.pl
+modifyRequest ID 2: url redirect1.pl -> post-echo.pl; method "GET" -> "POST"; postData undefined -> "console.log('POST MODIFICATION SUCCESS!');"
+Network.responseReceived redirect1.pl 200 text/plain
+Page.frameStoppedLoading
+

Powered by Google App Engine
This is Rietveld 408576698