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

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

Issue 1413543005: Use FrameTreeNode ID as frameId in extension APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/:/ / Created 4 years, 11 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/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 7faa4589690e68abef58b9d1a65dea4ff67a3adb..c9b7c15417eb67b0917f9f10a3f0d97f75ea6df4 100644
--- a/chrome/test/data/extensions/api_test/webrequest/framework.js
+++ b/chrome/test/data/extensions/api_test/webrequest/framework.js
@@ -191,11 +191,6 @@ function isUnexpectedDetachedRequest(name, details) {
}
function captureEvent(name, details, callback) {
- // frameId should be -1 or positive, but is sometimes -2 (MSG_ROUTING_NONE).
- // TODO(robwu): This will be resolved once crbug.com/432875 is resolved.
- if (details.frameId === -2)
- details.frameId = -1;
-
// Ignore system-level requests like safebrowsing updates and favicon fetches
// since they are unpredictable.
if (details.type == "other" ||

Powered by Google App Engine
This is Rietveld 408576698