| Index: chrome/test/data/extensions/api_test/incognito/apis/background.html
|
| diff --git a/chrome/test/data/extensions/api_test/incognito/apis/background.html b/chrome/test/data/extensions/api_test/incognito/apis/background.html
|
| index 606f6b57595751b66315397791a6a0da2ca878d3..34d2f25d689ea1be069463475fccc9ce6fb3c8b7 100644
|
| --- a/chrome/test/data/extensions/api_test/incognito/apis/background.html
|
| +++ b/chrome/test/data/extensions/api_test/incognito/apis/background.html
|
| @@ -76,8 +76,7 @@ chrome.test.runTests([
|
| // Tests content script injection to verify that the script can tell its
|
| // in incongnito.
|
| function contentScriptTestIncognito() {
|
| - // The property is undefined outside of content scripts.
|
| - assertEq(undefined, chrome.extension.inIncognitoTab);
|
| + assertTrue(!chrome.extension.inIncognitoContext);
|
|
|
| var testUrl = "http://localhost:1337/files/extensions/test_file.html";
|
|
|
| @@ -85,7 +84,7 @@ chrome.test.runTests([
|
| chrome.tabs.create({windowId: incognitoWindow.id, url: testUrl},
|
| pass(function(tab) {
|
| chrome.tabs.executeScript(tab.id,
|
| - {code: 'document.title = chrome.extension.inIncognitoTab'},
|
| + {code: 'document.title = chrome.extension.inIncognitoContext'},
|
| pass(function() {
|
| assertEq(undefined, chrome.extension.lastError);
|
| chrome.tabs.get(tab.id, pass(function(tab) {
|
| @@ -98,7 +97,7 @@ chrome.test.runTests([
|
| chrome.tabs.create({windowId: normalWindow.id, url: testUrl},
|
| pass(function(tab) {
|
| chrome.tabs.executeScript(tab.id,
|
| - {code: 'document.title = chrome.extension.inIncognitoTab'},
|
| + {code: 'document.title = chrome.extension.inIncognitoContext'},
|
| pass(function() {
|
| assertEq(undefined, chrome.extension.lastError);
|
| chrome.tabs.get(tab.id, pass(function(tab) {
|
|
|