summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix the test expectations file by removing duplicate names.brettw@chromium.org2009-05-291-1/+0
| | | | | | Review URL: http://codereview.chromium.org/115925 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17190 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44202:44252brettw@chromium.org2009-05-291-4/+19
| | | | | | Review URL: http://codereview.chromium.org/113985 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17189 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in net/phajdan.jr@chromium.org2009-05-292-0/+2
| | | | | | | | TEST=none Review URL: http://codereview.chromium.org/115870 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17178 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: decouple class and method names from RPC message arguments. That ↵yurys@google.com2009-05-2913-77/+159
| | | | | | | | would allow to select dispatcher wothout parsing the message argument. Review URL: http://codereview.chromium.org/115862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17176 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix standalone mode for Inspector frontend.pfeldman@chromium.org2009-05-281-2/+2
| | | | | | Review URL: http://codereview.chromium.org/115864 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17075 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add support for non-trivial console messages.pfeldman@chromium.org2009-05-281-2/+15
| | | | | | Review URL: http://codereview.chromium.org/113953 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17074 0039d316-1c4b-4281-b951-d872f2087c98
* Separate results of profiling sessions.mnaganov@chromium.org2009-05-283-33/+75
| | | | | | | | | | Now data for each profiling session is collected separately (previously they were accumulated in a single profile). BUG=none TEST=none Review URL: http://codereview.chromium.org/113950 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17072 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Merge 44152:44202.paulg@google.com2009-05-271-0/+5
| | | | | | Review URL: http://codereview.chromium.org/113926 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17036 0039d316-1c4b-4281-b951-d872f2087c98
* Let ChromiumBridge::paintTextField check if the Color object passed in is validbrettw@chromium.org2009-05-271-1/+4
| | | | | | | | | | | | | | | | | | | or not. If not valid, just pass white to ThemeEngine. This change was motivated by the issue http://code.google.com/p/chromium/issues/detail?id=2756, but it has been resolved by only the upstream change https://bugs.webkit.org/show_bug.cgi?id=25742. However, this verification code is still useful. BUG=2756 Checked in for tyoshino@google.com Original review: http://codereview.chromium.org/113165 Review URL: http://codereview.chromium.org/113907 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17001 0039d316-1c4b-4281-b951-d872f2087c98
* Remove empty unused directories from src/webkit.dglazkov@chromium.org2009-05-273-1210/+0
| | | | | | | | | | R=darin BUG=3319 TEST=none Review URL: http://codereview.chromium.org/113903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16990 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to InspectorController for network and console events.pfeldman@chromium.org2009-05-2722-886/+293
| | | | | | | | | | | | | | - introduced bound object on the agent side; - established remote dispatch of WebInspector calls - using fake InspectorFrontend for serializing events and sending them over the ipc - removed net agents from both sides - moved GetResource stuff to tools agent Assumes following is landed: https://bugs.webkit.org/show_bug.cgi?id=26010 Review URL: http://codereview.chromium.org/113836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16980 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for constructor calls in the NPAPI.sgjesse@chromium.org2009-05-276-22/+101
| | | | | | | | | | | | | | | | | The LiveConnect test cases at http://java.sun.com/javase/6/webnotes/6u10/plugin2/liveconnect/LiveConnectTests/ now pass for Chromium. Parts of this change is rather mechanical, and leaves room for some refactoring afterwards. Merged the implementation of testConstruct and the "objectPointer" property from WebKit\WebKitTools\DumpRenderTree\TestNetscapePlugIn.subproj\TestObject.cpp to the Chromium TestObject.cpp for the layout test LayoutTests\plugins\netscape-construct.html pass. BUG=http://crbug.com/3285 BUG=http://crbug.com/10354 TEST=http://java.sun.com/javase/6/webnotes/6u10/plugin2/liveconnect/LiveConnectTests/ TEST=LayoutTests\plugins\netscape-construct.html Review URL: http://codereview.chromium.org/113823 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16979 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline Linux LayoutTests/fast/canvas/canvas-bg-zoom.htmlukai@chromium.org2009-05-274-7/+14
| | | | | | | | | | | | Fixed bug number for rebaselines after Webkit Update 43750:43770 in test_expectations.txt BUG=12053 TEST=LayoutTests/fast/canvas-bg-zoom.html passes on linux Review URL: http://codereview.chromium.org/113835 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16967 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline new test added in webkit revision 44087ukai@chromium.org2009-05-274-3/+33
| | | | | | | | | | | The differences are JavaScript exception message only. BUG=12611 TEST=run_webkit_test LayoutTests\fast\js\exception-for-nonobject.html passes Review URL: http://codereview.chromium.org/115766 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16965 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit update 44143:44151paulg@google.com2009-05-261-6/+6
| | | | | | | | | Includes gyp update for WebKit file renaming: AccessibilityAria* --> AccessibilityARIA* Review URL: http://codereview.chromium.org/115800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16952 0039d316-1c4b-4281-b951-d872f2087c98
* The autofilling of passwords when the URL for visited page and the page the ↵jcampan@chromium.org2009-05-262-2/+22
| | | | | | | | | | | | | password was stored are different was broken. This happened as part as some refactoring done for the form autofill last year. BUG=12675 TEST=See bug. Review URL: http://codereview.chromium.org/113853 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16950 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a leak in ImageDecoder::Decode.mpcomplete@google.com2009-05-261-1/+5
| | | | | | | | BUG=12549 TEST=none Review URL: http://codereview.chromium.org/115793 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16941 0039d316-1c4b-4281-b951-d872f2087c98
* Move failures back where they belong.dglazkov@chromium.org2009-05-261-5/+2
| | | | | | | | | | | | I accidentally removed them and abarth caught them. Now they're back where they ought to be. TBR=gwilson BUG=10463 TEST=0 Review URL: http://codereview.chromium.org/113845 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16923 0039d316-1c4b-4281-b951-d872f2087c98
* Disable layout test worker-terminate.html. This is because we are removing ↵jianli@chromium.org2009-05-261-0/+5
| | | | | | | | | | the uses of V8 Locker in worker execution code when we switch to process-per-worker model. (See WebKit bug 25944 https://bugs.webkit.org/show_bug.cgi?id=25944). BUG=none TEST=none Review URL: http://codereview.chromium.org/113726 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16896 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure we have a Cocoa NSGraphicsContext when needed.jrg@chromium.org2009-05-261-0/+2
| | | | | | | | | | | | For now we still use Cocoa so we need a NSGraphicsContext when drawing (not just a CGContext). BUG=12474 See related CL http://codereview.chromium.org/114020 Review URL: http://codereview.chromium.org/115732 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16886 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid leaks reported in test_shell by valgrind on mac, by avoiding thesdoyon@chromium.org2009-05-262-1/+12
| | | | | | | | | | | | | use of MessageLoopForUI in run_all_tests.cc (partial revert of r16739). Avoid using ProxyConfigService on linux by always passing in a fixed proxy configuration. BUG=12571 TEST=none Review URL: http://codereview.chromium.org/115775 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16879 0039d316-1c4b-4281-b951-d872f2087c98
* Set focus to the dummy plugin window used to ensure that keyboard focus ↵ananta@chromium.org2009-05-262-28/+26
| | | | | | | | | | | | | | | | | | | | | correctly works in context menu's put up by windowless plugins in the TrackPopupMenu intercept. We now intercept this API for windowless Flash plugins as well. Removed the code to unhook the message filter hook used to detect modal loops from HandleEvent, as this already happens in the OnModalLoopEntered function. We now intercept TrackPopupMenu for all windowless plugins. This fixes http://code.google.com/p/chromium/issues/detail?id=8988 Bug=8988 Review URL: http://codereview.chromium.org/113804 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16878 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: use event context to decide which agent should be used for ↵yurys@google.com2009-05-262-80/+49
| | | | | | | | | handling the event. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16586 Review URL: http://codereview.chromium.org/113629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16871 0039d316-1c4b-4281-b951-d872f2087c98
* Re-introduce check for empty handles after calling toString whenkasperl@google.com2009-05-261-0/+4
| | | | | | | | | | converting a JavaScript object to a WebCore string. BUG=none TEST=none Review URL: http://codereview.chromium.org/115771 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16870 0039d316-1c4b-4281-b951-d872f2087c98
* Sync with the profiler changes in V8.mnaganov@chromium.org2009-05-265-61/+92
| | | | | | | | | - Use context prior to calling 'ResumeProfiler'. - Check the status of the profiler using 'IsProfilerPaused'. Review URL: http://codereview.chromium.org/115767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16868 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectations.ukai@chromium.org2009-05-251-0/+2
| | | | | | | | | | | | | | | | Some tests I removed previous changes reports failure, so reverts them - LINUX : LayoutTests/svg/text/text-tselect-02-f.svg = FAIL - MAC : LayoutTests/fast/dom/Document/open-with-pending-load.html = CRASH TBR=paul BUG=10055,11604 TEST=buildbot report Review URL: http://codereview.chromium.org/113817 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16854 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: disable console autocompletion until we come up with some good ↵yurys@google.com2009-05-251-0/+11
| | | | | | | | | solution for asynchronouse completion. BUG=12435 Review URL: http://codereview.chromium.org/115753 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16853 0039d316-1c4b-4281-b951-d872f2087c98
* Update test_expectations.ukai@chromium.org2009-05-251-15/+3
| | | | | | | | | | TBR=paul BUG=10055,10351,10466,10667,11123,11604,11613,12054 TEST=buildbot report Review URL: http://codereview.chromium.org/113814 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16852 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 1.2.4.3.sgjesse@chromium.org2009-05-252-2/+2
| | | | | | | | | | | This version contains support for destingushing between calling a non function as a function or as a constructor. This is take two of http://codereview.chromium.org/115634, including changes to layout test expectations caused by the changes to runtime.js in V8. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/115755 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16851 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectaions.ukai@chromium.org2009-05-251-46/+22
| | | | | | | | | | | | Delete unexpected failures on Mac and Linux TBR=paul BUG=10352,10458,10466,10467,11613,11796,11933,12054,12104,12350,12352 TEST=buildbot report Review URL: http://codereview.chromium.org/115754 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16850 0039d316-1c4b-4281-b951-d872f2087c98
* Update webkit to r44123darin@chromium.org2009-05-255-16/+25
| | | | | | | | | | | | | | | | | This required dealing with a few changes in WebKit: 1- ImageBuffer::create() now returns a PassOwnPtr instead of an auto_ptr. 2- ChromeClient::createHTMLParserQuirks() now returns a PassOwnPtr instead of a raw pointer. 3- HTMLFormControlElement::onChange was renamed dispatchFormControlChangeEvent. 4- dom/SelectElement.{h,cpp} were added to the tree. TEST=none R=ukai BUG=none Review URL: http://codereview.chromium.org/115751 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16849 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected test failures after Webkit update 44065:44094ukai@chromium.org2009-05-251-5/+3
| | | | | | | | | TBR=paul BUG=12611 Review URL: http://codereview.chromium.org/115750 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16848 0039d316-1c4b-4281-b951-d872f2087c98
* Rename |policy_url| to |first_party_for_cookies|. This now matches the ↵abarth@chromium.org2009-05-234-23/+29
| | | | | | | | | | | | WebKit name for this piece of data. R=jackson BUG=None TEST=No behavior change Review URL: http://codereview.chromium.org/115743 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16843 0039d316-1c4b-4281-b951-d872f2087c98
* Make run_webkit_test.bat workable even if we execute itojan@chromium.org2009-05-231-1/+1
| | | | | | | | | | | | | | | on a directory other than webkit\tools\layout_tests\. %~dp0 means Drive name + Path name of the 0th argument (the bat file). Original patch by tkent@google.com. See http://codereview.chromium.org/113389 r=ojan TEST=None BUG=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16838 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that seekable streams are removed from the list of resource ↵ananta@chromium.org2009-05-233-2/+7
| | | | | | | | | | | | | | | | | | | | clients maintained by WebPluginProxy. The PluginStreamUrl object ensures that it notifies the webplugin object that it is being deleted in its destructor. The other change is to remove the call to CancelRequest in WebPluginDelegateImpl::CreateResourceClient for seekable streams, as this call does not do anything for manual streams created with a resource id of -1. In any case for byte range requests, receiving a new response does not mean that earlier requests should be cancelled. This fixes bug http://code.google.com/p/chromium/issues/detail?id=12445 BUG=12445 Review URL: http://codereview.chromium.org/113772 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16828 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected test failures after WebKit merge 44049:44065abarth@chromium.org2009-05-231-0/+4
| | | | | | | | | TBR=nsylvain BUG=12563 Review URL: http://codereview.chromium.org/113802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16820 0039d316-1c4b-4281-b951-d872f2087c98
* CPAPI gears drag drop and renderer IPC.michaeln@google.com2009-05-222-3/+133
| | | | | | | | | | | | | | | CPAPI (0.10) functions for gears drag drop; one to extract thedrag type/data given an NPObject *event, one to override thedrop effect (drag cursor). Gears drag drop API receives a browser event as an NPObject* sothe event is untrusted. Provide IPC calls to the renderer sogears can pass the event to renderer/V8 for checking, prior todrag type/data extraction, or the setting of the drop effect. Original patch by Noel Gordon via: http://codereview.chromium.org/99240 BUG=7995 TEST=none Review URL: http://codereview.chromium.org/112056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16808 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline a bunch of slider/input/zooming tests. They are all alright.dglazkov@google.com2009-05-2220-109/+148
| | | | | | | | | | R=gwilson BUG=10463,10467 TEST=no layout test regressions. Review URL: http://codereview.chromium.org/112053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16807 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS and fix build bustage. Propagate rename of policyBaseURL -> ↵abarth@chromium.org2009-05-224-17/+9
| | | | | | | | | | | | firstPartyForCookies a bit further. TBR=darin TEST=It complies! BUG=None Review URL: http://codereview.chromium.org/112055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16804 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline test due to upstream change http://trac.webkit.org/changeset/41993.dglazkov@google.com2009-05-224-61/+79
| | | | | | | | | | R=gwilson BUG=10466 TEST=no layout test regressions. Review URL: http://codereview.chromium.org/113777 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16789 0039d316-1c4b-4281-b951-d872f2087c98