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

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

Issue 1865303006: Map webRequest filter type to multiple internal ResourceTypes if needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/webrequest/test_types.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c9b7c15417eb67b0917f9f10a3f0d97f75ea6df4..c634652a0808acc100fa0d86f12ab8a396137041 100644
--- a/chrome/test/data/extensions/api_test/webrequest/framework.js
+++ b/chrome/test/data/extensions/api_test/webrequest/framework.js
@@ -98,7 +98,7 @@ function expect(data, order, filter, extraInfoSpec) {
eventsCaptured = chrome.test.callbackAdded();
}
tabAndFrameUrls = {}; // Maps "{tabId}-{frameId}" to the URL of the frame.
- frameIdMap = {"-1": -1};
+ frameIdMap = {"-1": -1, "0": 0};
removeListeners();
resetDeclarativeRules();
initListeners(filter || {urls: ["<all_urls>"]}, extraInfoSpec || []);
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/webrequest/test_types.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698