summaryrefslogtreecommitdiffstats
path: root/webkit/support
Commit message (Collapse)AuthorAgeFilesLines
* webkit_support: Initialize the logger with the same setting withtkent@chromium.org2010-07-222-0/+47
| | | | | | | | | | test_shell. BUG=none TEST=none Review URL: http://codereview.chromium.org/3014020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53303 0039d316-1c4b-4281-b951-d872f2087c98
* Enable stack dumps in DRT.tony@chromium.org2010-07-212-1/+8
| | | | | | | | This matches what's happening in test_shell. Review URL: http://codereview.chromium.org/3049003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53225 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move net/socket/ssl_test_util to net/test/test_serverphajdan.jr@chromium.org2010-07-211-1/+1
| | | | | | | | | | | This is a first step to make test server easier to use and more reliable. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3040011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53137 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper v2 Font API browser implementation.jam@chromium.org2010-07-091-0/+12
| | | | | | Review URL: http://codereview.chromium.org/2956002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52009 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared between runs.mlloyd@chromium.org2010-07-021-0/+4
| | | | | | | | | BUG=None. TEST=Unit tests pass. Review URL: http://codereview.chromium.org/2819037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51541 0039d316-1c4b-4281-b951-d872f2087c98
* * Implement WebPluginPageDelete::GetCookieJar()tkent@google.com2010-07-014-4/+10
| | | | | | | | | | | | | | | * Do not use WebURLLoaderMock for DRT Unfortunately, r50382 (adding WebURLLoader mock) broke some plugin tests. - WebPluginImpl::InitiateHTTPRequest() stores a mocked WebURLLoader to clients_. - WebURLLoaderMock delegates some operations to its internal WebURLLoader. - WebPluginImpl::GetClientInfoFromLoader(WebURLLoader*) compares the specified pointer (non-mocked) to stored loader pointers (mocked). TEST=Covered by LayoutTests BUG=none Review URL: http://codereview.chromium.org/2834031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51345 0039d316-1c4b-4281-b951-d872f2087c98
* Modify NPAPI::PluginList::GetPluginInfo() to return true also for disabled ↵bauerb@chromium.org2010-06-301-1/+1
| | | | | | | | | | | | | plugins. GetPluginInfo() now returns true if the plugin is found, whether it's enabled or not. To find out whether the plugin is enabled, check the enabled flag in the WebPluginInfo struct output parameter. This enables getting information about disabled plugins. TEST=none BUG=none Review URL: http://codereview.chromium.org/2858035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51254 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51042 - Show a warning message if the cache might not be cleared ↵sky@chromium.org2010-06-281-4/+0
| | | | | | | | | | | correctly between runs. Review URL: http://codereview.chromium.org/2834025 TBR=mlloyd@chromium.org Review URL: http://codereview.chromium.org/2856018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51046 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared correctly between runs.mlloyd@chromium.org2010-06-281-0/+4
| | | | | | Review URL: http://codereview.chromium.org/2834025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51042 0039d316-1c4b-4281-b951-d872f2087c98
* Move incorrectly placed #endif in webkit_support.ccrolandsteiner@chromium.org2010-06-251-3/+3
| | | | | | | | (DevTools functions should not be Windows-specific) Review URL: http://codereview.chromium.org/2817029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50808 0039d316-1c4b-4281-b951-d872f2087c98
* Add support functions for DRT DevTools to webkit_supportrolandsteiner@chromium.org2010-06-242-0/+40
| | | | | | | | | BUG=47268 TEST=none Review URL: http://codereview.chromium.org/2810025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50702 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-231-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a way to mock WebURLLoader in webkit_support.jcivelli@google.com2010-06-219-34/+440
| | | | | | | | | | | | | This was originally in a CL in Webkit (https://bugs.webkit.org/show_bug.cgi?id=39456) but seems to make more sense in webkit_support. BUG=None TEST=None (the above CL makes use of this). Review URL: http://codereview.chromium.org/2749020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50382 0039d316-1c4b-4281-b951-d872f2087c98
* Fix detection of WebKit-only checkout or Chromium checkouttkent@google.com2010-06-171-4/+4
| | | | | | | | | | | | <DIR_SOURCE_ROOT>/third_party/WebKit exists in a case of WebKit-only checkout because we copy WebKit API headers to there. So check <DIR_SOURCE_ROOT>/chrome instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/2869008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50080 0039d316-1c4b-4281-b951-d872f2087c98
* Add webkit_support::SetCurrentDirectoryForFileURL(const WebURL&).tkent@google.com2010-06-162-0/+9
| | | | | | | | | | | | It is used to set the current working directory for every layout tests. Some tests refer to local files with relative paths. See http://src.chromium.org/viewvc/chrome?view=rev&revision=25257 BUG=none TEST=none Review URL: http://codereview.chromium.org/2822008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49886 0039d316-1c4b-4281-b951-d872f2087c98
* Create new function for the common part of GetWebKitRootDir() andtkent@google.com2010-06-151-15/+15
| | | | | | | | | | RewriteLayoutTestsURL(). BUG=none TEST=none. Just a refactoring. Review URL: http://codereview.chromium.org/2829001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49774 0039d316-1c4b-4281-b951-d872f2087c98
* Move npapi_layout_test_plugin target to webkit_support to use it fromtkent@google.com2010-06-103-4/+29
| | | | | | | | | | | | | | | | | | | | WebKit DumpRenderTree. The following code change affects only WebKit DumpRenderTree. * webkit_support.cc - WebPluginImplWithPageDelegate passes a plugin path and MIME type to WebPluginImpl. - CreateWebPlugin checks a MIME type. This is the same logic as test_shell. * test_webplugin_page_delegate.h Creates and returns a WebPluginDelegateImpl instance. BUG=none TEST=none Review URL: http://codereview.chromium.org/2729004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49372 0039d316-1c4b-4281-b951-d872f2087c98
* Add implementation for WebDevToolsAgentClient::debuggerScriptSource.yurys@chromium.org2010-06-071-0/+1
| | | | | | | | | 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
* Actually clear the disk cache, and keep it enabled, between benchmark runs.mlloyd@chromium.org2010-06-051-0/+3
| | | | | | | | | | | | | 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
* Add support for WebThemeEngine to webkit_supportrolandsteiner@chromium.org2010-06-042-0/+33
| | | | | | | | | BUG=45708 TEST=none Review URL: http://codereview.chromium.org/2571001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48907 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48903 - Add support for WebThemeEngine to webkit_supportrolandsteiner@chromium.org2010-06-042-16/+0
| | | | | | | | | | | | BUG=45708 TEST=none Review URL: http://codereview.chromium.org/2571001 TBR=rolandsteiner@chromium.org Review URL: http://codereview.chromium.org/2660001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48904 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for WebThemeEngine to webkit_supportrolandsteiner@chromium.org2010-06-042-0/+16
| | | | | | | | | BUG=45708 TEST=none Review URL: http://codereview.chromium.org/2571001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48903 0039d316-1c4b-4281-b951-d872f2087c98
* Make HostResolver NonThreadSafe and not thread safe refcounted.willchan@chromium.org2010-06-031-2/+1
| | | | | | | | | | 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
* Add resources to Linux DRT so things like the broken imagetony@chromium.org2010-06-034-24/+74
| | | | | | | | icon appear. Review URL: http://codereview.chromium.org/2548001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48813 0039d316-1c4b-4281-b951-d872f2087c98
* Make webkit_glue not depend on default_plugin.thakis@chromium.org2010-06-022-30/+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
* Add ppapi plugins to about:pluginsdarin@chromium.org2010-05-282-4/+5
| | | | | | | | | | | | 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
* Remove references to feed preview, which was removed years ago.tony@chromium.org2010-05-261-6/+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
* Implement resource query of webkit_support for Windows.tkent@chromium.org2010-05-253-7/+120
| | | | | | | | | | | | The code is almost identical to test_shell_win.cc. But missingImage.gif and textAreaResizeCorner.png are put to PRODUCT_DIR/DumpRenderTree_resources/. BUG=none TEST=none Review URL: http://codereview.chromium.org/2175003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48126 0039d316-1c4b-4281-b951-d872f2087c98
* Making webkit_support usable in WebKit unit-tests.jcivelli@google.com2010-05-214-11/+68
| | | | | | | | | | Adding a way to generate custom WebURLLoader (so unit-tests can mock resource loading). BUG=None TEST=DumpRenderTree should work. Review URL: http://codereview.chromium.org/2094017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47954 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo in webkit_support.tony@chromium.org2010-05-195-5/+5
| | | | | | Review URL: http://codereview.chromium.org/2134007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47634 0039d316-1c4b-4281-b951-d872f2087c98
* Copy textAreaResizeCorner.png to SHARED_INTERMEDIATE_DIR.tkent@google.com2010-05-141-0/+6
| | | | | | | | | | This file will be used by DumpRenderTree. BUG=none TEST=none Review URL: http://codereview.chromium.org/2091005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47248 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit_support_in_chromium.gyp and use webkit_support.gyptony@chromium.org2010-05-142-27/+0
| | | | | | | | | | 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
* Initialize the singleton CommandLine instance with fixed values.tkent@google.com2010-05-131-0/+13
| | | | | | | | | | This fixes a DCHECK failure in webkit/glue/webmediaplayer_impl.cc. BUG=none TEST=none Review URL: http://codereview.chromium.org/2038013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47120 0039d316-1c4b-4281-b951-d872f2087c98
* Make it possible to build DRT in a chromium checkout.tony@chromium.org2010-05-122-1/+26
| | | | | | | | | | | | | | | | | The problem was the circular gyp dependency between webkit.gyp and WebKit.gyp: webkit.gyp:pull_in_webkit_unit_tests -> WebKit.gyp -> webkit.gyp:webkit_support. The fix is to move webkit_support into its own gyp file (like we do in an webkit only checkout). We can't use the same gyp file for in- chromium and in-webkit because we need to change the include path for features.gypi. In gyp, variable expansion happens after includes (otherwise you'd have to expand variables twice and they could change values), so we can't use a single gyp file for this. Review URL: http://codereview.chromium.org/1995013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47012 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dirfd parameter from all Chromium code. The POSIX VFSdumi@chromium.org2010-05-122-5/+3
| | | | | | | | | | | doesn't need it. BUG=43489 TEST=none Review URL: http://codereview.chromium.org/2055009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47006 0039d316-1c4b-4281-b951-d872f2087c98
* Apply recent changes of test_shell to webkit_support.tkent@google.com2010-05-116-10/+104
| | | | | | | | | | | | | | - Enable some runtime WebKit flags - Use DumpRenderTreePasteboard - Use webkit_glue::WebFileSystemImpl - Use TestShellWebMimeRegistryImpl - Add webkit_support::CreateApplicationCacheHost() BUG=none TEST=none Review URL: http://codereview.chromium.org/2038010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46899 0039d316-1c4b-4281-b951-d872f2087c98
* Add resource loading and resource retrieval code for Mac.tkent@google.com2010-05-073-0/+113
| | | | | | | | | | | | | | | | | | | This changes will fix dozens of LayoutTest failures. The code in platform_support_mac.mm is almost identical with test_shell_mac.mm. test_webview_delegate.cc: Revert a part of r40610. Depending from test_shell to webkit_support.cc makes a symbol conflict because webkit_support.cc depends on platform_support_mac.mm and platform_support_mac.mm has webkit_glue::GetLocalizedString() and webkit_glue::GetDataResource(), which are defined in test_shell too. BUG=none TEST=none Review URL: http://codereview.chromium.org/2002007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46661 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SetCacheMode and CloseCurrentConnections in webkit_support.jochen@chromium.org2010-05-061-0/+6
| | | | | | | | | | | This change makes webkit_glue an independent dynamic library again. BUG=none TEST=compile DumpRenderTree with shared libraries. Review URL: http://codereview.chromium.org/2031001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46554 0039d316-1c4b-4281-b951-d872f2087c98
* Update code to point to new location of WebThemeEngine.hjabdelmalek@google.com2010-04-281-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1763014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45767 0039d316-1c4b-4281-b951-d872f2087c98
* Build DRT in chromium.tony@chromium.org2010-04-271-0/+10
| | | | | | | | Some small fixes for linking on windows. Review URL: http://codereview.chromium.org/1711014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45680 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup, remove dead code.michaeln@chromium.org2010-04-262-8/+0
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1732010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45622 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DumpRenderTree on Linux. It was crashing on startup becausetony@chromium.org2010-04-231-2/+3
| | | | | | | | | AtExitManager needs to be initialized before icu::Initialize() is called. Review URL: http://codereview.chromium.org/1719012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45423 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare to move an InitWebCoreSystemInterface() call intkent@google.com2010-04-212-0/+9
| | | | | | | | | | | third_party/WebKit/WebKitTools/DumpRenderTree/chromium/DumpRenderTree.cpp to webkit_support. BUG=none TEST=none Review URL: http://codereview.chromium.org/1688003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45167 0039d316-1c4b-4281-b951-d872f2087c98
* Fix arm compile after turning on gcc warnings.tony@chromium.org2010-04-211-1/+1
| | | | | | | | | | Actually fix a comment that was pointed out during review. TBR=rolandsteiner Review URL: http://codereview.chromium.org/1734003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45165 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DRT build on Windows.tony@chromium.org2010-04-214-7/+51
| | | | | | | | The main fix is to stub out default_plugin when building upstream. Review URL: http://codereview.chromium.org/1658012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45160 0039d316-1c4b-4281-b951-d872f2087c98
* Enable support for notifications layout tests in test shell.johnnyg@chromium.org2010-04-141-0/+1
| | | | | | | | | | | | | BUG=none TEST=notifications layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44372 Reverted. Review URL: http://codereview.chromium.org/1549039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44515 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the DumpRenderTree compile.tony@chromium.org2010-04-141-0/+4
| | | | | | | | | I added this method to webkit_glue in r44435, but forgot to add it to this file. Review URL: http://codereview.chromium.org/1566042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44453 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44372 - Enable support for notifications layout tests in test shell.nsylvain@chromium.org2010-04-131-1/+0
| | | | | | | | | | | | BUG=none TEST=notifications layout tests Review URL: http://codereview.chromium.org/1549039 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/1542030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44377 0039d316-1c4b-4281-b951-d872f2087c98
* Enable support for notifications layout tests in test shell.johnnyg@chromium.org2010-04-131-0/+1
| | | | | | | | | BUG=none TEST=notifications layout tests Review URL: http://codereview.chromium.org/1549039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44372 0039d316-1c4b-4281-b951-d872f2087c98
* Add more wrapper functions to webkit_support to avoid dependency totkent@google.com2010-04-058-3/+297
| | | | | | | | | | | | | debug_util.h, message_loop.h, file_path.h, file_util.h, path_service.h. platform_support contains hook functions called before/after initialization/shutdown. TEST=none BUG=none Review URL: http://codereview.chromium.org/1331001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43604 0039d316-1c4b-4281-b951-d872f2087c98