summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/api_test/webnavigation/test_iframe.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/api_test/webnavigation/test_iframe.js')
-rw-r--r--chrome/test/data/extensions/api_test/webnavigation/test_iframe.js40
1 files changed, 40 insertions, 0 deletions
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 9af05d88..af72305 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') }}],