summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Revert 17601 (build break on mac)dimich@google.com2009-06-043-10/+10
| | | | | | | | TBR=ukai BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17602 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit DEP roll 44372:44405dimich@google.com2009-06-044-10/+12
| | | | | | | | | | BUG=none TEST=no compile or layout test failures. There is a change (http://trac.webkit.org/changeset/44401) here which will likely break quite a few Linux layout tests. The plan is to run the build, then add all the tests with REBASELINE keyword into test_expectations.txt for automated rebaselining. Review URL: http://codereview.chromium.org/118215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17601 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: remove GYP change for WebKit patch that hasn't landed yet.agl@chromium.org2009-06-041-1/+0
| | | | | | | | A change which needs some WebKit patches that haven't been merged yet slipped into my last patch. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17576 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Add support for chrooted renderers.agl@chromium.org2009-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://code.google.com/p/chromium/wiki/LinuxSandboxIPC Without filesystem access from the renderers, we need another way of dealing with fontconfig and font loading. This add support for: * An "SBX_D" environment variable in the renderers which is used to signal the end of dynamic linking so that the chroot can be enforced. * A sandbox_host process, running outside the sandbox, to deal with fontconfig requests from the renderers. See the wiki page for the reasoning behind making it a separate process. * A new, custom SkFontHost for Skia. Because this is Chrome specific, it will live outside the upstream Skia tree. This FontHost can be configured either to drive fontconfig directly (for the browser process and for any unsandboxed renderers) or to use an IPC system. Since the same SkFontHost has to be linked into both the browser and renderer (they are the same binary), this switch has to be made at run time. Sandbox IPC calls are rare (a couple of dozen at page load time) and add about 50us of overhead for each call. http://codereview.chromium.org/112074 BUG=8081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17575 0039d316-1c4b-4281-b951-d872f2087c98
* Always disconnect event listeners when clearing for navigation, even if the ↵dglazkov@google.com2009-06-031-3/+3
| | | | | | | | | | | | script context is empty. R=mbelshe BUG=13266 TEST=gmail shouldn't crash anymore. Review URL: http://codereview.chromium.org/119109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17546 0039d316-1c4b-4281-b951-d872f2087c98
* Update linux layout test expectations.willchan@chromium.org2009-06-031-0/+1
| | | | | | | | BUG=http://www.crbug.com/13267 Review URL: http://codereview.chromium.org/119102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17524 0039d316-1c4b-4281-b951-d872f2087c98
* Update test_expectations for new linux layout test failures.willchan@chromium.org2009-06-031-0/+5
| | | | | | | | | | BUG=http://www.crbug.com/13267 TBR=tony Review URL: http://codereview.chromium.org/114077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17509 0039d316-1c4b-4281-b951-d872f2087c98
* Find in page should cause the scrollbar to repaint with tick marks.tc@google.com2009-06-031-1/+1
| | | | | | | | | | | | This method is used to invalidate the scrollbar which causes it to repaint. Enable this code to run on linux too. BUG=11706 Review URL: http://codereview.chromium.org/118089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17504 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare V8NPObject.h/cpp for upstreaming.tim@chromium.org2009-06-034-215/+231
| | | | | | Review URL: http://codereview.chromium.org/115972 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17496 0039d316-1c4b-4281-b951-d872f2087c98
* Fix browser hang due to plugin deadlockamit@chromium.org2009-06-033-28/+57
| | | | | | | | | | | | | | | | | | | | | This involves two plugin instances with second instance making sync calls to the renderer while the first one is still servicing an incoming sync request. Our logic to unblock the renderer during the sync call fails since the 'in_dispatch_' counter is maintained per plugin channel (each plugin instance uses its own separate channel). Making 'in_dispatch_' counter static member of PluginChannelBase fixes this deadlock. Added a new NPAPI UI test for this scenario. BUG=12624 TEST=MultipleInstancesSyncCalls Review URL: http://codereview.chromium.org/119052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17492 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in base/phajdan.jr@chromium.org2009-06-031-0/+1
| | | | | | | | Also adds more explicit #includes for needed things. Review URL: http://codereview.chromium.org/118162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17479 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Catch up with InspectorController changes.pfeldman@chromium.org2009-06-038-2/+123
| | | | | | Review URL: http://codereview.chromium.org/119077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17474 0039d316-1c4b-4281-b951-d872f2087c98
* Implement InspectorClient's Settings API.pfeldman@chromium.org2009-06-034-7/+121
| | | | | | | | | | | | | | | This CL implements InspectorClient's API for reading / writing inspector settings. Here is how this is done: - inspector_client_impl.cc caches / serializes preferences into raw strings. It supports all kinds of settings except for string vector. I did not implement it since a) it requires more escaping b) I think we should get rid of it upstream. It then passes serialized settings string over IPC. - There is a dedicated IPC message called UpdateInspectorSettings that takes care of settings update. Two things I don't like: 1) reading settings and writing settings follow different paths: WebPreferences interface for read, delegate -> IPC for write. WebPreferences on read is used since these settings are needed very early in the page cycle. delegate -> IPC on write is the only option. 2) this looks like too much code on the Chrome side for functionality like this. Is there a more generic way of settings and persisting WebKit's preferences in Chrome? Should there be one? Review URL: http://codereview.chromium.org/119041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17473 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few test_expectations related to my skia CL.senorblanco@chromium.org2009-06-021-0/+4
| | | | | | | | | BUG=http://crbug.com/13218 TEST=make tree greener TBR=tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17448 0039d316-1c4b-4281-b951-d872f2087c98
* -. Fix svn add in rebaselining tool and add more output warning messagesvictorw@chromium.org2009-06-023-6/+13
| | | | | | | | | | | -. Do not output failure if a test is rebaselining and missing expected files. BUG=none TEST=rebaselining tool Review URL: http://codereview.chromium.org/112083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17445 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 44342:44372.dglazkov@google.com2009-06-021-1/+1
| | | | | | | | | | TBR=dimich BUG=none TEST=no compile or layout test failures. Review URL: http://codereview.chromium.org/118138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17441 0039d316-1c4b-4281-b951-d872f2087c98
* Enable test for timers in workers. The code that enabled that was checked in ↵dimich@google.com2009-06-021-1/+0
| | | | | | | | | | earlier. BUG=10271 TEST=none, this enables an existing test. Review URL: http://codereview.chromium.org/118134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17437 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to skia r198. This picks up a number of bugfixes for layout tests,senorblanco@chromium.org2009-06-0212-10/+6
| | | | | | | | | | | | | | and font stuff for Linux. Rebaselines affected tests, adjusts test_expectations, and removes an extraneous include dir. (Also sets the svn:mime-type prop on some of the linux PNG files; they still diff as text in rietveld this time, but I think they should be happier for next time.) BUG=http://crbug.com/12002 TEST=If it builds, and layout tests pass, you're happy. Review URL: http://codereview.chromium.org/118128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17434 0039d316-1c4b-4281-b951-d872f2087c98
* Add functions to glue to get the full html of the page and also to check if ↵sverrir@google.com2009-06-024-0/+57
| | | | | | | | | | | the user has selected something. This is for enhanced printing support (in progress). Review URL: http://codereview.chromium.org/119043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17427 0039d316-1c4b-4281-b951-d872f2087c98
* Add ifdef to make upstreaming of v8_utility.h easiler.ajwong@chromium.org2009-06-021-0/+10
| | | | | | Review URL: http://codereview.chromium.org/118101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17416 0039d316-1c4b-4281-b951-d872f2087c98
* Add some browser-level checks to prohibit access to extension bindings bympcomplete@google.com2009-06-021-1/+2
| | | | | | | | | | | | non-extension renderers. Also add a check so that bindings are only exposed if the top-level frame is the chrome-extension scheme. BUG=11545 BUG=11993 TEST=none Review URL: http://codereview.chromium.org/119014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17408 0039d316-1c4b-4281-b951-d872f2087c98
* Add baselines for new tests from WebKit Update 44286:44342.dglazkov@google.com2009-06-0214-2/+154
| | | | | | | | | | TBR=dimich BUG=none TEST=none Review URL: http://codereview.chromium.org/119047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17403 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 44286:44342.dglazkov@google.com2009-06-022-40/+9
| | | | | | | | | | R=dimich BUG=none TEST=no compile or layout test failures. Review URL: http://codereview.chromium.org/118117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17402 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: use sampling rate reported by V8 profiler.mnaganov@chromium.org2009-06-022-9/+30
| | | | | | | | | | | Also fix a small problem with displaying "Processing..." icon: handle the case when log processing finishes prior to 'didIsProfilingStarted_' arrived. BUG=none TEST=none Review URL: http://codereview.chromium.org/119039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17400 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler UI changes.mnaganov@chromium.org2009-06-023-13/+76
| | | | | | | | | | | | | - filter our V8 natives; - display a notification that profile is being processed to avoid confusion; - do not display ".000" part when displaying time. BUG=none TEST=none Review URL: http://codereview.chromium.org/118112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17399 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing incorrect dependency revealed by chrome.sln moving to gyp.bradnelson@chromium.org2009-06-021-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/119024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17383 0039d316-1c4b-4281-b951-d872f2087c98
* Add REBASELINE option to test "body-generated-image-propagated-to-root"victorw@chromium.org2009-06-011-1/+1
| | | | | | | | TBR=dglazkov BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17371 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of that egregious serif font in autofill popups on os x by removing ↵thakis@chromium.org2009-06-011-16/+2
| | | | | | | | | | | NOTIMPLEMENTEDs. BUG=none TEST=Go to a page with a form with a text field, enter something, go to the page again, begin entering the same thing. A autofill popup appears. Check that the font in the popup looks like the system font. Review URL: http://codereview.chromium.org/115978 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17355 0039d316-1c4b-4281-b951-d872f2087c98
* Roll one revision back in WebKit update.dglazkov@google.com2009-06-011-2/+2
| | | | | | | | | TBR=dimich TEST=no layout test regressions. BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17348 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 44252:44287dglazkov@google.com2009-06-011-0/+3
| | | | | | | | | | R=dimich TEST=no additional layout test failures BUG=none Review URL: http://codereview.chromium.org/118084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17346 0039d316-1c4b-4281-b951-d872f2087c98
* Add a linux webkit flaky crasher to test_expectations.txtjhawkins@chromium.org2009-06-011-0/+1
| | | | | | Review URL: http://codereview.chromium.org/119004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17343 0039d316-1c4b-4281-b951-d872f2087c98
* Have the find bar show number of matches on linux.tc@google.com2009-06-011-2/+2
| | | | | | | | | | | | We needed to enable some code in webkit/glue/webframe_impl.cc and add a line to clear the results in find_bar_gtk.cc. BUG=12955 Review URL: http://codereview.chromium.org/115960 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17335 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flaky test for win to test_expectations.txtjhawkins@chromium.org2009-06-011-0/+1
| | | | | | Review URL: http://codereview.chromium.org/118078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17331 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flaky test that crashes for mac debug to test_expectations.txtjhawkins@chromium.org2009-06-011-1/+3
| | | | | | Review URL: http://codereview.chromium.org/118075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17329 0039d316-1c4b-4281-b951-d872f2087c98
* Add three more flaky linux tests to test_expectations.txt.jhawkins@chromium.org2009-06-011-0/+3
| | | | | | Review URL: http://codereview.chromium.org/115995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17327 0039d316-1c4b-4281-b951-d872f2087c98
* Update test_expectations with two more flaky tests.jhawkins@chromium.org2009-06-011-0/+2
| | | | | | Review URL: http://codereview.chromium.org/115992 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17325 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselining tool that automatically produces baselines for all platforms.victorw@chromium.org2009-06-014-7/+603
| | | | | | | | | | | | | | | | | The script does the following for each platform specified: 1. Compile a list of tests that need rebaseline. 2. Download test result archive from buildbot for the platform. 3. Extract baselines from the archive file for all identified files. 4. Add new baselines to SVN repository. 5. For each test that has been rebaselined, remove this platform option from the test in test_expectation.txt. If no other platforms remaining after removal, delete the rebaselined test from the file. BUG=11744 Review URL: http://codereview.chromium.org/115666 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17317 0039d316-1c4b-4281-b951-d872f2087c98
* Header cleanup in webkit/gluephajdan.jr@chromium.org2009-06-0126-26/+20
| | | | | | | | | - reduce header dependencies - remove redundant forward declarations Review URL: http://codereview.chromium.org/115871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17313 0039d316-1c4b-4281-b951-d872f2087c98
* port webkit changeset 44066ukai@chromium.org2009-06-011-0/+2
| | | | | | | | | | | Look for the VLC plug-in's new name. BUG=0 TEST=no additional regtests Review URL: http://codereview.chromium.org/113813 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17312 0039d316-1c4b-4281-b951-d872f2087c98
* Revert WebURLLoader landing. Too many layout test failures.darin@chromium.org2009-05-3034-2728/+1302
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/115973 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17293 0039d316-1c4b-4281-b951-d872f2087c98
* Fix layout test failures.darin@chromium.org2009-05-302-2/+3
| | | | | | | | | | | | | | | | | | | | 1- We need to be careful when converting from a null WebURL to a GURL since std::string(NULL, 0) crashes. 2- It turns out that in some layout tests, willSendRequest sets the request to null to indicate that we should not follow the redirect. In the few cases I debugged, this was happening because we were redirecting from "localhost" to "127.0.0.1". It seems like we probably need to change the hostname used to load HTTP based layout tests to match what the tests expect. For now, I just commented out the assertion since it was something that I had just newly added. BUG=none TEST=covered by layout tests TBR=dglazkov Review URL: http://codereview.chromium.org/115970 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17291 0039d316-1c4b-4281-b951-d872f2087c98
* Start using WebURLLoader, et. al. from the WebKit API.darin@chromium.org2009-05-3033-1301/+2726
| | | | | | | | | | | | | | | | | | | | | | | | Moves our ResourceHandle to webkit/api/src/ResourceHandle.cpp from webkit/glue/resource_handle_impl.cc. A portion of resource_handle_impl.cc was moved into weburlloader_impl.{h,cc}, which now contains our implementation of WebURLLoader. The annoying parts of this CL involve WebPluginImpl. I had to convert it over to using WebURLLoader instead of ResourceHandle so that MultipartResourceDelegate can be shared. There is some complexity in WebURLRequest / WebURLResponse to make it cheap to wrap a ResourceRequest / ResourceResponse. I think this is worth it since there is a lot of conversion between the two types. BUG=10038 TEST=covered by existing tests R=dglazkov Review URL: http://codereview.chromium.org/113928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17290 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=12192rafaelw@chromium.org2009-05-304-331/+0
| | | | | | | | R=aa Review URL: http://codereview.chromium.org/115681 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17269 0039d316-1c4b-4281-b951-d872f2087c98
* Remove code path that passes a file handle to the rendererhclam@chromium.org2009-05-292-27/+0
| | | | | | | | | | | | | | | | | | | | | | Since the code now does range request without any caching the code path for passing file handle is not used any more. Changes: 1. Remove response_data_file in webkit_glue::ResourceResponseHead 2. Remove response_data_file in net::ResourceInfo 3. Remove code that passes file handle using IPC 4. Remove code that passes file hadnle from network layer to ResourceDispatcherHost 5. Remove MediaResourceHandler 6. Remove code in disk_cache that expose the file handle 7. Remove ChromeURLRequestContext::CreateOffTheRecordForMedia() so no more OTR request context for media, in OTR mode simply memory cache is used 8. Reset cache size for media cache to default BUG=12249 BUG=12256 Review URL: http://codereview.chromium.org/113931 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17227 0039d316-1c4b-4281-b951-d872f2087c98
* Handle mimetype queries for media fileshclam@chromium.org2009-05-294-4/+13
| | | | | | | | | | Added code path from WebKit to net::mimt_util to query supported mime-types for media files. BUG=12777 Review URL: http://codereview.chromium.org/114060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17225 0039d316-1c4b-4281-b951-d872f2087c98
* Disable more flaky tests.tc@google.com2009-05-291-1/+3
| | | | | | | | | TBR=finnur Review URL: http://codereview.chromium.org/115940 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17203 0039d316-1c4b-4281-b951-d872f2087c98
* Adding more Webkit tests to the failure list to get the build green(er).finnur@chromium.org2009-05-291-1/+4
| | | | | | | TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17199 0039d316-1c4b-4281-b951-d872f2087c98
* More expectation changes from the WebKit merge.brettw@chromium.org2009-05-291-2/+4
| | | | | | Review URL: http://codereview.chromium.org/115928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17193 0039d316-1c4b-4281-b951-d872f2087c98
* Add new failing WebKit tests to the expectations file.brettw@chromium.org2009-05-291-3/+8
| | | | | | Review URL: http://codereview.chromium.org/115927 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17192 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more test list errors.brettw@chromium.org2009-05-291-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17191 0039d316-1c4b-4281-b951-d872f2087c98