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

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

Issue 10815051: Send the correct process ID with 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
Index: chrome/test/data/extensions/api_test/webnavigation/test_openTab.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_openTab.js b/chrome/test/data/extensions/api_test/webnavigation/test_openTab.js
index 5b33110ddcaae093469df7c438c49c5d2ef0d9a0..79297ae8b6d2546288312c039260f08f2e68685b 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/test_openTab.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/test_openTab.js
@@ -14,12 +14,14 @@ function runTests() {
{ label: "a-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/a.html') }},
{ label: "a-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -28,18 +30,21 @@ function runTests() {
{ label: "a-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/a.html') }},
{ label: "a-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/a.html') }},
{ label: "a-onCreatedNavigationTarget",
event: "onCreatedNavigationTarget",
details: { sourceFrameId: 0,
+ sourceProcessId: 0,
sourceTabId: 0,
tabId: 1,
timeStamp: 0,
@@ -47,12 +52,14 @@ function runTests() {
{ label: "b-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
url: getURL('openTab/b.html') }},
{ label: "b-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
transitionQualifiers: [],
@@ -61,12 +68,14 @@ function runTests() {
{ label: "b-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
url: getURL('openTab/b.html') }},
{ label: "b-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
url: getURL('openTab/b.html') }}],
@@ -83,12 +92,14 @@ function runTests() {
{ label: "c-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/c.html') }},
{ label: "c-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -97,24 +108,28 @@ function runTests() {
{ label: "c-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/c.html') }},
{ label: "c-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/c.html') }},
{ label: "a-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/a.html') }},
{ label: "a-onCommitted",
event: "onCommitted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -123,18 +138,21 @@ function runTests() {
{ label: "a-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/a.html') }},
{ label: "a-onCompleted",
event: "onCompleted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('openTab/a.html') }},
{ label: "a-onCreatedNavigationTarget",
event: "onCreatedNavigationTarget",
details: { sourceFrameId: 1,
+ sourceProcessId: 0,
sourceTabId: 0,
tabId: 1,
timeStamp: 0,
@@ -142,12 +160,14 @@ function runTests() {
{ label: "b-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
url: getURL('openTab/b.html') }},
{ label: "b-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
transitionQualifiers: [],
@@ -156,12 +176,14 @@ function runTests() {
{ label: "b-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
url: getURL('openTab/b.html') }},
{ label: "b-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 1,
timeStamp: 0,
url: getURL('openTab/b.html') }}],

Powered by Google App Engine
This is Rietveld 408576698