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

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

Issue 8669014: Fix a bug where redirect chain gets lost on process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 9 years 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/framework.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/framework.js b/chrome/test/data/extensions/api_test/webrequest/framework.js
index 5cbbdb78b0102494c35f98dc99e426e73f25e8f2..e2a0bc1af223969d786e03f1ffdfcd436cfc7e1f 100644
--- a/chrome/test/data/extensions/api_test/webrequest/framework.js
+++ b/chrome/test/data/extensions/api_test/webrequest/framework.js
@@ -215,8 +215,10 @@ function captureEvent(name, details, callback) {
}
});
if (!found) {
+ console.log("Expected events: " +
+ JSON.stringify(expectedEventData, null, 2));
chrome.test.fail("Received unexpected event '" + name + "':" +
- JSON.stringify(details));
+ JSON.stringify(details, null, 2));
}
capturedEventData.push({label: label, event: name, details: details});

Powered by Google App Engine
This is Rietveld 408576698