summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Add a launchApp method to extension management API.asargent@chromium.org2010-09-236-0/+58
| | | | | | | | | | | | | | | | | | | | This makes it possible for new tab replacement extensions to recreate the same app launch experience as the built-in NTP (pinned tabs, launch containers, etc.) Also add the extension version to data we report about extensions via the management API. BUG=56325,55474 TEST=An extension using chrome.experimental.management.launchApp(<id>) should work to launch an app the same way that app gets launched from the built-in new tab page. Review URL: http://codereview.chromium.org/3381019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60334 0039d316-1c4b-4281-b951-d872f2087c98
* More changes to data files for bug 53495 to try and make try bots work.aa@chromium.org2010-09-222-0/+0
| | | | | | | BUG=53495 TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60218 0039d316-1c4b-4281-b951-d872f2087c98
* Do not create an incogntio profile as side effect when listing all tabs/windows.jochen@chromium.org2010-09-212-0/+16
| | | | | | | | | 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
* experimental.sidebar extensions API: handle 'undefined' and 'null' values of ↵alekseys@chromium.org2010-09-211-0/+20
| | | | | | | | | | | | | | | | | | | 'details' parameter as if it was omitted. BUG=55202 TEST=run browser_tests.exe --gtest_filter=SidebarApiTest.* Manual test: 1. Open Developer Tools in any extension page. 2. Run the code chrome.experimental.sidebar.getState(undefined,function(){}) (undefined can be replaced with null) It should return the state of the sidebar in the current tab. Review URL: http://codereview.chromium.org/3390015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59997 0039d316-1c4b-4281-b951-d872f2087c98
* Specifying "targetUrlPatterns" should imply link context.asargent@chromium.org2010-09-204-8/+25
| | | | | | | | | | | | | | | When creating a context menu item from an extension, specifying one or more patterns in the "targetUrlPatterns" should imply that your item only appears on items with a matching link, and not in contexts that have no link (which does not match, sort of by definition :) ). BUG=49739 TEST=Follow steps in bug report. Review URL: http://codereview.chromium.org/3420009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59986 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r59641. Add the onBeforeNavigate and onErrorOccured events to the ↵jochen@chromium.org2010-09-171-78/+201
| | | | | | | | | | | | | webNavigation API. Also, rewrite the onCommitted event such that AUTO_SUBFRAME events are also registered. BUG=50943 TEST=WebNavigationEvents Review URL: http://codereview.chromium.org/3383008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59777 0039d316-1c4b-4281-b951-d872f2087c98
* Add a placeholder, overridable DOMUI keyboard.bryeung@chromium.org2010-09-166-0/+32
| | | | | | | | | | | This change does not add support for displaying the keyboard. That will be provided (along with a more useful keyboard) in follow-up changes. BUG=none TEST=added new override test Review URL: http://codereview.chromium.org/3362019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59712 0039d316-1c4b-4281-b951-d872f2087c98
* Data files for bug 53495 so that trybots will work.aa@chromium.org2010-09-167-0/+35
| | | | | | | TBR=mpcomplete@chromium.org BUG=53495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59681 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59641 - Add the onBeforeNavigate and onErrorOccured events to the ↵jochen@chromium.org2010-09-161-201/+78
| | | | | | | | | | | | | | | | | | | | webNavigation API. Also, rewrite the onCommitted event such that AUTO_SUBFRAME events are also registered. The frameId and the requestId fields are still unimplemented. Also, there occur navigation events after an error is reported. BUG=50943 TEST=WebNavigationEvents Review URL: http://codereview.chromium.org/3436002 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3389012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59642 0039d316-1c4b-4281-b951-d872f2087c98
* Add the onBeforeNavigate and onErrorOccured events to the webNavigation API.jochen@chromium.org2010-09-161-78/+201
| | | | | | | | | | | | | | | Also, rewrite the onCommitted event such that AUTO_SUBFRAME events are also registered. The frameId and the requestId fields are still unimplemented. Also, there occur navigation events after an error is reported. BUG=50943 TEST=WebNavigationEvents Review URL: http://codereview.chromium.org/3436002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59641 0039d316-1c4b-4281-b951-d872f2087c98
* Do not resize image before testing pixel colors in browser test. Only crop.skerner@chromium.org2010-09-163-25/+36
| | | | | | | | | | | Scaling would change the color of pixels, causing test failure. BUG=51761 TEST=ExtensionApiTest.CaptureVisibleTabPng Review URL: http://codereview.chromium.org/3395004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59611 0039d316-1c4b-4281-b951-d872f2087c98
* Hide packed hosted apps in chrome://extensions .skerner@chromium.org2010-09-143-0/+3
| | | | | | | | | BUG=53222 TEST=Manualy installed extensions, hosted apps,a nd packaged apps. Review URL: http://codereview.chromium.org/3425001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59455 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59138 - Revert 59123 - Don't use the return value of ↵rogerta@google.com2010-09-131-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | rlz_lib::SendFinancialPing() as the return value of the chrome extension API, since a false does not represent an error. Added an optional callback to the API so that caller can determine if the ping was sent or not. This CL is to reapply change 58827, which was reverted due to a test break. I found an uninitialized variable in the underlying RLZ code, see http://code.google.com/p/rlz/source/detail?r=18 for the fix. This CL includes a bump of the RLZ library to get this fix. The tests have been expanded a bit too since 58827. BUG=54294 TEST=n/a Review URL: http://codereview.chromium.org/3350016 Review URL: http://codereview.chromium.org/3330019 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/3323028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59248 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r54723. Implement the webNavigation.onCommitted event.jochen@chromium.org2010-09-1310-0/+139
| | | | | | | | | BUG=50943 TEST=ExtensionApiTest.WebNavigationEvents Review URL: http://codereview.chromium.org/3310025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59212 0039d316-1c4b-4281-b951-d872f2087c98
* More data changes for landing http://codereview.chromium.org/3325024/show to ↵aa@chromium.org2010-09-101-50/+0
| | | | | | | | make try jobs run. TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59176 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59123 - Don't use the return value of rlz_lib::SendFinancialPing() as ↵sky@chromium.org2010-09-101-23/+4
| | | | | | | | | | | | | | | | | | | | | | | | the return value of the chrome extension API, since a false does not represent an error. Added an optional callback to the API so that caller can determine if the ping was sent or not. This CL is to reapply change 58827, which was reverted due to a test break. I found an uninitialized variable in the underlying RLZ code, see http://code.google.com/p/rlz/source/detail?r=18 for the fix. This CL includes a bump of the RLZ library to get this fix. The tests have been expanded a bit too since 58827. BUG=54294 TEST=n/a Review URL: http://codereview.chromium.org/3350016 TBR=rogerta@google.com Review URL: http://codereview.chromium.org/3330019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59138 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the return value of rlz_lib::SendFinancialPing() as the return valuerogerta@google.com2010-09-101-4/+23
| | | | | | | | | | | | | | | | | | | of the chrome extension API, since a false does not represent an error. Added an optional callback to the API so that caller can determine if the ping was sent or not. This CL is to reapply change 58827, which was reverted due to a test break. I found an uninitialized variable in the underlying RLZ code, see http://code.google.com/p/rlz/source/detail?r=18 for the fix. This CL includes a bump of the RLZ library to get this fix. The tests have been expanded a bit too since 58827. BUG=54294 TEST=n/a Review URL: http://codereview.chromium.org/3350016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59123 0039d316-1c4b-4281-b951-d872f2087c98
* Excempt certain extension functions from module permission check.finnur@chromium.org2010-09-103-0/+42
| | | | | | | | BUG=43743 TEST=Two news tests: ExtensionTest.ApiPermissions (unit test), and ExtensionApiTest.AlwaysAllowed (browser test) Review URL: http://codereview.chromium.org/3316009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59074 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for PAC scripts (URL only, no direct data yet) and proxy ↵pam@chromium.org2010-09-105-2/+30
| | | | | | | | | | auto-config to the proxy extension API. BUG=48930 TEST=covered by browser_tests ExtensionAPITest.Proxy* Review URL: http://codereview.chromium.org/3348014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59073 0039d316-1c4b-4281-b951-d872f2087c98
* Implement gallery install APIrafaelw@chromium.org2010-09-091-0/+58
| | | | | | | | | | This patch implements chrome.experimental.management.install() which is only available for use by the web store. Calling with an extensionId, causes the download url to be constructed internally and downloaded and then cause the installation to bypass the normal permissions dialog. BUG=27431,54148 Review URL: http://codereview.chromium.org/3353015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58956 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where window.open() with no feature string fromaa@chromium.org2010-09-0911-0/+121
| | | | | | | | | | | | extension background pages created a new browser instead of a tab. BUG=54768 TEST= Review URL: http://codereview.chromium.org/3352009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58902 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r58827. It caused browser_tests ExtensionApiTest.Rlz to fail.mark@chromium.org2010-09-081-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Failures: http://build.chromium.org/buildbot/waterfall/builders/XP%20Tests/builds/22649/steps/browser_tests/logs/stdio http://build.chromium.org/buildbot/waterfall/builders/Vista%20Tests/builds/22157/steps/browser_tests/logs/stdio ( RUN ) sendFinancialPing ( FAILED ) sendFinancialPing Got EXTENSION_TEST_FAILED notification. .\browser\extensions\extension_rlz_apitest.cc(67): error: Value of: RunExtensionTest("rlz") Actual: false Expected: true FAIL (no message) at Object.callback (chrome-extension://acmddjjmpkiijbjcdpchhmniojioobgh/test.js:147:63) at Object.<anonymous> (chrome/ExtensionProcessBindings:124:19) [ FAILED ] ExtensionApiTest.Rlz (1531 ms) BUG=54294 TEST=green tests TBR=rogerta@google.com Review URL: http://codereview.chromium.org/3371006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58839 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the return value of rlz_lib::SendFinancialPing() as the return valuerogerta@google.com2010-09-081-1/+10
| | | | | | | | | | | | | of the chrome extension API, since a false does not represent an error. Added an optional callback to the API so that caller can determine if the ping was sent or not. BUG=54294 TEST=n/a Review URL: http://codereview.chromium.org/3358012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58827 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58809 - Implement the webNavigation.onCommitted event.jochen@chromium.org2010-09-0810-139/+0
| | | | | | | | | | | | BUG=50943 TEST=ExtensionApiTest.WebNavigationEvents Review URL: http://codereview.chromium.org/3369007 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3359013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58816 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58814 - Increase the delay in WebNavigationEvents test from 500ms to 1s.jochen@chromium.org2010-09-085-5/+5
| | | | | | | | | | | | | BUG=50943 TEST=WebNavigationEvents doesn't fail TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3352011 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3291017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58815 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the delay in WebNavigationEvents test from 500ms to 1s.jochen@chromium.org2010-09-085-5/+5
| | | | | | | | | | BUG=50943 TEST=WebNavigationEvents doesn't fail TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3352011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58814 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the webNavigation.onCommitted event.jochen@chromium.org2010-09-0810-0/+139
| | | | | | | | | BUG=50943 TEST=ExtensionApiTest.WebNavigationEvents Review URL: http://codereview.chromium.org/3369007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58809 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58802 - Implement the webNavigation.onCommitted event.jochen@chromium.org2010-09-0810-138/+0
| | | | | | | | | | | | BUG=50943 TEST=ExtensionApiTest.WebNavigationEvents Review URL: http://codereview.chromium.org/3307013 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3317013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58807 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the webNavigation.onCommitted event.jochen@chromium.org2010-09-0810-0/+138
| | | | | | | | | BUG=50943 TEST=ExtensionApiTest.WebNavigationEvents Review URL: http://codereview.chromium.org/3307013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58802 0039d316-1c4b-4281-b951-d872f2087c98
* Due to some unresolved blocking issues, we are switching Native Client back ↵cbiffle@google.com2010-09-031-1/+1
| | | | | | | | | | off for applications/extensions in M7. This change is aiming for a small diff, since I'm going to turn it right back on once this is cherrypicked. Thus there's some small redundancy, e.g. in render_view.cc. BUG=45881 TEST=included Review URL: http://codereview.chromium.org/3324002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58551 0039d316-1c4b-4281-b951-d872f2087c98
* Deletions related to http://codereview.chromium.org/3127037, separatedjoi@chromium.org2010-09-038-472/+0
| | | | | | | | | | | | so that gcl try works correctly; will submit only after the above. TEST=none BUG=none Review URL: http://codereview.chromium.org/3301012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58444 0039d316-1c4b-4281-b951-d872f2087c98
* Allow experimental extension pop-ups from infobars.joi@chromium.org2010-09-0311-0/+549
| | | | | | | | | BUG=none TEST=browser_tests.exe --gtest_filter=*PopupFromInfobar* Review URL: http://codereview.chromium.org/3127037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58442 0039d316-1c4b-4281-b951-d872f2087c98
* fix bookmark permission. update unit test to test bookmarks and historyerikkay@chromium.org2010-09-022-0/+14
| | | | | | | | | BUG=none TEST=ExtensionTest.IsPrivilegeIncrease Review URL: http://codereview.chromium.org/3341007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58411 0039d316-1c4b-4281-b951-d872f2087c98
* A CL implementing a collection of fixes to tidy up experimental popups.twiz@google.com2010-09-018-157/+183
| | | | | | | | | | | | | | | The following are fixed: - Modified test\data\extension\api_test\popup to account for the removal of toolbar support. The tests now start with a background page that creates a tab pointing to an extension dom-ui that runs the tests. - Changed the positioning of experimental popup views with the arrow location set to the right. Popups used to always be anchored to the left edge of their relative dom element, now popups with a right-arrow will be attached to the right edge of their relative dom anchor. Note that this only impacts popups with the 'rectangle' chrome. - Removed empty directory, test\data\extensions\api_test\popup_api BUG=46601, 51821 TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/3155044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58188 0039d316-1c4b-4281-b951-d872f2087c98
* Fix perms on a few files.aa@chromium.org2010-09-013-0/+0
| | | | | | TBR=tim@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58136 0039d316-1c4b-4281-b951-d872f2087c98
* Allow options pages for hosted apps to be external.skerner@chromium.org2010-09-014-0/+61
| | | | | | | | | BUG=53155 TEST=ExtensionManifestTet.OptionsPageInApps Review URL: http://codereview.chromium.org/3222008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58125 0039d316-1c4b-4281-b951-d872f2087c98
* window.open() from an extension should always goes in normal browser. When ↵aa@chromium.org2010-09-014-0/+64
| | | | | | | | | | | the split incognito stuff lands, I will change this to allow window.open() to go to incognito if you're in split mode. BUG=52298 TEST=browser_tests --gtest_filter=ExtensionApiTest.WindowOpen Review URL: http://codereview.chromium.org/3249012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58120 0039d316-1c4b-4281-b951-d872f2087c98
* Protect local storage created by extension apps.andybons@chromium.org2010-09-011-0/+9
| | | | | | | | | | BUG=49228 TEST=ExtensionsServiceTest.InstallAppsAndCheckStorageProtection TEST=DatabaseTrackerTest.* Review URL: http://codereview.chromium.org/3256003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58108 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for a "split" incognito behavior for extensions.mpcomplete@chromium.org2010-08-315-8/+108
| | | | | | | | | | | | | | | | - On by default for apps, off by default for extensions. - Split mode means "run incognito extensions in a separate process if the user says OK, and the two processes can only see their own profile." - Spanning mode is what we have now, and means "run a single extension process, but allow it to access both profiles if the user says OK." BUG=49232 BUG=49114 TEST=extensions still work in incognito when you check "Allow in Incognito". Review URL: http://codereview.chromium.org/3210007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58033 0039d316-1c4b-4281-b951-d872f2087c98
* Remove full-screen launch option app.launch.fullscreenskerner@chromium.org2010-08-302-20/+0
| | | | | | | | | BUG=42447 TEST=Load an extension with app.launch.fullscreen, saw that it had no effect. Review URL: http://codereview.chromium.org/3275003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57855 0039d316-1c4b-4281-b951-d872f2087c98
* Implement events for extensions management API.asargent@chromium.org2010-08-306-18/+47
| | | | | | | | | | | BUG=51178 TEST=The events described in the experimental.management API should fire for extensions and apps being installed, uninstalled, enabled, and disabled. Review URL: http://codereview.chromium.org/3278003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57831 0039d316-1c4b-4281-b951-d872f2087c98
* remove browse extenterikkay@chromium.org2010-08-296-73/+0
| | | | | | | | | BUG=53593 TEST=none Review URL: http://codereview.chromium.org/3242005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57821 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed the native_client permission to nativeClient, for consistency with ↵cbiffle@google.com2010-08-271-1/+1
| | | | | | | | | | the other permissions. BUG=52753 TEST= nacl_enabled permissions test Review URL: http://codereview.chromium.org/3181043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57708 0039d316-1c4b-4281-b951-d872f2087c98
* Change, unify, and specify ordering of cookies from CookieMonster.rdsmith@chromium.org2010-08-271-2/+2
| | | | | | | | | | | | | | Affected interfaces: * GetCookiesWithOptions (used by HTTP requests) * GetAllCookiesForURL (used by extensions and Cookies UI) * GetAllCookies (used by Cookies UI). BUG=8850 (indirectly) TEST=Standard cookie monster tests, unit_tests::CookiesTreeModelTest.OriginOrdering, browser_tests::ExtensionApiTest.Cookies Review URL: http://codereview.chromium.org/3170034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57694 0039d316-1c4b-4281-b951-d872f2087c98
* Implement window.chrome.app.isInstalled .skerner@chromium.org2010-08-271-0/+11
| | | | | | | | | BUG=49225 TEST=ExtensionBrowserTest.PropertyAppIsInstalled Review URL: http://codereview.chromium.org/3169045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57674 0039d316-1c4b-4281-b951-d872f2087c98
* Revert revision 57540gregoryd@google.com2010-08-261-4/+1
| | | | | | | | TBR=cbiffle BUG=45881 Review URL: http://codereview.chromium.org/3159046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57551 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:executable property from several test files.asargent@chromium.org2010-08-264-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57549 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at experimental API for managing installed/enabled extensions.asargent@chromium.org2010-08-2614-0/+208
| | | | | | | | | | | The documented methods should all be working, but events are not hooked up yet. BUG=51178 TEST=none Review URL: http://codereview.chromium.org/3200012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57544 0039d316-1c4b-4281-b951-d872f2087c98
* Run NaClPermissionEnabled on all platforms (relying on NaCl's support for ↵gregoryd@google.com2010-08-261-1/+4
| | | | | | | | | | multiple architectures) BUG=45881 TEST=This CL Review URL: http://codereview.chromium.org/3148025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57540 0039d316-1c4b-4281-b951-d872f2087c98
* Remove launch.container='window'.aa@chromium.org2010-08-2012-12/+4
| | | | | | | | BUG=49241 Review URL: http://codereview.chromium.org/3125031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56934 0039d316-1c4b-4281-b951-d872f2087c98