diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 09:58:01 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 09:58:01 +0000 |
commit | a320e51df14cf5f2112783b8390fc77e3bf0c569 (patch) | |
tree | 8424e0fe1efe545fccc5e7b3f4b6d08e8341d366 /chrome/test | |
parent | a4949656364a4d4ad177eedfda6f4d4228f1155b (diff) | |
download | chromium_src-a320e51df14cf5f2112783b8390fc77e3bf0c569.zip chromium_src-a320e51df14cf5f2112783b8390fc77e3bf0c569.tar.gz chromium_src-a320e51df14cf5f2112783b8390fc77e3bf0c569.tar.bz2 |
Do not create an incogntio profile as side effect when listing all tabs/windows.
BUG=55479
TEST=DontCreateIncognitoProfile
Review URL: http://codereview.chromium.org/3412005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/data/extensions/api_test/incognito/enumerate_tabs/background.html | 9 | ||||
-rw-r--r-- | chrome/test/data/extensions/api_test/incognito/enumerate_tabs/manifest.json | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/api_test/incognito/enumerate_tabs/background.html b/chrome/test/data/extensions/api_test/incognito/enumerate_tabs/background.html new file mode 100644 index 0000000..c8777a7 --- /dev/null +++ b/chrome/test/data/extensions/api_test/incognito/enumerate_tabs/background.html @@ -0,0 +1,9 @@ +<script> +chrome.test.runTests([ + function enumerateTabs() { + chrome.windows.getAll({"populate": true}, function (windows) { + chrome.test.succeed(); + }); + } +]); +</script> diff --git a/chrome/test/data/extensions/api_test/incognito/enumerate_tabs/manifest.json b/chrome/test/data/extensions/api_test/incognito/enumerate_tabs/manifest.json new file mode 100644 index 0000000..fc85e95 --- /dev/null +++ b/chrome/test/data/extensions/api_test/incognito/enumerate_tabs/manifest.json @@ -0,0 +1,7 @@ +{ + "name": "incognito apitest", + "version": "0.1", + "description": "test that an incognito extension can't accidentially create an OTR profile", + "background_page": "background.html", + "permissions": ["tabs"] +} |