summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/api_test/webnavigation/failures/tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/api_test/webnavigation/failures/tests.js')
-rw-r--r--chrome/test/data/extensions/api_test/webnavigation/failures/tests.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/test/data/extensions/api_test/webnavigation/failures/tests.js b/chrome/test/data/extensions/api_test/webnavigation/failures/tests.js
index 99b97c5..e4a9237 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/failures/tests.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/failures/tests.js
@@ -11,13 +11,11 @@ function runTests() {
{ frameId: 0,
requestId: "0",
tabId: 0,
- timeStamp: 0,
url: getURL('nonexistant.html') }],
[ "onErrorOccurred",
{ error: "net::ERR_FILE_NOT_FOUND",
frameId: 0,
tabId: 0,
- timeStamp: 0,
url: getURL('nonexistant.html') }]]);
chrome.tabs.update(tabId, { url: getURL('nonexistant.html') });
},
@@ -29,12 +27,10 @@ function runTests() {
{ frameId: 0,
requestId: "0",
tabId: 0,
- timeStamp: 0,
url: getURL('d.html') }],
[ "onCommitted",
{ frameId: 0,
tabId: 0,
- timeStamp: 0,
transitionQualifiers: [],
transitionType: "link",
url: getURL('d.html') }],
@@ -42,23 +38,19 @@ function runTests() {
{ frameId: 1,
requestId: "0",
tabId: 0,
- timeStamp: 0,
url: getURL('c.html') }],
[ "onDOMContentLoaded",
{ frameId: 0,
tabId: 0,
- timeStamp: 0,
url: getURL('d.html') }],
[ "onErrorOccurred",
{ error: "net::ERR_FILE_NOT_FOUND",
frameId: 1,
tabId: 0,
- timeStamp: 0,
url: getURL('c.html') }],
[ "onCompleted",
{ frameId: 0,
tabId: 0,
- timeStamp: 0,
url: getURL('d.html') }]]);
chrome.tabs.update(tabId, { url: getURL('d.html') });
},
@@ -70,12 +62,10 @@ function runTests() {
{ frameId: 0,
requestId: "0",
tabId: 0,
- timeStamp: 0,
url: getURL('a.html') }],
[ "onCommitted",
{ frameId: 0,
tabId: 0,
- timeStamp: 0,
transitionQualifiers: [],
transitionType: "link",
url: getURL('a.html') }],
@@ -83,46 +73,38 @@ function runTests() {
{ frameId: 1,
requestId: "0",
tabId: 0,
- timeStamp: 0,
url: getURL('b.html') }],
[ "onDOMContentLoaded",
{ frameId: 0,
tabId: 0,
- timeStamp: 0,
url: getURL('a.html') }],
[ "onCommitted",
{ frameId: 1,
tabId: 0,
- timeStamp: 0,
transitionQualifiers: [],
transitionType: "auto_subframe",
url: getURL('b.html') }],
[ "onDOMContentLoaded",
{ frameId: 1,
tabId: 0,
- timeStamp: 0,
url: getURL('b.html') }],
[ "onCompleted",
{ frameId: 1,
tabId: 0,
- timeStamp: 0,
url: getURL('b.html') }],
[ "onCompleted",
{ frameId: 0,
tabId: 0,
- timeStamp: 0,
url: getURL('a.html') }],
[ "onBeforeNavigate",
{ frameId: 1,
requestId: "0",
tabId: 0,
- timeStamp: 0,
url: getURL('c.html') }],
[ "onErrorOccurred",
{ error: "net::ERR_FILE_NOT_FOUND",
frameId: 1,
tabId: 0,
- timeStamp: 0,
url: getURL('c.html') }]]);
chrome.tabs.update(tabId, { url: getURL('a.html') });
},