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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/test_iframe.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_iframe.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_iframe.js b/chrome/test/data/extensions/api_test/webnavigation/test_iframe.js
index 9af05d883ee0cda8c67bfd4d11ef74b71f130128..af723054b4b435fc7303da73307da20a9a483984 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/test_iframe.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/test_iframe.js
@@ -15,12 +15,14 @@ function runTests() {
{ label: "a-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/a.html') }},
{ label: "a-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -29,24 +31,28 @@ function runTests() {
{ label: "a-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/a.html') }},
{ label: "a-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/a.html') }},
{ label: "b-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/b.html') }},
{ label: "b-onCommitted",
event: "onCommitted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -55,24 +61,28 @@ function runTests() {
{ label: "b-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/b.html') }},
{ label: "b-onCompleted",
event: "onCompleted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/b.html') }},
{ label: "c-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/c.html') }},
{ label: "c-onCommitted",
event: "onCommitted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -81,12 +91,14 @@ function runTests() {
{ label: "c-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/c.html') }},
{ label: "c-onCompleted",
event: "onCompleted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/c.html') }}],
@@ -106,12 +118,14 @@ function runTests() {
{ label: "d-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/d.html') }},
{ label: "d-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -120,24 +134,28 @@ function runTests() {
{ label: "d-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/d.html') }},
{ label: "d-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/d.html') }},
{ label: "e-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/e.html') }},
{ label: "e-onCommitted",
event: "onCommitted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -146,24 +164,28 @@ function runTests() {
{ label: "e-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/e.html') }},
{ label: "e-onCompleted",
event: "onCompleted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/e.html') }},
{ label: "f-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/f.html') }},
{ label: "f-onCommitted",
event: "onCommitted",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -172,24 +194,28 @@ function runTests() {
{ label: "f-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/f.html') }},
{ label: "f-onCompleted",
event: "onCompleted",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/f.html') }},
{ label: "g-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/g.html') }},
{ label: "g-onCommitted",
event: "onCommitted",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -198,12 +224,14 @@ function runTests() {
{ label: "g-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/g.html') }},
{ label: "g-onCompleted",
event: "onCompleted",
details: { frameId: 2,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/g.html') }}],
@@ -225,12 +253,14 @@ function runTests() {
{ label: "h-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/h.html') }},
{ label: "h-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -239,24 +269,28 @@ function runTests() {
{ label: "h-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/h.html') }},
{ label: "h-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/h.html') }},
{ label: "i-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/i.html') }},
{ label: "i-onCommitted",
event: "onCommitted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -265,24 +299,28 @@ function runTests() {
{ label: "i-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/i.html') }},
{ label: "i-onCompleted",
event: "onCompleted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/i.html') }},
{ label: "c-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/c.html') }},
{ label: "c-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: ['maybe_client_redirect'],
@@ -291,12 +329,14 @@ function runTests() {
{ label: "c-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/c.html') }},
{ label: "c-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('iframe/c.html') }}],

Powered by Google App Engine
This is Rietveld 408576698