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

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

Issue 1670673003: Refactor the implementation of the webNavigation extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Bug-532666-NavigationHandleAPI
Patch Set: Remove UI thread DCHECKs. Created 4 years, 10 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/failures/test_failures.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/failures/test_failures.js b/chrome/test/data/extensions/api_test/webnavigation/failures/test_failures.js
index f05728850e9b4d2922f3c1d282bcb524ac76c562..7e3e814ee119a18b9482d3f01b5d45a9a9e20281 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/failures/test_failures.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/failures/test_failures.js
@@ -15,7 +15,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('d.html') }},
@@ -46,7 +46,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('c.html') }},
@@ -54,7 +54,7 @@ onload = function() {
event: "onErrorOccurred",
details: { error: "net::ERR_FILE_NOT_FOUND",
frameId: 1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('c.html') }}],
@@ -71,7 +71,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('a.html') }},
@@ -102,7 +102,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('b.html') }},
@@ -133,7 +133,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('c.html') }},
@@ -141,7 +141,7 @@ onload = function() {
event: "onErrorOccurred",
details: { error: "net::ERR_FILE_NOT_FOUND",
frameId: 1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('c.html') }}],
@@ -160,7 +160,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('e.html') }},
@@ -197,7 +197,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('nonexistent.html') }},
@@ -205,7 +205,7 @@ onload = function() {
event: "onErrorOccurred",
details: { error: "net::ERR_FILE_NOT_FOUND",
frameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('nonexistent.html') }}],

Powered by Google App Engine
This is Rietveld 408576698