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

Side by Side Diff: chrome/test/data/extensions/api_test/webnavigation/test_history.js

Issue 10823169: Another attempt at fixing dead frames being tracked by webNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/data/extensions/api_test/webnavigation/test_crossProcess.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function runTests() { 5 function runTests() {
6 var getURL = chrome.extension.getURL; 6 var getURL = chrome.extension.getURL;
7 chrome.tabs.create({"url": "about:blank"}, function(tab) { 7 chrome.tabs.create({"url": "about:blank"}, function(tab) {
8 var tabId = tab.id; 8 var tabId = tab.id;
9 9
10 chrome.test.runTests([ 10 chrome.test.runTests([
(...skipping 29 matching lines...) Expand all
40 processId: 0, 40 processId: 0,
41 tabId: 0, 41 tabId: 0,
42 timeStamp: 0, 42 timeStamp: 0,
43 url: getURL('history/b.html') }}, 43 url: getURL('history/b.html') }},
44 { label: "a-onHistoryStateUpdated", 44 { label: "a-onHistoryStateUpdated",
45 event: "onHistoryStateUpdated", 45 event: "onHistoryStateUpdated",
46 details: { frameId: 0, 46 details: { frameId: 0,
47 processId: 0, 47 processId: 0,
48 tabId: 0, 48 tabId: 0,
49 timeStamp: 0, 49 timeStamp: 0,
50 transitionQualifiers: ["client_redirect"], 50 transitionQualifiers: [],
51 transitionType: "link", 51 transitionType: "link",
52 url: getURL('history/b.html') }}], 52 url: getURL('history/b.html') }}],
53 [ navigationOrder("a-") ]); 53 [ navigationOrder("a-") ]);
54 chrome.tabs.update(tabId, { url: getURL('history/a.html') }); 54 chrome.tabs.update(tabId, { url: getURL('history/a.html') });
55 }, 55 },
56 ]); 56 ]);
57 }); 57 });
58 } 58 }
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/webnavigation/test_crossProcess.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698