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

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

Issue 10807009: Include the processId in webNavigation events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « chrome/common/extensions/docs/static/webNavigation.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/webnavigation/framework.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/framework.js b/chrome/test/data/extensions/api_test/webnavigation/framework.js
index eae8f7162b08a872678b1c05fe05471dc6985593..859c0385b2670cb716c9ae457b1bd0c5d176780b 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/framework.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/framework.js
@@ -110,6 +110,14 @@ function captureEvent(name, details) {
}
details.replacedTabId = tabIds[details.replacedTabId];
}
+ // Don't bother testing those before we don't correctly dispatch events for
+ // cross process navigations.
+ if ('processId' in details) {
+ delete details.processId;
+ }
+ if ('sourceProcessId' in details) {
+ delete details.sourceProcessId;
+ }
// find |details| in expectedEventData
var found = false;
« no previous file with comments | « chrome/common/extensions/docs/static/webNavigation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698