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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/test_failures.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_failures.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_failures.js b/chrome/test/data/extensions/api_test/webnavigation/test_failures.js
index 62183c708846d4b5ffa6dd938688d464d747d2b8..357b1490d26a9edd883f75d26b4253128e0b2347 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/test_failures.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/test_failures.js
@@ -14,6 +14,7 @@ function runTests() {
{ label: "onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/nonexistant.html') }},
@@ -21,6 +22,7 @@ function runTests() {
event: "onErrorOccurred",
details: { error: "net::ERR_FILE_NOT_FOUND",
frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/nonexistant.html') }}],
@@ -34,12 +36,14 @@ function runTests() {
{ label: "a-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/d.html') }},
{ label: "a-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -48,18 +52,21 @@ function runTests() {
{ label: "a-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/d.html') }},
{ label: "a-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/d.html') }},
{ label: "b-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/c.html') }},
@@ -67,6 +74,7 @@ function runTests() {
event: "onErrorOccurred",
details: { error: "net::ERR_FILE_NOT_FOUND",
frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/c.html') }}],
@@ -82,12 +90,14 @@ function runTests() {
{ label: "a-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/a.html') }},
{ label: "a-onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -96,24 +106,28 @@ function runTests() {
{ label: "a-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/a.html') }},
{ label: "a-onCompleted",
event: "onCompleted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/a.html') }},
{ label: "b-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/b.html') }},
{ label: "b-onCommitted",
event: "onCommitted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -122,18 +136,21 @@ function runTests() {
{ label: "b-onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/b.html') }},
{ label: "b-onCompleted",
event: "onCompleted",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/b.html') }},
{ label: "c-onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/c.html') }},
@@ -141,6 +158,7 @@ function runTests() {
event: "onErrorOccurred",
details: { error: "net::ERR_FILE_NOT_FOUND",
frameId: 1,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/c.html') }}],
@@ -158,12 +176,14 @@ function runTests() {
{ label: "onBeforeNavigate",
event: "onBeforeNavigate",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/e.html') }},
{ label: "onCommitted",
event: "onCommitted",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
transitionQualifiers: [],
@@ -172,6 +192,7 @@ function runTests() {
{ label: "onDOMContentLoaded",
event: "onDOMContentLoaded",
details: { frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/e.html') }},
@@ -179,6 +200,7 @@ function runTests() {
event: "onErrorOccurred",
details: { error: "net::ERR_ABORTED",
frameId: 0,
+ processId: 0,
tabId: 0,
timeStamp: 0,
url: getURL('failures/e.html') }}],

Powered by Google App Engine
This is Rietveld 408576698