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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/iframe/test_iframe.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/iframe/test_iframe.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/iframe/test_iframe.js b/chrome/test/data/extensions/api_test/webnavigation/iframe/test_iframe.js
index a8e10130fa2679c9721fa8b402b60c78081fa456..ced01a3eedaec3df4eb2fdc97d4c6cf38f70cdd5 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/iframe/test_iframe.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/iframe/test_iframe.js
@@ -16,7 +16,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('a.html') }},
@@ -47,7 +47,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('b.html') }},
@@ -78,7 +78,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('c.html') }},
@@ -122,7 +122,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('d.html') }},
@@ -153,7 +153,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('e.html') }},
@@ -184,7 +184,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 2,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('f.html') }},
@@ -215,7 +215,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 2,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('g.html') }},
@@ -261,7 +261,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('h.html') }},
@@ -292,7 +292,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 1,
parentFrameId: 0,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('i.html') }},
@@ -323,7 +323,7 @@ onload = function() {
event: "onBeforeNavigate",
details: { frameId: 0,
parentFrameId: -1,
- processId: 0,
+ processId: -1,
tabId: 0,
timeStamp: 0,
url: getURL('c.html') }},

Powered by Google App Engine
This is Rietveld 408576698