summaryrefslogtreecommitdiffstats
path: root/webkit/tools
Commit message (Collapse)AuthorAgeFilesLines
* AppCache: Use a dedicated thread for the disk cache.rvargas@google.com2010-06-078-121/+142
| | | | | | | | | | BUG=26730 TEST=current tests Review URL: http://codereview.chromium.org/2249005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49111 0039d316-1c4b-4281-b951-d872f2087c98
* Add implementation for WebDevToolsAgentClient::debuggerScriptSource.yurys@chromium.org2010-06-073-0/+8
| | | | | | | | | To be able to stop on top-level breakpoints We need to enable javascript debugger before any scripts are executed. That's why DebuggerScript.js contents should be retrieved synchronously. Review URL: http://codereview.chromium.org/2609001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49045 0039d316-1c4b-4281-b951-d872f2087c98
* Use DISALLOW_COPY_AND_ASSIGN instead DISALLOW_EVIL_CONSTRUCTORS in webkit ↵tfarina@chromium.org2010-06-051-2/+2
| | | | | | | | | | | directory. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/2699004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49012 0039d316-1c4b-4281-b951-d872f2087c98
* Actually clear the disk cache, and keep it enabled, between benchmark runs.mlloyd@chromium.org2010-06-051-0/+4
| | | | | | | | | | | | | Fixes a small TODO in the benchmarking extension. Keep the disk cache turned on during benchmarking, and doom all entries between benchmark runs, rather than disabling it entirely. BUG=none TEST=All tests pass. Review URL: http://codereview.chromium.org/669115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48994 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more type issues from the npapi.h tranisition to *_t typesstuartmorgan@chromium.org2010-06-043-2/+5
| | | | | | | | | | | | | Fixes the remaining not _t types in our plugin code Removes the extra typedefs added to our copy of npapi.h Adds headers to plugin code where necessary due to implicit dependencies on standard headers via basictypes.h BUG=42645 TEST=Everything still compiles Review URL: http://codereview.chromium.org/2505001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48952 0039d316-1c4b-4281-b951-d872f2087c98
* <wininet.h> related cleanup.wtc@chromium.org2010-06-041-1/+0
| | | | | | | | | | | | | Document why clipboard_util_win.cc needs to include <wininet.h>. test_shell_win.cc does not need to include <wininet.h>. R=eroman BUG=none TEST=none Review URL: http://codereview.chromium.org/2606004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48937 0039d316-1c4b-4281-b951-d872f2087c98
* Add setJavaScriptProfilingEnabled method to test_shell's layoutTestController.mnaganov@chromium.org2010-06-042-0/+12
| | | | | | | | | | | This is for compatibility with WebKit's DRT. BUG=none TEST=none Review URL: http://codereview.chromium.org/2598001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48909 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit to r60649. Remove temporary override in test_expectations.pkasting@chromium.org2010-06-041-4/+0
| | | | | | | | | BUG=none TEST=none TBR=tkent Review URL: http://codereview.chromium.org/2628001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48901 0039d316-1c4b-4281-b951-d872f2087c98
* Add a temporary test exception until the next WK roll.johnnyg@chromium.org2010-06-031-1/+5
| | | | | | | | | | TBR=pkasting BUG=none TEST=none Review URL: http://codereview.chromium.org/2625001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48894 0039d316-1c4b-4281-b951-d872f2087c98
* Change the test notification presenter to fire the display event ↵johnnyg@chromium.org2010-06-031-1/+11
| | | | | | | | | | | asynchronously, as this is what the spec calls for and enables more correct layout tests. BUG=none TEST=none Review URL: http://codereview.chromium.org/2608001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48893 0039d316-1c4b-4281-b951-d872f2087c98
* Make HostResolver NonThreadSafe and not thread safe refcounted.willchan@chromium.org2010-06-035-71/+116
| | | | | | | | | | Required making SyncHostResolverBridge not use RefCountedThreadSafe. I refactored the innards to have a thread safe refcounted Core implementation. BUG=45298 Review URL: http://codereview.chromium.org/2122015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48867 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the logging for sockets/connectjobs.eroman@chromium.org2010-06-031-1/+1
| | | | | | | | | | | | | | | | | | In particular, make it work better when using backup jobs / late binding (the display was very confused before because of how these asynchronous events would nest). Also changed the paradigm for how PassiveLogCollector preserves these async associations -- this fixes how it replays the events to net-internals. (Before we would collapse the event streams into the SOURCE_URL_REQUEST which lost some hiearchy.. now I keep the separate streams). Some of the particular changes to the event streams: * ConnectJobs now create their own source stream internally. * Sockets are now bounded by +SOCKET_ALIVE / -SOCKET_ALIVE events (removed the one-off SOCKET_DONE event). * The socket log streams contains +SOCKET_IN_USE / -SOCKET_IN_USE event blocks to show which URLRequest was controlling it at various points in time (this makes it much easier to understand which read/writes belonged to a particular network transaction when a socket gets re-used). * ConnectJobs are bounded by +SOCKET_POOL_CONNECT_JOB / - SOCKET_POOL_CONNECT_JOB events. * ConnectJobs log the net error they failed with. * Removed the SOCKET_BACKUP_TIMER_EXTENDED event. Review URL: http://codereview.chromium.org/2363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48797 0039d316-1c4b-4281-b951-d872f2087c98
* Make webkit_glue not depend on default_plugin.thakis@chromium.org2010-06-021-27/+0
| | | | | | | | | | This removes a dependency cycle and should also make life easier for DRT. Revert http://codereview.chromium.org/1658012 Review URL: http://codereview.chromium.org/2358001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48731 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch more type changes as part of the npapi.h mergingstuartmorgan@chromium.org2010-06-022-25/+25
| | | | | | | | | | | | | This makes two types of changes - More int* -> int*_t transitions, since npapi.h switched over - Replace TRUE/FALSE, which have been removed from the upstream npapi.h. Since all our usage is C++, true/false seemed cleaner than 1/0. BUG=42645 TEST=Compiling still works Review URL: http://codereview.chromium.org/2484002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48725 0039d316-1c4b-4281-b951-d872f2087c98
* Adds --html5-parser flag to test_shell to test out the new HTML5 parsing codejamesr@chromium.org2010-06-015-1/+16
| | | | | | | | | | | This mirrors the same flag present in DumpRenderTree. TEST=none BUG=none Review URL: http://codereview.chromium.org/2477002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48661 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing AutoReset to be a template.gspencer@chromium.org2010-06-011-1/+1
| | | | | | | | | | | I've run into a couple of times this week when I needed one of these, for two different types besides bool. Time to fix the TODO. TEST=trybots FTW, and built locally. BUG=none Review URL: http://codereview.chromium.org/2394001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48644 0039d316-1c4b-4281-b951-d872f2087c98
* Force embeddedbitmaps off for test_shell.agl@chromium.org2010-06-011-0/+4
| | | | | | | | | | The embeddedbitmaps flag controls if we'll use bitmap strikes in vector fonts or not. Previously this was unspecified so was distro dependent. This fixes WebKit layout test issues with WebKit's r60477. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48643 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Issue 38417.hbono@chromium.org2010-05-311-1/+0
| | | | | | | | | | Our test_shell does not support on-the-spot (or over-the-spot) IME. For such applications, Windows sends two messages for inserting IME text: WM_IME_CHAR and WM_CHAR. Since WM_IME_CHAR messages are only for MBCS applications, our test_shell (which is a Unicode application) doesn't have to receive them. BUG=38417 TEST=run test_shell.exe, click its 'Google' link, enable an IME, insert an IME text, and verify test_shell inserts the IME text only once. Review URL: http://codereview.chromium.org/2349002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48590 0039d316-1c4b-4281-b951-d872f2087c98
* Try to get PluginTest.DefaultPluginLoadTest running on mac and linux.thakis@chromium.org2010-05-282-5/+0
| | | | | | | | BUG=10952,17392 Review URL: http://codereview.chromium.org/2329004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48530 0039d316-1c4b-4281-b951-d872f2087c98
* Add ppapi plugins to about:pluginsdarin@chromium.org2010-05-285-52/+32
| | | | | | | | | | | | Querying the plugin path and actual mime type is moved from creation of the WebPluginDelegate to creation of the WebPlugin. This cleaned up some code. R=jam BUG=45289 TEST=none Review URL: http://codereview.chromium.org/2262002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48484 0039d316-1c4b-4281-b951-d872f2087c98
* Enables layout tests for Geolocation downstream.bulach@chromium.org2010-05-281-0/+4
| | | | | | | | BUG=36451 Review URL: http://codereview.chromium.org/2266002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48479 0039d316-1c4b-4281-b951-d872f2087c98
* test_shell_gtk: applies the same change as test_shell_win from ↵bulach@chromium.org2010-05-281-7/+12
| | | | | | | | | | http://codereview.chromium.org/27109 TEST=everything should still be green, Geolocation should finally pass. Review URL: http://codereview.chromium.org/2279002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48478 0039d316-1c4b-4281-b951-d872f2087c98
* Fully connect the dots between workers and appcache resource loading.michaeln@chromium.org2010-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * Split WorkerService CreateWorker into distinct methods for 'shared' vs 'dedicated' workers. * Include additional appcache params in WorkerService CreateSharedWorker and CreateDedicatedWorker methods. * Store those additional params in WorkerInstance object. * Pass those additional params to the worker process. * Use those additional params when initiating the appcache host for the worker when calling SelectCacheForWorker and SelectCacheForSharedWorker. * Add browser process message handlers and dispatching for the SelectCacheForWorker and SelectCacheForSharedWorker IPC messages. * Runtime enable the appcache feature in the worker processes. BUG=39368 TEST=manual for now, but i need to create layout tests for this Review URL: http://codereview.chromium.org/2238001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48441 0039d316-1c4b-4281-b951-d872f2087c98
* Re-commit the notification presenter changes (undo r47765).dpranke@chromium.org2010-05-263-9/+17
| | | | | | | | | | | | This didn't cause a perf regression from what I can tell. BUG=none TEST=none R=johnnyg@chromium.org Review URL: http://codereview.chromium.org/2143008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48326 0039d316-1c4b-4281-b951-d872f2087c98
* Marking svg/clip-path/clip-path-evenodd-nonzero.svg as flaky.tonyg@chromium.org2010-05-261-1/+4
| | | | | | | | | BUG=45106 TEST=svg/clip-path/clip-path-evenodd-nonzero.svg Review URL: http://codereview.chromium.org/2218004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48280 0039d316-1c4b-4281-b951-d872f2087c98
* Adds Geolocation support for TestShell.bulach@chromium.org2010-05-268-3/+174
| | | | | | | | | | | | | | This is the evil twin of DRT: https://bugs.webkit.org/show_bug.cgi?id=39440 (depends on https://bugs.webkit.org/show_bug.cgi?id=39081). TEST=existing layout tests fast/dom/Geolocation/* BUG=36451 Review URL: http://codereview.chromium.org/2094003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48260 0039d316-1c4b-4281-b951-d872f2087c98
* Remove references to feed preview, which was removed years ago.tony@chromium.org2010-05-262-12/+0
| | | | | | | | TEST=tests still pass Review URL: http://codereview.chromium.org/2150005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48240 0039d316-1c4b-4281-b951-d872f2087c98
* Provide more info to the renderer process in appcache progress events.michaeln@chromium.org2010-05-251-0/+16
| | | | | | | | | BUG=39370 TEST= yes, updated unittests Review URL: http://codereview.chromium.org/2166006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48197 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48127 - Disable fast/js/consolenonstringvalues.html because it's crashingtony@chromium.org2010-05-251-3/+1
| | | | | | | | | | | | | | | | in debug. We'll reenable once it's fixed upstream. Reverting because this test is passing after a clobber. BUG=44969 TBR=jparent Review URL: http://codereview.chromium.org/2112015 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/2174003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48133 0039d316-1c4b-4281-b951-d872f2087c98
* Disable fast/js/console-non-string-values.html because it's crashingtony@chromium.org2010-05-251-1/+3
| | | | | | | | | | in debug. We'll re-enable once it's fixed upstream. TBR=jparent Review URL: http://codereview.chromium.org/2112015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48127 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 60013:60046.jparent@chromium.org2010-05-231-3/+1
| | | | | | | | | TBR=victorw TEST=canaries BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48001 0039d316-1c4b-4281-b951-d872f2087c98
* Mark arobens-test as skip. It is removed in a later webkit revision, and ↵jparent@chromium.org2010-05-231-1/+1
| | | | | | | | | | | fails differently on each platform. TEST=none BUG=one TBR=victorw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48000 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit 59937:60013.jparent@chromium.org2010-05-231-0/+2
| | | | | | | | | | TBR=victorw TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47999 0039d316-1c4b-4281-b951-d872f2087c98
* Test shell: create a dedicated thread for the cache.rvargas@google.com2010-05-202-3/+10
| | | | | | | | | BUG=26729 TEST=none Review URL: http://codereview.chromium.org/2110014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47860 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side changes for enabling VP8 and WebM support.scherkus@chromium.org2010-05-201-1/+1
| | | | | | | | | | | Patches by Frank Galligan (fgalligan@google.com), Tom Finegan (tomfinegan@google.com) and James Zern (jzern@google.com). BUG=none TEST=none Review URL: http://codereview.chromium.org/2093007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47759 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some obsolete feed preview code.tony@chromium.org2010-05-203-9/+0
| | | | | | Review URL: http://codereview.chromium.org/2075016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47755 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r46500 in an attempt to verify a perf regression on the Mac bots.dpranke@chromium.org2010-05-193-17/+6
| | | | | | | | | | | | We will also need to revert WebKit rev r58675. BUG=43276 R=johnnyg@chromium.org TEST=none Review URL: http://codereview.chromium.org/2095010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47702 0039d316-1c4b-4281-b951-d872f2087c98
* - Draw glossy animation effect for determinate progress bartkent@chromium.org2010-05-192-8/+9
| | | | | | | | | | | | | | | | | | - Moved animation code for indeterminate bar from WebKit because adding change above makes webkit-side too complicated. Note: - This change depends https://webkit.org/b/39269 - Appearance of indeterminate bar remains incorrect. I filed it to http://crbug.com/44433. Patch by Hajime Morita <morrita@g> Original code review: http://codereview.chromium.org/2131008/show BUG=44430 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47618 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Webkit from 59644:59656atwilson@chromium.org2010-05-181-2/+0
| | | | | | TBR=victorw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47551 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll r59636:59644atwilson@chromium.org2010-05-181-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47536 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable layout test for web storage quota.satish@chromium.org2010-05-171-1/+0
| | | | | | | | | | | | | | Since WebKit r59457, this test is rebaselined and can be enabled again. Landing http://codereview.chromium.org/2078009/show BUG=42740 TEST=ui_tests --gtest_filter=DOMStorageTest.RootLayoutTests TEST=run_webkit_tests.sh --debug storage/domstorage/quota.html Review URL: http://codereview.chromium.org/2066006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47415 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 59477:59478yurys@chromium.org2010-05-141-4/+0
| | | | | | | | | | WebKit roll 59477:59478. It will update expectations for fast/loader/recursive-before-unload-crash.html TBR=atwilson Review URL: http://codereview.chromium.org/2117006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47289 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable a failing layout test that needs to be rebaselined upstream.jorlow@chromium.org2010-05-141-0/+4
| | | | | | Review URL: http://codereview.chromium.org/2106005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47271 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IndexedDatabase::open up until re-entrance into WebKit. That (and thejorlow@chromium.org2010-05-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | rest of IndexedDB) will be done in subsequent patches. Included in this patch is a lot of other infrastructure for making IndexedDB work. Included is a conversion from the DOMStorageDispatcherHost into a dispatcher host for all APIs that have a backend in WebKit. I named it WebKitAPIDispatcherHost. Since it's in browser/in_process_webkit and it is for APIs that connect up to the WebKit API and it's used for APIs whose backend is implemented in WebKit I thought the name was decent and not _too_ confusing, but if you have better ideas, please let me know. This includes some code that you've already reviewed (darin), but a lot has changed so please take a look at all of it. TEST=Not much to test yet + behind a flag. BUG=none Review URL: http://codereview.chromium.org/1599009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47268 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for HTML5 progress element. tkent@chromium.org2010-05-144-14/+63
| | | | | | | | | | | | | WebKit side of this change is on http://webkit.org/b/37308 . continued from http://codereview.chromium.org/1596018 Patch by Hajime Morita <morrita@g> Original code review: http://codereview.chromium.org/1988012/show BUG=none TEST=Covered by WebKit LayoutTests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47247 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit_support_in_chromium.gyp and use webkit_support.gyptony@chromium.org2010-05-141-8/+8
| | | | | | | | | | instead. features.gypi isn't needed by glue, appcache or database. Review URL: http://codereview.chromium.org/2070001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47238 0039d316-1c4b-4281-b951-d872f2087c98
* Do right-alignment of popups when WebKit indicates to do so.avi@chromium.org2010-05-131-1/+3
| | | | | | | | | BUG=http://crbug.com/23106 TEST=as in bug Review URL: http://codereview.chromium.org/1992006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47204 0039d316-1c4b-4281-b951-d872f2087c98
* Define two new IPC messages to initialize an appcache for a shared worker or ↵michaeln@chromium.org2010-05-131-0/+13
| | | | | | | | | | | a dedicated worker. There is no callsite for sending these messages yet, and there are no handlers for them either. BUG=39368 TEST=nothing to test yet Review URL: http://codereview.chromium.org/2037013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47165 0039d316-1c4b-4281-b951-d872f2087c98
* Http Cache: Add a backend factory class so that the callerrvargas@google.com2010-05-121-10/+9
| | | | | | | | | | | | has more control about the backend instantiation. BUG=none TEST=current unit tests. Review URL: http://codereview.chromium.org/2000011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47050 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up old method signature of WebViewClient::createView.rafaelw@chromium.org2010-05-122-9/+0
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=38301 has landed in webkit. Remove old call signature. Review URL: http://codereview.chromium.org/1955002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47046 0039d316-1c4b-4281-b951-d872f2087c98