summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't try and adjust the oom_adj of renderers on SELinux systems.agl@chromium.org2010-05-071-3/+36
| | | | | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=581256 The SELinux policy doesn't let chrome_sandbox touch other processes' oom_adj and we're spamming the log. (See comments in the patch for details) http://codereview.chromium.org/2005006/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46724 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Protocol extension for syncing passwords."albertb@chromium.org2010-05-077-144/+0
| | | | | | | | | | This reverts commit 4ab711db8ace2106fea6a95e12d2da6fbe4f78f7. TBR=tommi Review URL: http://codereview.chromium.org/2014004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46723 0039d316-1c4b-4281-b951-d872f2087c98
* Allow stand-alone extension views (e.g. browser action pop-ups) to reload joi@chromium.org2010-05-072-14/+20
| | | | | | | | | | | | themselves, navigate to other pages in the same extension, persist their state using # after the URL, etc. TEST=write an extension that reloads its page action pop-up (e.g. on a button click), see that before this change it does not work, after it does BUG=none Review URL: http://codereview.chromium.org/1947002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46721 0039d316-1c4b-4281-b951-d872f2087c98
* Protocol extension for syncing passwords.albertb@chromium.org2010-05-077-0/+144
| | | | | | | | | BUG=34176 TEST=none Review URL: http://codereview.chromium.org/1794009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46720 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Re-enable coverage of ExpireHistoryTest.DeleteURLAndFavicon by marking itjhawkins@chromium.org2010-05-072-3/+3
| | | | | | | | | | | flaky instead of disabled. Add the corresponding bug to the comment. BUG=43586 TEST=none Review URL: http://codereview.chromium.org/1979004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46719 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to non-deprecated methods.darin@chromium.org2010-05-074-30/+22
| | | | | | | | | | R=jhawkins BUG=none TEST=none Review URL: http://codereview.chromium.org/1985008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46718 0039d316-1c4b-4281-b951-d872f2087c98
* Use a reasonable default pthread stack size on Mac OS X.mark@chromium.org2010-05-071-0/+33
| | | | | | | | | | | | | Mac OS X uses a fixed default stack size of 512kB, which is too small for some purposes. glibc on Linux uses ulimit -s, which is both a more reasonable thing to do, and is generally set to a rational limit, such as 8MB. BUG=43422 TEST=None really on the trunk. On the Mac 375 branch, using the .pac file on the bug, Chrome should not crash on startup. Review URL: http://codereview.chromium.org/2035007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46717 0039d316-1c4b-4281-b951-d872f2087c98
* Cache progress notifications only if necessaryamit@chromium.org2010-05-072-8/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | We cache and suppress sending progress notifications till we get the first OnDataAvailable. This is to prevent mshtml from making up its mind about the mime type. However, this is the invasive part of the patch and could trip other software that's due to mistimed progress notifications. It is probably not good to hide redirect and some cookie notifications. We only need to suppress data notifications like BINDSTATUS_MIMETYPEAVAILABLE, BINDSTATUS_CACHEFILENAMEAVAILABLE etc. This is an atempt to reduce the exposure by starting to cache only when we receive one of the interesting progress notification. BUG=42611 TEST=none Review URL: http://codereview.chromium.org/2046003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46715 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux build error second tryjam@chromium.org2010-05-071-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46714 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux build errorjam@chromium.org2010-05-071-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46713 0039d316-1c4b-4281-b951-d872f2087c98
* sync: only add to the dirty_metahandles index when marking an item dirty, ↵tim@chromium.org2010-05-074-45/+73
| | | | | | | | | | | | | | | | | | | | rather than for every item in a WriteTransaction originals array, and make sure to restore items into dirty_metahandles on save changes failure to avoid data loss. This prevents a situation where after a SaveChanges, a "clean" (not dirty) item will pass the SafeToPurgeFromMemory filter because is_dirty is false, but it is in fact still in dirty_metahandles, and we yank it from metahandles_index. This causes a crash later on as GetByHandle will return NULL for items in this boat. The other part of this fix makes sure we don't lose a bookmark change on browser restart due to a single sqlite operation failing during SaveChanges by restoring items into the dirty index. BUG=43047,40341 Review URL: http://codereview.chromium.org/2043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46712 0039d316-1c4b-4281-b951-d872f2087c98
* Added sync_tools.gyp to all.gyp.akalin@chromium.org2010-05-072-1/+12
| | | | | | | | | BUG=none TEST=trybots Review URL: http://codereview.chromium.org/1735018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46711 0039d316-1c4b-4281-b951-d872f2087c98
* Add new widget API to Pepper to replace the old theming API. The ↵jam@chromium.org2010-05-0717-433/+1779
| | | | | | | | implementation is a copy of the WebKit code, I will figure out how to reuse it soon. Review URL: http://codereview.chromium.org/2011004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46710 0039d316-1c4b-4281-b951-d872f2087c98
* Mark StatsTableTest.MultipleThreads as flakyphajdan.jr@chromium.org2010-05-071-4/+2
| | | | | | | | | | | | | instead of using #if 0. TBR=maruel TEST=none BUG=10611 Review URL: http://codereview.chromium.org/1990007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46707 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit roll 58942:58956.vitalyr@chromium.org2010-05-071-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=johnnyg Review URL: http://codereview.chromium.org/2040004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46706 0039d316-1c4b-4281-b951-d872f2087c98
* Split BrowserTest.CommandCreateAppShortcut so that it does not flakily times ↵xiyuan@chromium.org2010-05-071-13/+27
| | | | | | | | | | | out. BUG=43434 TEST=Verify the splitted tests no longer flakily times out on try bots and build bots. Review URL: http://codereview.chromium.org/2040003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46705 0039d316-1c4b-4281-b951-d872f2087c98
* Add an AddHistoryItem() API to PyAuto with example use.jrg@chromium.org2010-05-075-2/+113
| | | | | | | | | | | Change GetHistory time value from int to float to keep precision. BUG=none TEST=run pyautolib Review URL: http://codereview.chromium.org/2036004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46704 0039d316-1c4b-4281-b951-d872f2087c98
* Crashes, bookmark text, menu hiding.jrg@chromium.org2010-05-072-2/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure "bookmarks go here" text goes away when adding the 1st bookmark (and comes back when deleting the last one). When deleting the last item from an "off the side menu" (which would cause the "off the side" chevron button to go away), close that menu. Make sure the "off the side" button is deleted in the autorelease pool, like all other buttons, in case "just one more" event is about to come in. This is an attempt at fixing the top Mac browser crash. BUG=43345,43501,43502 TEST=\ 1) New profile. Open bookmark bar --> see "bookmarks go here" Add bookmark --> text goes away Delete bookmark --> text comes back. 2) Add enough bookmarks so the "off the side" menu just barely appears. Open the off the side menu, and right click --> delete the bookmark. Expect to see the menu go away and the off-the-side button to go away. Review URL: http://codereview.chromium.org/2025002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46703 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Fix race in ZygoteHost where socket read and writes were getting ↵kkania@chromium.org2010-05-072-9/+21
| | | | | | | | | | | interleaved. BUG=31737 TEST=none Review URL: http://codereview.chromium.org/1921006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46702 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Parse the ignored fields at the end of ParseAddress, so we don'tjhawkins@chromium.org2010-05-072-9/+42
| | | | | | | | | | | accidentally match an ignored field instead of matching a field we care about. BUG=43260 TEST=FormStructureTest.HeuristicsStateWithProvince Review URL: http://codereview.chromium.org/2006005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46701 0039d316-1c4b-4281-b951-d872f2087c98
* Don't bother returning the directory descriptor for SQLite.agl@chromium.org2010-05-071-0/+6
| | | | | | (Reviewed by dumi.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46700 0039d316-1c4b-4281-b951-d872f2087c98
* A few more changes for conformance tests.gman@chromium.org2010-05-0712-23/+104
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1985006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46699 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Credit card filling fixes.jhawkins@chromium.org2010-05-074-32/+212
| | | | | | | | | | | | | * Widen the regexp for Expiration Month. * DCHECK that the number of fields matches between the FormStructure and the FormData results. * Remove the awful N^2 loop that was too paranoid now that we verify the field counts are the same. BUG=43365 TEST=CreditCardFieldTest.*,AutoFillManagerTest.* Review URL: http://codereview.chromium.org/2048003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46698 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a new IPC message to notify the browser process when a render widget ↵vangelis@chromium.org2010-05-076-1/+50
| | | | | | | | | | | | | is using the gpu process for painting its contents so that the browser will stop rendering from its own backing surface. This will currently only trigger if a page uses the accelerated compositing path. This patch can only land _after_ https://bugs.webkit.org/show_bug.cgi?id=38220 BUG=42677 TEST=NONE Review URL: http://codereview.chromium.org/1696014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46697 0039d316-1c4b-4281-b951-d872f2087c98
* Add back comment explaining why kEnableRendererAccessibility is used.ctguil@chromium.org2010-05-071-0/+2
| | | | | | | | | | This time reference the external bug number. Bug=none Test=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46696 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of a couple more wstrings.viettrungluu@chromium.org2010-05-071-5/+0
| | | | | | | | | | | This one was really easy, since they weren't even used. BUG=none TEST=builds Review URL: http://codereview.chromium.org/2042004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46695 0039d316-1c4b-4281-b951-d872f2087c98
* Makes tab loading animation centered for bigger tab icons (as happenssky@chromium.org2010-05-071-0/+2
| | | | | | | | | | | with app tabs). BUG=none TEST=none Review URL: http://codereview.chromium.org/2043003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46694 0039d316-1c4b-4281-b951-d872f2087c98
* Leftover code review: move doctype to the right place.johnnyg@chromium.org2010-05-073-3/+3
| | | | | | | | | | BUG=none TEST=none TBR=arv Review URL: http://codereview.chromium.org/1989006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46693 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 58926:58942.vitalyr@chromium.org2010-05-071-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=dpranke Review URL: http://codereview.chromium.org/2012004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46692 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SSLUITest.TestHTTPSExpiredCertAndDontProceed, it flakilyphajdan.jr@chromium.org2010-05-071-1/+2
| | | | | | | | | | | | | exceeds test timeout. TBR=jcivelli TEST=none BUG=43575 Review URL: http://codereview.chromium.org/2019004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46691 0039d316-1c4b-4281-b951-d872f2087c98
* New visuals for notifications on Windows.johnnyg@chromium.org2010-05-0713-120/+96
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1980005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46690 0039d316-1c4b-4281-b951-d872f2087c98
* The wrong TabContents' delegate was being NULLed when the app launcher wasjcivelli@google.com2010-05-071-1/+11
| | | | | | | | | | | | closed (the browser's current tab instead of the app launcher's one). This was causing a crasher with the context menu and possibly way more bad things. BUG=43480 TEST=See bug Review URL: http://codereview.chromium.org/1979002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46689 0039d316-1c4b-4281-b951-d872f2087c98
* The ChromeFrame builder at times hang if the security dialog brought up by ↵ananta@chromium.org2010-05-071-1/+1
| | | | | | | | | | | | | | | the NavigateToRestrictedSite test is behind the console window. Fix is to not attempt to close the dialog by clicking on it. We now close the window by the DoClosewindow helper which posts the WM_CLOSE message to it. TBR=amit Review URL: http://codereview.chromium.org/2041003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46688 0039d316-1c4b-4281-b951-d872f2087c98
* Committing on behalf of dtseng.dmazzoni@chromium.org2010-05-071-0/+7
| | | | | | | | | | | | | | | | We currently only set focus to the widget's hWnd, but we really want to also notify assistive technologies that a child view received focus so that it can know to obtain an IAccessible for that custom child view using the widget hWnd. The widget hWnd has our implementation of IAccessible through AccessibilityWrapper/ViewAccessibility. Original code review: http://codereview.chromium.org/1985002 BUG=43363 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46687 0039d316-1c4b-4281-b951-d872f2087c98
* Add a StaticMemorySingletonTraits class to allow constructing singletons in ↵siggi@chromium.org2010-05-073-34/+91
| | | | | | | | | | | | | | data segment. Change logging_win to use same. BUG=none TEST=Unittests in this change. Review URL: http://codereview.chromium.org/2023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46686 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46681 - Add AutomationMsg_WaitForDownloadShelfVisibilityChange and ↵bauerb@chromium.org2010-05-0714-147/+75
| | | | | | | | | | | | | | | | use it in UITestBase for the download tests. This should decrease flakiness of download tests. TEST=DownloadTest.*, especially DownloadTest.[Dont]CloseNewTab* BUG=43066 Review URL: http://codereview.chromium.org/1933005 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/2037003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46685 0039d316-1c4b-4281-b951-d872f2087c98
* Specify alternate OCSP AIA info for certificates issued bywtc@chromium.org2010-05-071-5/+29
| | | | | | | | | | | | | | the other "Network Solutions Certificate Authority" to work around NSS bug 564334. R=ukai BUG=41730 TEST=on a Linux distribution with NSS 3.12.6, visit https://blackboard.mines.edu and then https://www.networksolutions.com. We should not get the certificate revoked error page. Review URL: http://codereview.chromium.org/2011007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46684 0039d316-1c4b-4281-b951-d872f2087c98
* Add ExceptionBarrier to module scanning in the hope of reducing some false ↵robertshield@chromium.org2010-05-071-10/+22
| | | | | | | | | | positives. BUG=43343 Review URL: http://codereview.chromium.org/2024003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46683 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix: explicitly specify /Ob0 to avoid inlining if ↵timurrrr@chromium.org2010-05-071-4/+26
| | | | | | | | | | | InlineFunctionExpansion==0; add 'default' value This is a follow-up for http://codereview.chromium.org/1995004 Looks like InlineFunctionExpansion=0 means "default", not /Ob0 for MSVS... TEST=trybots, tried locally with "vim base/base.vcproj" Review URL: http://codereview.chromium.org/2041002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46682 0039d316-1c4b-4281-b951-d872f2087c98
* Add AutomationMsg_WaitForDownloadShelfVisibilityChange and use it in ↵bauerb@chromium.org2010-05-0714-75/+147
| | | | | | | | | | | | | UITestBase for the download tests. This should decrease flakiness of download tests. TEST=DownloadTest.*, especially DownloadTest.[Dont]CloseNewTab* BUG=43066 Review URL: http://codereview.chromium.org/1933005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46681 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor account creation screen.nkostylev@google.com2010-05-079-243/+445
| | | | | | | | | | | Create set of interfaces/base classes for other screens that load web pages. BUG=None TEST=Open "Create account" screen. Loading spinner should be visible and page should render afterthat. Review URL: http://codereview.chromium.org/1949002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46680 0039d316-1c4b-4281-b951-d872f2087c98
* Don't sync IME prefs that are not user-configurable.yusukes@chromium.org2010-05-071-3/+0
| | | | | | | | | BUG=chromium-os:3009 TEST=none Review URL: http://codereview.chromium.org/2032007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46679 0039d316-1c4b-4281-b951-d872f2087c98
* Tiny cleanup. Removed unnecessary RebuildModel() calls.yusukes@chromium.org2010-05-071-7/+1
| | | | | | | | | BUG=none TEST=manual. Review URL: http://codereview.chromium.org/2028005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46678 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 398.0 to 399.0chrome-release@google.com2010-05-071-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46674 0039d316-1c4b-4281-b951-d872f2087c98
* Hiding status area on welcome screen.nkostylev@google.com2010-05-074-32/+66
| | | | | | | | | | | Avoid confusion when network is connected. BUG=http://crosbug.com/2322 TEST=Launch for the fist time (or just press Ctrl+Alt+N) and observe that status area is not shown. Status area is shown on other screens. Review URL: http://codereview.chromium.org/1927002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46672 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run a couple of URLRequestTests under TSan/Wintimurrrr@chromium.org2010-05-071-0/+2
| | | | | | | TBR=glider Review URL: http://codereview.chromium.org/2025003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46671 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the dynamic_annotations build issues on Windowstimurrrr@chromium.org2010-05-073-3/+8
| | | | | | Review URL: http://codereview.chromium.org/1997007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46670 0039d316-1c4b-4281-b951-d872f2087c98
* Close NTP on app launch. I don't really like the way this feels, but figured ↵aa@chromium.org2010-05-071-0/+15
| | | | | | | | | | others would want to try it. cc'ing parties who said they wanted this ;) Review URL: http://codereview.chromium.org/2016003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46666 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix a DCHECK failure related to usage of Singletonsphajdan.jr@chromium.org2010-05-072-7/+12
| | | | | | | | | | | | | | | | and WorkerPool. Also add a warning for users of WorkerPool that they need to be very careful about subtle issues. Also see discussion in http://codereview.chromium.org/1834002/show TEST=none BUG=30177 Review URL: http://codereview.chromium.org/2033001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46665 0039d316-1c4b-4281-b951-d872f2087c98
* Make RuntimeLibrary adjustable for Win/Debug buildtimurrrr@chromium.org2010-05-071-1/+8
| | | | | | | TEST=trybot Review URL: http://codereview.chromium.org/1995004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46664 0039d316-1c4b-4281-b951-d872f2087c98