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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/resources/resource-iframe.html

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/resources/resource-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/resources/resource-iframe.html b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/resources/resource-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..e96cd914a111e29d015b80d46f693cc98b5890c8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/resources/resource-iframe.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link rel="stylesheet" href="i-dont-exist.css">
+<script src="script.js"></script>
+<script src="script2.js"></script>
+<script>
+var xhr = new XMLHttpRequest;
+xhr.open('POST', 'post-echo.pl', true);
+xhr.onreadystatechange = function () {
+ if (xhr.readyState != 4)
+ return;
+ console.log(xhr.responseText);
+}
+xhr.send("Post - ECHO SUCCESS!");
+</script>
+</head>
+</html>

Powered by Google App Engine
This is Rietveld 408576698