summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* POSIX: Use Shared Mem transport to copy images.jeremy@chromium.org2010-01-271-17/+36
| | | | | | | | | | | | | | | | Prior to this change images where copied inline in IPC messages on non-Windows platforms. Copying an oversized image would cause the IPC system to bork and crash the renderer. Changes in this CL: * All platforms use a unified mechanism to copy images using shared memory. * Introduced a new IPC message so the renderer can allocated a shared memory segment on OS X. * On OS X tried to keep as few copies of the image data in memory as possible. BUG=26822 TEST=1)On all platforms: navigate to a webpage, right click on an image and copy. Then try pasting into an image editor. 2)Repro steps in bug should no longer crash the Renderer on Mac/Linux Review URL: http://codereview.chromium.org/552129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37247 0039d316-1c4b-4281-b951-d872f2087c98
* Separate out page-load-times to distinguish reload etc.jar@chromium.org2010-01-272-76/+144
| | | | | | | | | | | | | | | | | from navigation We now have 4 categories, and we gather histogram for each of those categories. In addition, I transitioned all the A/B experiments to use the data only when a "real" navigation takes place, and not when a reload or back/forward is instigated. BUG=33229 r=darin Review URL: http://codereview.chromium.org/555109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37244 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Use GTK+ theme selection colors and plumb them into webkit. [Chromium ↵erg@google.com2010-01-271-1/+7
| | | | | | | | | | | side of patch] BUG=25831 TEST=none Review URL: http://codereview.chromium.org/554004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37193 0039d316-1c4b-4281-b951-d872f2087c98
* Spellchecker: fix render view auto-suggest context menu itemsestade@chromium.org2010-01-261-6/+7
| | | | | | | | | BUG=28652 TEST=see bug Review URL: http://codereview.chromium.org/553103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37160 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the appcache by default and add a cmd line switch to optionally ↵michaeln@chromium.org2010-01-261-1/+1
| | | | | | | | | | | disable it. BUG=25977 TEST=manual, verified disabled with --disable-application-cache Review URL: http://codereview.chromium.org/548122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37150 0039d316-1c4b-4281-b951-d872f2087c98
* Associate popups with the top level frame instead of the security origin.erg@google.com2010-01-261-1/+1
| | | | | | | | | | | No longer send the creator from the renderer to the browser since this was all it was used for. BUG=none TEST=none Review URL: http://codereview.chromium.org/543199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37143 0039d316-1c4b-4281-b951-d872f2087c98
* Handle storage events locally when possible.jorlow@chromium.org2010-01-262-11/+20
| | | | | | | | | TEST=none BUG=33108 Review URL: http://codereview.chromium.org/543168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37076 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Pepper device APIneb@chromium.org2010-01-254-252/+291
| | | | | | | | | Track Pepper DeviceContexts using ID (and reclaim them upon shutdown) Refactor device-specific code into pepper_devices.h Review URL: http://codereview.chromium.org/548100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37060 0039d316-1c4b-4281-b951-d872f2087c98
* If a page is navigated within the same render process, the active ↵johnnyg@chromium.org2010-01-253-2/+13
| | | | | | | | | | | notifications need to go out of scope so we don't try to fire events on them back to the original page. BUG=32862 TEST=reload page then close notification Review URL: http://codereview.chromium.org/549140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37019 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure notifications are only enabled on GTK builds of linux, since ↵johnnyg@chromium.org2010-01-251-1/+1
| | | | | | | | | | | that's what's supported so far. BUG=23954 TEST=none Review URL: http://codereview.chromium.org/552122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37017 0039d316-1c4b-4281-b951-d872f2087c98
* Add the impl structure to the pepper 3D api. Needed for NaCl implementation ↵sehr@google.com2010-01-231-0/+8
| | | | | | | | to work. Review URL: http://codereview.chromium.org/546123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36965 0039d316-1c4b-4281-b951-d872f2087c98
* Allow chrome-extension scheme in notification.brg@chromium.com2010-01-231-1/+3
| | | | | | | | BUG=32936 TEST=none Review URL: http://codereview.chromium.org/551131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36932 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36888 - Refactored code to allow associating workers with multiple ↵pkasting@chromium.org2010-01-236-23/+5
| | | | | | | | | | | | | | | | | renderers. SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Review URL: http://codereview.chromium.org/509016 TBR=atwilson@chromium.org Review URL: http://codereview.chromium.org/549138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36929 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored code to allow associating workers with multiple renderers.atwilson@chromium.org2010-01-226-5/+23
| | | | | | | | | | | | SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Review URL: http://codereview.chromium.org/509016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36888 0039d316-1c4b-4281-b951-d872f2087c98
* Support for playing back media from the appcache.michaeln@chromium.org2010-01-211-2/+6
| | | | | | | | | | | | * add the appcache_host_id to resource requests * support for byte-range requests TEST=manual BUG=none Review URL: http://codereview.chromium.org/550040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36727 0039d316-1c4b-4281-b951-d872f2087c98
* One more attempt at landing this CL.jcampan@chromium.org2010-01-212-35/+10
| | | | | | | | | | | | | | | | There are now memory errors in the CLD library that cause memory crashers in reliability tests. I will add reliability failures to the know_crashes.txt file while the memory errors are being fixed. Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unit-tests. TBR=brettw Review URL: http://codereview.chromium.org/555014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36707 0039d316-1c4b-4281-b951-d872f2087c98
* Enable geolocation at build time, and update the flag to configure it at ↵joth@chromium.org2010-01-201-0/+3
| | | | | | | | | | | | | runtime. Depends on https://bugs.webkit.org/show_bug.cgi?id=33467 BUG=29182 TEST=Run with & without --enable-geolocation and open LayoutTests/fast/dom/Geolocation/resources/enabled.js Review URL: http://codereview.chromium.org/545084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36631 0039d316-1c4b-4281-b951-d872f2087c98
* The renderer and plugin processes can send over raw NPObjects valid in the ↵ananta@chromium.org2010-01-203-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | other side's address space. Basically the way this works is if an NPObject is marshaled over to the other side, an NPObjectStub is created in the caller address space and a NPObjectProxy is created on the other side. The NPObjectProxy is passed the raw NPObject pointer which is used as a cookie. If the original NPObject needs to be passed back we pass the underlying NPObject saved in the NPObjectProxy. The receiver does not validate whether this NPObject is valid before invoking on it. While this is mostly fine, in the case of a compromised renderer invalid addresses could be passed back to the plugin which would invoke on these addresses and crash. Fix is to never pass raw object pointers across and just pass the corresponding routing id of the NPObjectStub. The receiver validates this object by invoking a new method GetNPObjectListenerForRoute on the PluginChannelBase. This method returns the corresponding NPObject listener for the routing id. We then retrieve the underlying NPObject from the listener and use it. The map of NPObjectListeners which is maintained by PluginChannelBase has been changed to hold NPObjectBase pointers instead. NPObjectStub and NPObjectProxy implement the new NPObjectBase interface which provides methods to return the underlying NPObject and the IPC::Channel::Listener pointer. Fixes bug http://code.google.com/p/chromium/issues/detail?id=31880 I verified with the steps outlined in the bug that this fix does address the underlying crash. Bug=31880 Test=We need a framework to test PluginChannel and NPObjectProxy/Stub. Will add a test case for this once we have this in place. Review URL: http://codereview.chromium.org/548046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36618 0039d316-1c4b-4281-b951-d872f2087c98
* The final step in making session storage cross-process. Remove dead code ↵jorlow@chromium.org2010-01-202-14/+11
| | | | | | | | | | | | | and do a bit of refactoring. Use the recently added session_storage_namespace_id_. Next steps: a bit more testing then I think we're ready to take it out from behind its flag! TEST=none BUG=none Review URL: http://codereview.chromium.org/523117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36611 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36589 - Still failing the reliability tests.jcampan@chromium.org2010-01-202-10/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | Another try at landing this. It caused several tests to fails previously. There was a crasher in some Windows code in the CLD that has been removed by the port of the CLD code to Linux and Mac. That should hopefully make everything work now. Enabling language detection on page load. A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unittests. TBR=brettw Review URL: http://codereview.chromium.org/552049 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/554015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36603 0039d316-1c4b-4281-b951-d872f2087c98
* Another try at landing this.jcampan@chromium.org2010-01-202-35/+10
| | | | | | | | | | | | | | | | | | | | | | It caused several tests to fails previously. There was a crasher in some Windows code in the CLD that has been removed by the port of the CLD code to Linux and Mac. That should hopefully make everything work now. Enabling language detection on page load. A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unit-tests. TBR=brettw Review URL: http://codereview.chromium.org/552049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36589 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r36541 (which went in without any commit log by some magic). Was ↵jshin@chromium.org2010-01-193-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reverted in r36550. Now I'm relanding with the full description. Port back CLD to Linux and Mac by replacing Windows API calls with ICU's equivalent APIs for normalization. I also fixed bug 23553 (Traditional Chinese is not detected) by calling LanguageCode instead of LanguageCode_ISO_639_1. The latter covers only ISO 639-1, but there are languages detected by CLD not covered by ISO 639-1. In that case, ISO 639-2 is used. In case even ISO 639-2 does not cover (e.g. Traditional Chinese), another fallback is taken by LanguageCode. The html file for CLD testing (french_sentence.html) is explicitly labelled with charset=ISO-8859-1. Original Review: http://codereview.chromium.org/523108 BUG=25206,23553 TEST=1. CLD is built on Linux/Mac 2. The following test pass: - unit_tests: Extension*.DetectTabLang* and CompactLangDet*.* - browser_tests: ExtensionBrowserTest.Toolstrip 3. Install the 'cld extension' in chrome/common/extensions/docs/examples/api/i18n/cld and go to http://news.google.com.tw and 'zh-TW' shows up in the language badge at the upper right (upper-left in he/ar Chrome) corner. TBR=jcampan Review URL: http://codereview.chromium.org/545123 TBR=jshin@chromium.org Review URL: http://codereview.chromium.org/551070 TBR=jshin@chromium.org Review URL: http://codereview.chromium.org/549091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36552 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36541 (which went in without any commit log by some black magic). jshin@chromium.org2010-01-193-18/+19
| | | | | | | | | | | | Reland it with the commit log for the record. Review URL: http://codereview.chromium.org/545123 TBR=jshin@chromium.org Review URL: http://codereview.chromium.org/551070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36550 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/545123jshin@chromium.org2010-01-193-19/+18
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36541 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the page contents message processing to the RenderViewHost.jcampan@chromium.org2010-01-181-1/+1
| | | | | | | | | | | | | | | | | | It was currently processed as a control message. This is an actual part of the previous CLD related CL: http://codereview.chromium.org/548057 It kept failing on the bots for some tests, I am not sure why yet and cannot repro locally. Hopefully splitting it will help pinpoint the issue. TEST=All unit-tests, ui tests should still work. Navigate to a page with some specific words in it, then go to the history tab and search for pages with these specific words. Make sure the page you navigated is shown in the results. TBR=brettw Review URL: http://codereview.chromium.org/553012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36490 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36442 - Still causing test failuresjcampan@chromium.org2010-01-162-21/+35
| | | | | | | | | | | | | | | | | | | | | | | | | 4th attempt at landing this. It caused several tests to fails previously. Cannot repro any of the failure. I am suspecting a clobber would have probably fixed it. (there is a change in one of the IPC messages that probably messed up the build somehow). No code change. Enabling language detection on page load. A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unittests. TBR=brettw Review URL: http://codereview.chromium.org/548057 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/536085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36447 0039d316-1c4b-4281-b951-d872f2087c98
* 4th attempt at landing this.jcampan@chromium.org2010-01-162-35/+21
| | | | | | | | | | | | | | | | | | | | | It caused several tests to fails previously. Cannot repro any of the failure. I am suspecting a clobber would have probably fixed it. (there is a change in one of the IPC messages that probably messed up the build somehow). No code change. Enabling language detection on page load. A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unit-tests. TBR=brettw Review URL: http://codereview.chromium.org/548057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36442 0039d316-1c4b-4281-b951-d872f2087c98
* Port notifications to linux. BalloonView and BalloonViewHost should be ↵johnnyg@chromium.org2010-01-151-2/+2
| | | | | | | | | | | equivalent to their counterparts under browser/views/notifications; CL also enables the exposure of notifications in WebKit on linux platform. BUG=23954 TEST=none Review URL: http://codereview.chromium.org/525050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36434 0039d316-1c4b-4281-b951-d872f2087c98
* The search terms are escaped using + or %20 for space depending on whether ↵avayvod@google.com2010-01-151-1/+1
| | | | | | | | | | | | replacement is in query part of the URL or not. Removed duplicate EscapeQueryParamValue functions without |use_plus| argument. BUG=24571 TEST=Verify that space is escaped as stated in description; see bug description for example with search on Wikipedia. Review URL: http://codereview.chromium.org/543077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36398 0039d316-1c4b-4281-b951-d872f2087c98
* linux: reinstate Pepper pluginspiman@chromium.org2010-01-153-33/+6
| | | | | | | | | | | | Someone mistakenly disabled it. This also factorizes the various platforms. In particular, PluginInstance::set_window_handle, cause of complexity isn't needed. That window_handle is only used for regular plugins in 2 places: - on Win32 windowed plugins to invalidate the plugin window. There's no plugin window on Pepper so this isn't needed. - on Win32 and Linux for windowless plugins to get a reference to the browser's window. That isn't cross-platform so shouldn't be in Pepper. Review URL: http://codereview.chromium.org/551042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36389 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36362 - It breaks NACLTests and Chrome Frame Testsjcampan@chromium.org2010-01-152-21/+35
| | | | | | | | | | | | | | | | | | | | 3rd attempt at landing the language detection on page load. A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unittests. Review URL: http://codereview.chromium.org/518075 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/546062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36364 0039d316-1c4b-4281-b951-d872f2087c98
* 3rd attempt at landing the language detection on page load.jcampan@chromium.org2010-01-152-35/+21
| | | | | | | | | | | | | | | | A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unit-tests. Review URL: http://codereview.chromium.org/518075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36362 0039d316-1c4b-4281-b951-d872f2087c98
* One of my previous CL accidentaly reverted 2 changes to thesejcampan@chromium.org2010-01-152-27/+76
| | | | | | | | | | | | 2 files. (not sure how it happened). Relanding the change. BUG=None TEST=None Review URL: http://codereview.chromium.org/543069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36359 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to runFileChooser() with WebFileChooserParams.tkent@chromium.org2010-01-152-8/+6
| | | | | | | | | | New fields of WebFileChooserParams are not used yet. BUG=none TEST=none, no functional changes Review URL: http://codereview.chromium.org/497001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36335 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce all the plumbing for Session Storage. This mostly consists of ↵jorlow@chromium.org2010-01-158-46/+36
| | | | | | | | | | | creating and tracking namespace ids in conjunction with the tabs. This is essentially just a bunch of dead code at the moment, but the next patch will get rid of the old way of generating/cloning IDs (initiated by the renderer) and instead use these IDs. TEST=none BUG=none Review URL: http://codereview.chromium.org/550017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36331 0039d316-1c4b-4281-b951-d872f2087c98
* Set disabled style on GPU window and plugin intermediate window so mouse ↵apatrick@chromium.org2010-01-151-0/+2
| | | | | | | | | | | messages pass through to the browser window. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/549025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36311 0039d316-1c4b-4281-b951-d872f2087c98
* Enable setting of wasFetchedViaSpdy flag through browser/renderer.mbelshe@chromium.org2010-01-141-4/+11
| | | | | | | | | | BUG=none TEST=needed Review URL: http://codereview.chromium.org/549032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36274 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Pepepr test run on the mac.dspringer@google.com2010-01-141-1/+12
| | | | | | | | | BUG=none TESTS=none Review URL: http://codereview.chromium.org/546041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36264 0039d316-1c4b-4281-b951-d872f2087c98
* This CL contains the back-end implementation of the translate feature. It ↵jcampan@chromium.org2010-01-148-1/+660
| | | | | | | | | | | | | adds a Translate method to the renderer. On invocation this method triggers a traversal of the DOM page to retrieve the text nodes. The text node contents are then sent to the browser for actual translation (at this point, we just up-case the text for testing purpose). The browser sends back the translated text to the renderer that replace the DOM text node values with the translated text. BUG=None TEST=Run the unit-tests. Review URL: http://codereview.chromium.org/547013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36258 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36246 (mistakingly included unrelated code).jcampan@chromium.org2010-01-142-93/+32
| | | | | | | | | | | | | | | | One of my previous CL accidentaly reverted the change 35951 for this 2 files. (not sure how it happened). Relanding the change. BUG=None TEST=None Review URL: http://codereview.chromium.org/548035 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/536062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36248 0039d316-1c4b-4281-b951-d872f2087c98
* One of my previous CL accidentaly reverted the change 35951jcampan@chromium.org2010-01-142-32/+93
| | | | | | | | | | | | for this 2 files. (not sure how it happened). Relanding the change. BUG=None TEST=None Review URL: http://codereview.chromium.org/548035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36246 0039d316-1c4b-4281-b951-d872f2087c98
* Fix error message when a page action calls chrome.pageAction.setIcon() with ↵skerner@chromium.org2010-01-141-5/+7
| | | | | | | | | | | a nonexistent icon. BUG=NONE TEST=Install chrome/common/extensions/docs/examples/api/pageAction/set_icon/, click the page action three times, look at the console. Review URL: http://codereview.chromium.org/536035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36219 0039d316-1c4b-4281-b951-d872f2087c98
* Add an experimental bookmark manager API to extensions.arv@chromium.org2010-01-141-3/+3
| | | | | | | | | BUG=32194 TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.BookmarkManager Review URL: http://codereview.chromium.org/550021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36213 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CloseIdleConnections -> CloseCurrentConnections.mbelshe@chromium.org2010-01-143-6/+6
| | | | | | | | | | | | | | | | | This method is (and was) just for debugging; while it was closing idle connections, that was not aggressive enough; the benchmark needs to close all connections, not just the idle ones. To ensure connections are abandoned, create a new pool; leaving the old pool to languish as any pending sockets die. BUG=none TEST=none Review URL: http://codereview.chromium.org/549031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36208 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary references to webkit/glue/glue_util.h indarin@chromium.org2010-01-134-19/+12
| | | | | | | | | | | | preparation for deleting that file. R=dglazkov BUG=24607 TEST=none Review URL: http://codereview.chromium.org/551012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36140 0039d316-1c4b-4281-b951-d872f2087c98
* Wave upload operations performed within ChromeFrame would cause the Wave ↵ananta@chromium.org2010-01-131-0/+1
| | | | | | | | | | | | | | | | application to freeze. This was because we were not passing the renderer routing id in the PluginMsg_Init params when the plugin was initialized. We need the routing id in ChromeFrame to be able to intercept network requests and route them via the host network stack. Fixes bug http://code.google.com/p/chromium/issues/detail?id=26375 Bug=26375 Review URL: http://codereview.chromium.org/541040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36130 0039d316-1c4b-4281-b951-d872f2087c98
* Finish the plumbing for cookiesEnabled.abarth@chromium.org2010-01-132-0/+11
| | | | | | | | BUG=1850 Review URL: http://codereview.chromium.org/549005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36113 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow HTML notifications with content not from HTTP or HTTPS schemes.johnnyg@chromium.org2010-01-131-0/+6
| | | | | | | | | BUG=27544 TEST=none Review URL: http://codereview.chromium.org/542044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36101 0039d316-1c4b-4281-b951-d872f2087c98
* Hack so that the upstream change from usingjorlow@chromium.org2010-01-132-0/+11
| | | | | | | | | | | | | WebKitClient::createSessionStorageNamespace to using WebViewClient::createSessionStorageNamespace doesn't break us while the rest of the SessionStorage change lands. TEST=none BUG=none Review URL: http://codereview.chromium.org/546017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36097 0039d316-1c4b-4281-b951-d872f2087c98
* Fix check deps by allowing CLD to be included.brettw@chromium.org2010-01-121-0/+1
| | | | | | | | | TBR=jcampan TEST=none BUG=none Review URL: http://codereview.chromium.org/543030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36052 0039d316-1c4b-4281-b951-d872f2087c98