summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant tests for chrome.experimental.history API.brg@chromium.com2009-10-301-108/+0
| | | | | | | | | The functionality in the listen tests was added to the primary API tests when they were rewritten to be event driven. TEST=ExtensionApiTest.History BUG=none Review URL: http://codereview.chromium.org/341047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30563 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the Extension History API, v 0.1.The first version is a weak ↵brg@chromium.com2009-10-305-0/+622
| | | | | | | | wrapper around the HistoryServices object in Chrome.BUG=22952TEST=browser_tests.exe --gtest_filer=ExtensionApiTest.History Review URL: http://codereview.chromium.org/313001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30561 0039d316-1c4b-4281-b951-d872f2087c98
* Change the extension.onRequest even to include the sender info.mpcomplete@chromium.org2009-10-292-13/+16
| | | | | | | | BUG=23865 Review URL: http://codereview.chromium.org/341025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30534 0039d316-1c4b-4281-b951-d872f2087c98
* - Removes fallback from Prefs to LoadExtension on UI thread.cira@chromium.org2009-10-292-5/+71
| | | | | | | | | | - Fix extension_service_unittest to actually load extensions from prefs. BUG=19733 TEST=Remove extension manifest from Preferences file. Extension shouldn't load even if the necessary files are present. Review URL: http://codereview.chromium.org/339058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30521 0039d316-1c4b-4281-b951-d872f2087c98
* New event style for pageAction API.asargent@chromium.org2009-10-294-0/+44
| | | | | | | | | | | | This makes us fire both the old deprecated style of pageActions click handler and the new pageAction style. BUG=25833 TEST=none Review URL: http://codereview.chromium.org/346006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30499 0039d316-1c4b-4281-b951-d872f2087c98
* Constrain extension popups to a min/max size.erikkay@chromium.org2009-10-281-5/+5
| | | | | | | | | | | Also, fix some glitches in sizing the popups. BUG=25214 TEST=ExtensionApiTest.BrowserActionPopup Review URL: http://codereview.chromium.org/295051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30346 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 21729: Add new event chrome.tabs.onStatusChange .skerner@chromium.org2009-10-283-27/+51
| | | | | | | | BUG=21729 TEST= Manually tested that onUpdated sends all tab info. Updated unit tests. Review URL: http://codereview.chromium.org/289006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30341 0039d316-1c4b-4281-b951-d872f2087c98
* Rename getTabContentses to getExtensionTabs.aa@chromium.org2009-10-281-5/+9
| | | | | | | | | | | | | The old name is also aliased for backwards compat. This lands: http://codereview.chromium.org/224012 BUG=21433 Review URL: http://codereview.chromium.org/339041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30326 0039d316-1c4b-4281-b951-d872f2087c98
* Filter out hidden files, both when loading extensions and whenaa@chromium.org2009-10-283-0/+1
| | | | | | | | | | | | | packaging them. We also special case the common OS X zip dropping "__MACOSX" when loading extensions. BUG=23004 Review URL: http://codereview.chromium.org/340018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30312 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing icon to gmail checker.aa@chromium.org2009-10-271-0/+0
| | | | | | TBR=estade@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30271 0039d316-1c4b-4281-b951-d872f2087c98
* Make the web plugin proxy tolerant of windowless bitmap memory mapping failures.brettw@chromium.org2009-10-271-2/+2
| | | | | | | | | | | | | These seem to be happening at a low frequency, and can be a result of being out of memory or using too many GDI resources (I think). By catching the error and clearing the canvas pointers, we won't crash and will just skip drawing the plugin. TEST=none BUG=25689 Review URL: http://codereview.chromium.org/332033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30201 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run WorkerTest.LimitTotal under ThreadSanitizertimurrrr@chromium.org2009-10-271-0/+2
| | | | | | | | BUG=25917 TBR=dank Review URL: http://codereview.chromium.org/339023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30183 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix and enable DevToolsExtensionDebugTest.TestContentScriptIsPresent.yurys@google.com2009-10-271-0/+13
| | | | | | Review URL: http://codereview.chromium.org/328029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30179 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some recently fixed bugs from the known_issues filesgjesse@chromium.org2009-10-271-6/+0
| | | | | | | | | | Landing http://codereview.chromium.org/334026. BUG=20825,23780,24200 TEST=none Review URL: http://codereview.chromium.org/338039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30174 0039d316-1c4b-4281-b951-d872f2087c98
* Add about:crash to known crashes.patrick@chromium.org2009-10-271-0/+3
| | | | | | Review URL: http://codereview.chromium.org/330025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30146 0039d316-1c4b-4281-b951-d872f2087c98
* Move page actions over to ExtensionAction2 and get rid ofaa@chromium.org2009-10-275-16/+10
| | | | | | | | | | | | | extension_action.*. Final bit of refactor will be to rename ExtensionAction2 to ExtensionAction will be the next CL. BUG=24472,25844 Review URL: http://codereview.chromium.org/332021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30133 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented NPN_ScheduleTimer and NPN_UnscheduleTimer.apatrick@google.com2009-10-261-0/+25
| | | | | | | | | TEST=none BUG=18020 Review URL: http://codereview.chromium.org/329013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30105 0039d316-1c4b-4281-b951-d872f2087c98
* Update buildbot sample to work with newest APIs.aa@chromium.org2009-10-261-3/+3
| | | | | | Review URL: http://codereview.chromium.org/330015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30070 0039d316-1c4b-4281-b951-d872f2087c98
* Polish to the gmail checker sample.aa@chromium.org2009-10-264-24/+65
| | | | | | | | | | | | * New, crisper icons that are exactly 19x19 * Add a loading animation at the beginning before Gmail responds. * Fix a bug where we sometimes don't update the UI after a logout/login cycle. Review URL: http://codereview.chromium.org/338013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30067 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt to swap processes on rel=noreferrer, target=blank links.creis@chromium.org2009-10-261-0/+37
| | | | | | | | | | | | | The test timed out on one of the bots last time. This change tries to fix that, and it breaks down the test into multiple tests to isolate the problem in case it isn't fixed. No changes to code outside the test and the test HTML file. Previous review at http://codereview.chromium.org/284015. BUG=24447 TEST=RenderViewHostManagerTest.*SwapProcess* Review URL: http://codereview.chromium.org/328017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30050 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor BrowserActions, and add support foraa@chromium.org2009-10-243-1/+50
| | | | | | | | | | | | | | | | | tab-specific state. Future changelists will move Page Actions over to ExtensionAction2, then replace ExtensionAction and ExtensionActionState with ExtensionAction2. Also, fix a bug in setIcon({path:...}) where it would work only the first time. BUG=24669,24472 Review URL: http://codereview.chromium.org/306044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29997 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ExtensionApiTest.PageAction & Enable test on linuxrafaelw@chromium.org2009-10-241-3/+0
| | | | | | | | TBR=mpcomplete Review URL: http://codereview.chromium.org/337015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29987 0039d316-1c4b-4281-b951-d872f2087c98
* Add a regression test for the PluginChannel::CleanUp. My earlier ↵jam@chromium.org2009-10-241-0/+50
| | | | | | | | | | | speculative fix was correct. I tracked this down to my earlier change to not leak NPObjects on channel shutdown (which now happens a lot more often because of sudden termination for tab close). Since we now call an NPObject's deallocate function, it's possible that it leads to an NPObjectProxy being deleted, in which case we would delete an object in the listener's array while we're looping across it. BUG=25439 Review URL: http://codereview.chromium.org/332013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29982 0039d316-1c4b-4281-b951-d872f2087c98
* Add a known crash to the reliability bot.brettw@chromium.org2009-10-231-0/+3
| | | | | | | BUG=25689 Review URL: http://codereview.chromium.org/334014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29970 0039d316-1c4b-4281-b951-d872f2087c98
* Add a regression test for the renderer hang when a plugin's NP_Initialize ↵jam@chromium.org2009-10-231-0/+28
| | | | | | | | | function crashes. BUG=25104 Review URL: http://codereview.chromium.org/337004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29923 0039d316-1c4b-4281-b951-d872f2087c98
* Implement extension.sendRequest, a simpler way to do messaging.mpcomplete@chromium.org2009-10-235-13/+71
| | | | | | | | BUG=23865 Review URL: http://codereview.chromium.org/320009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29911 0039d316-1c4b-4281-b951-d872f2087c98
* Add some icons that will be used by future tests.aa@chromium.org2009-10-237-0/+0
| | | | | | | BUG=24669,24472 TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29909 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment with startup tests and file urls. asargent@chromium.org2009-10-231-0/+3
| | | | | | | | | | | | | | | For extensions purposes, content scripts don't see any DOM when running on the existing empty.html file. We're curious if using an html file with a real (but empty) body makes any difference in startup time for the extensions tests. BUG=none TEST=none Review URL: http://codereview.chromium.org/332003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29899 0039d316-1c4b-4281-b951-d872f2087c98
* Readding from scratch instead reverting the revert.finnur@chromium.org2009-10-234-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It kept eating the files I added, so I recreated the changelist from scratch using the raw patch downloaded from Rietveld. TBR=mpcomplete Original description: We changed the page action manifest from 'icon' -> 'default_icon' and now allow extensions to programmatically specifying an icon. However, page actions that hard-coded an icon using the 'icon' tag in the manifest (don't show an icon programmatically) now lose their icons. This causes a crash when we try to display the icon in the LocationBarView. We now check when the extension tries to enable the page action whether there are any icons to display. If not, we don't proceed and log an error to the console. BUG=25562 TEST=Covered by browser test. Review URL: http://codereview.chromium.org/334005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29875 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 29861 since this fail on the interactivefinnur@chromium.org2009-10-234-52/+0
| | | | | | | | | | | | | | | | | | | | | | | | linux dbg bot, for some weird reason... Page actions that don't specify an icon (ie. have a spelling error in the manifest, such as icon instead of icons/default_icon) caused a crash when they try to display their icon. We now check when the extension tries to enable the page action whether there are any icons to display. If not, we don't proceed and log an error to the console. TBR=nsylvain BUG=25562 TEST=Covered by browser test. Review URL: http://codereview.chromium.org/316018 TBR=finnur@chromium.org Review URL: http://codereview.chromium.org/327007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29867 0039d316-1c4b-4281-b951-d872f2087c98
* Implements tests for testing browser's overall key events handling behavior.suzhe@chromium.org2009-10-231-0/+165
| | | | | | | | | | | | This CL implements some basic tests for testing browser's overall key events handling behavior. This CL depends on http://codereview.chromium.org/235039 and http://codereview.chromium.org/195062. Currently, only Linux and Windows are supported. The tests assume US keyboard layout is used and no IME is activated. We still need to investigate how to write tests that involving different keyboard layout and input methods. BUG=none TEST=none Review URL: http://codereview.chromium.org/268035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29866 0039d316-1c4b-4281-b951-d872f2087c98
* Page actions that don't specify an icon (ie.finnur@chromium.org2009-10-234-0/+52
| | | | | | | | | | | | | | | | | have a spelling error in the manifest, such as icon instead of icons/default_icon) caused a crash when they try to display their icon. We now check when the extension tries to enable the page action whether there are any icons to display. If not, we don't proceed and log an error to the console. BUG=25562 TEST=Covered by browser test. Review URL: http://codereview.chromium.org/316018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29861 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DromaeoReferenceTest.Perf on Mac valgrind botsstuartmorgan@chromium.org2009-10-231-0/+2
| | | | | | | | | BUG=25589 TEST=Mac UI valgrind bot 2 should be happier Review URL: http://codereview.chromium.org/332002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29846 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 29783.johnnyg@chromium.org2009-10-221-37/+0
| | | | | | Review URL: http://codereview.chromium.org/306055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29795 0039d316-1c4b-4281-b951-d872f2087c98
* Swaps renderer processes on links with rel=noreferrer and target=_blank.creis@google.com2009-10-221-0/+37
| | | | | | | | | | We now detect these types of navigations in RenderView and allow the browser process to handle them. This allows us to swap process if the navigation is cross-site. Requires exposing suppressOpenerInNewFrame in WebFrame to accurately detect these links. BUG=24447 TEST=RenderViewHostManagerTest.SwapProcessOnRelNoreferrerWithTargetBlank Review URL: http://codereview.chromium.org/284015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29783 0039d316-1c4b-4281-b951-d872f2087c98
* The Management UI now fetches the icon for each extensionfinnur@chromium.org2009-10-213-0/+3
| | | | | | | | | | | | | | and shows it on the page. BUG=12119 TEST=Open chrome://extensions and all extensions that have an icon associated with them, should show the icon and those that don't have the generic plugin icon. Review URL: http://codereview.chromium.org/292048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29714 0039d316-1c4b-4281-b951-d872f2087c98
* Implementing better fallback algorithm.cira@chromium.org2009-10-212-0/+17
| | | | | | | | | | | | | | | | | | | | | | | Before: current_locale->default_locale Now: current_locale->chain_of_parent_locales->default_locale If default_locale is de, and current locale en_US, we follow: en_US -> en -> de en is not a Chrome locale (only en_US, en_GB are), but we fake it to allow this kind of fallback. Developers can implement common locale root with most of the messages (like en) and put locale specifics in en_GB (color->colour) or en_US. You can even symlink en and en_US and save on work. I am planning on fixing loading local resources too, to use this child->parent fallback. BUG=12131 Review URL: http://codereview.chromium.org/293037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29684 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 29635 - DevTools: fix and enable TestContentScriptIsPresentnsylvain@chromium.org2009-10-211-12/+0
| | | | | | | | | | | The test was still failing Review URL: http://codereview.chromium.org/314001 TBR=yurys@google.com Review URL: http://codereview.chromium.org/292051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29683 0039d316-1c4b-4281-b951-d872f2087c98
* Add umr in base::PrivateKeyInfoCodec::PrependIntegerImpl.nsylvain@chromium.org2009-10-211-0/+22
| | | | | | | | BUG:None, since there is already multiple similar stacks in this file. TBR Review URL: http://codereview.chromium.org/307019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29645 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix and enable TestContentScriptIsPresentyurys@google.com2009-10-211-0/+12
| | | | | | Review URL: http://codereview.chromium.org/314001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29635 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: test that content scripts are visible in the debugger scripts listyurys@google.com2009-10-212-0/+20
| | | | | | | | BUG=25294,24214 TEST=DevToolsExtensionDebugTest.TestContentScriptIsPresent Review URL: http://codereview.chromium.org/295020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29623 0039d316-1c4b-4281-b951-d872f2087c98
* Fix drawing code for page action badges.mpcomplete@chromium.org2009-10-205-7/+11
| | | | | | | | | | The badge can now extend beyond the boundary of the image. BUG=24644 Review URL: http://codereview.chromium.org/297014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29581 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 29457, because this is making ExtensionBrowserTest.PageAction ↵mpcomplete@chromium.org2009-10-202-3/+4
| | | | | | | | | | | | | | | | | | crash on Vista" Original description: Implement badges for page actions. Also add badge text color API. Also change color APIs from wanting ARGB to RGBA. BUG=24635 BUG=24644 BUG=25215 Review URL: http://codereview.chromium.org/293031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29556 0039d316-1c4b-4281-b951-d872f2087c98
* Remove +x bit from files that shouldn't have it.evan@chromium.org2009-10-2035-0/+0
| | | | | | Review URL: http://codereview.chromium.org/307007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29548 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 29457, because this is making ExtensionBrowserTest.PageAction crash ↵nsylvain@chromium.org2009-10-202-4/+3
| | | | | | | | | | | | | | | | | | | | on Vista Original description: Implement badges for page actions. Also add badge text color API. Also change color APIs from wanting ARGB to RGBA. BUG=24635 BUG=24644 BUG=25215 Review URL: http://codereview.chromium.org/291003 TBR=mpcomplete@chromium.org Review URL: http://codereview.chromium.org/306004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29509 0039d316-1c4b-4281-b951-d872f2087c98
* Implement chrome.browserAction.setIcon({path:...});aa@chromium.org2009-10-208-0/+41
| | | | | | | | BUG=22575 Review URL: http://codereview.chromium.org/269103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29495 0039d316-1c4b-4281-b951-d872f2087c98
* Add the first event ui test + a bunch of refactoring.jorlow@chromium.org2009-10-202-20/+34
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/271020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29491 0039d316-1c4b-4281-b951-d872f2087c98
* Degrade the https color and lock icon for the page that has a worker that ↵dimich@google.com2009-10-193-0/+33
| | | | | | | | | | | loads subresource with bad cert. The idea is to make UI reflect loading of resources with bad certificates that were previously approved by the user. bug=20176 TEST=SSLUITest.TestUnsafeContentsInWorker unit_test. Review URL: http://codereview.chromium.org/268006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29461 0039d316-1c4b-4281-b951-d872f2087c98
* Implement badges for page actions. Also add badge text color API.mpcomplete@chromium.org2009-10-192-3/+4
| | | | | | | | | | | | Also change color APIs from wanting ARGB to RGBA. BUG=24635 BUG=24644 BUG=25215 Review URL: http://codereview.chromium.org/291003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29457 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a crash that no longer shows up on Chrome-bot.kuchhal@chromium.org2009-10-191-4/+0
| | | | | | | | BUG=18700 Review URL: http://codereview.chromium.org/292006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29417 0039d316-1c4b-4281-b951-d872f2087c98