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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html

Issue 10808097: Revert 148074 - Pass the render process id to the FrameNavigationState. (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
« no previous file with comments | « chrome/common/extensions/docs/extensions/webNavigation.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html
===================================================================
--- chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html (revision 148085)
+++ chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html (working copy)
@@ -1,7 +1,6 @@
<script>
var URL = chrome.extension.getURL("getFrame/a.html");
var tabId = -1;
-var processId = -1;
chrome.test.runTests([
function testGetFrame() {
@@ -14,9 +13,8 @@
return;
if (details.url != URL)
return;
- processId = details.processId;
chrome.webNavigation.getFrame(
- {tabId: tabId, frameId: 0, processId: processId},
+ {tabId: tabId, frameId: 0},
function(details) {
chrome.test.assertEq({errorOccurred: false, url: URL},
details);
@@ -29,7 +27,7 @@
function testGetInvalidFrame() {
chrome.webNavigation.getFrame(
- {tabId: tabId, frameId: 1, processId: processId},
+ {tabId: tabId, frameId: 1},
function (details) {
chrome.test.assertEq(null, details);
chrome.test.succeed();
@@ -40,12 +38,8 @@
chrome.webNavigation.getAllFrames(
{tabId: tabId},
function (details) {
- chrome.test.assertEq(
- [{errorOccurred: false,
- frameId: 0,
- processId: processId,
- url: URL}],
- details);
+ chrome.test.assertEq([{errorOccurred: false, frameId: 0, url: URL}],
+ details);
chrome.test.succeed();
});
}
« no previous file with comments | « chrome/common/extensions/docs/extensions/webNavigation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698