| Index: chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html
|
| diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html b/chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html
|
| index 24886f8bf5d3b90aa7b06443992ab0595cd8ec98..36ec7eb299b51662922bcf25d383e88a8861c2dc 100644
|
| --- a/chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html
|
| +++ b/chrome/test/data/extensions/api_test/webnavigation/test_getFrame.html
|
| @@ -1,6 +1,7 @@
|
| <script>
|
| var URL = chrome.extension.getURL("getFrame/a.html");
|
| var tabId = -1;
|
| +var processId = -1;
|
|
|
| chrome.test.runTests([
|
| function testGetFrame() {
|
| @@ -13,8 +14,9 @@ chrome.test.runTests([
|
| return;
|
| if (details.url != URL)
|
| return;
|
| + processId = details.processId;
|
| chrome.webNavigation.getFrame(
|
| - {tabId: tabId, frameId: 0},
|
| + {tabId: tabId, frameId: 0, processId: processId},
|
| function(details) {
|
| chrome.test.assertEq({errorOccurred: false, url: URL},
|
| details);
|
| @@ -27,7 +29,7 @@ chrome.test.runTests([
|
|
|
| function testGetInvalidFrame() {
|
| chrome.webNavigation.getFrame(
|
| - {tabId: tabId, frameId: 1},
|
| + {tabId: tabId, frameId: 1, processId: processId},
|
| function (details) {
|
| chrome.test.assertEq(null, details);
|
| chrome.test.succeed();
|
| @@ -38,8 +40,12 @@ chrome.test.runTests([
|
| chrome.webNavigation.getAllFrames(
|
| {tabId: tabId},
|
| function (details) {
|
| - chrome.test.assertEq([{errorOccurred: false, frameId: 0, url: URL}],
|
| - details);
|
| + chrome.test.assertEq(
|
| + [{errorOccurred: false,
|
| + frameId: 0,
|
| + processId: processId,
|
| + url: URL}],
|
| + details);
|
| chrome.test.succeed();
|
| });
|
| }
|
|
|