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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/test_simple.js

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: PlzNavigate: support the WebRequest API Created 4 years, 3 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: chrome/test/data/extensions/api_test/webrequest/test_simple.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_simple.js b/chrome/test/data/extensions/api_test/webrequest/test_simple.js
index 5a2218dc838d5ee753837db70b87d6ddc8133e8a..1542fa4170f060d9147340a5523feceb8223f3c8 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_simple.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_simple.js
@@ -46,7 +46,9 @@ runTests([
],
[ // event order
["a-onBeforeRequest", "a-onResponseStarted", "a-onCompleted"] ]);
+ console.log("Before simple load");
Devlin 2016/09/16 16:17:26 nit: remove debugging logs
clamy 2016/09/19 15:10:03 Done.
navigateAndWait(getURL("simpleLoad/a.html"));
+ console.log("After simple load");
},
// Navigates to a blank page via HTTP. Only HTTP requests get the
@@ -156,7 +158,9 @@ runTests([
"onHeadersReceived-2", "onResponseStarted", "onCompleted"] ],
{urls: ["<all_urls>"]}, // filter
["requestHeaders", "responseHeaders"]);
+ console.log("Before simple load redirect");
navigateAndWait(getURLHttpSimpleLoadRedirect());
+ console.log("After simple load redirect");
},
// Navigates to a non-existing page.
@@ -182,6 +186,8 @@ runTests([
],
[ // event order
["onBeforeRequest", "onErrorOccurred"] ]);
+ console.log("Before does not exist");
navigateAndWait(getURL("does_not_exist.html"));
+ console.log("After does not exist");
},
]);

Powered by Google App Engine
This is Rietveld 408576698