summaryrefslogtreecommitdiffstats
path: root/webkit/support
Commit message (Collapse)AuthorAgeFilesLines
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-141-3/+4
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* SimpleFileWriter for test_shell and DRT.michaeln@chromium.org2010-10-141-0/+2
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/3683004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62486 0039d316-1c4b-4281-b951-d872f2087c98
* This changes GetPluginInfo so that we can request a list of plugins that ↵gspencer@chromium.org2010-10-121-3/+0
| | | | | | | | | | | | | match the criterion (mime type/url) instead of just the first one that matches. This is in preparation for implementing a way for us to switch which flash plugin we select based on a whitelist of domains. BUG=http://crosbug.com/7403 TEST=ran chrome unit_tests, ran chromeos version of chrome, passed trybots. Review URL: http://codereview.chromium.org/3530017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62261 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed include in test_webkit_clientdavemoore@chromium.org2010-10-101-3/+4
| | | | | | | | | | | | | retrying "Revert 62068 - Move implementation of linux scrollbars from webkit using new" See: http://codereview.chromium.org/3618014 TBR:jam@chromium.org BUG=chromium-os:6857 TEST=Verify that both linux and chromeos scrollbars look right. Review URL: http://codereview.chromium.org/3697001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62093 0039d316-1c4b-4281-b951-d872f2087c98
* Added methods to webkit_support.* to support nested loops in chromium DRT.prasadt@chromium.org2010-10-062-0/+10
| | | | | | | | | BUG=58095 TEST=Build chromium Review URL: http://codereview.chromium.org/3616008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61728 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux shlib link problemhclam@chromium.org2010-10-041-0/+4
| | | | | | | | | | | TBR=scarybeasts BUG=None TEST=None Review URL: http://codereview.chromium.org/3620003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61424 0039d316-1c4b-4281-b951-d872f2087c98
* Replace last remaining usage of ↵mihaip@chromium.org2010-10-011-1/+1
| | | | | | | | | | | | | WebURLLoaderClient::didFinishLoading(WebURLLoader*) with WebURLLoaderClient::didFinishLoading(WebURLLoader*, double), so that the former can be removed. BUG=None TEST=compiles Review URL: http://codereview.chromium.org/3573006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61206 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: Append base:: in the StringPrintf calls.tfarina@chromium.org2010-09-291-1/+2
| | | | | | | | | | | (Note: This is a TODO in string_util.h) BUG=None TEST=None Review URL: http://codereview.chromium.org/3404027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60885 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Implement createIDBKeysFromSerializedValuesAndKeyPath() for ↵tkent@chromium.org2010-09-242-0/+19
| | | | | | | | | | DumpRenderTree. BUG=none TEST=none; This is a part of test code. Review URL: http://codereview.chromium.org/3479005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60394 0039d316-1c4b-4281-b951-d872f2087c98
* Force DumpRenderTree to use the Mesa backend for OpenGL as waskbr@chromium.org2010-09-171-0/+5
| | | | | | | | | | | | previously done for test_shell. Verified that Mesa will be used for WebGL tests after DRT dependencies are updated. BUG=none TEST=none (ran a couple of WebGL tests in DRT via new-run-webkit-tests) Review URL: http://codereview.chromium.org/3439007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59866 0039d316-1c4b-4281-b951-d872f2087c98
* Test shell impl for WebKit's File System API:BUG=52799TEST=nonekkanetkar@chromium.org2010-09-164-0/+13
| | | | | | | | | | | Also refactored a bunch of code from chrome/browser to webkit/fileapi for reuse. Added class hierarchy. Test shell and browser operations now inherit from common webkit/fileapi/file_system_operation. Review URL: http://codereview.chromium.org/3186009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59616 0039d316-1c4b-4281-b951-d872f2087c98
* Add LocalFileToDataURL to webkit_support.tony@chromium.org2010-09-142-3/+24
| | | | | | | | | | | | I'm going to use this to get http/tests/security/local-user-CSS-from-remote.html passing. Instead of trying to load a file:/// URL for the user style sheet, use a data: URL. This matches what happens in Chromium. Review URL: http://codereview.chromium.org/3425004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59459 0039d316-1c4b-4281-b951-d872f2087c98
* Move blob URL scheme registration from test_shell.cc tomihaip@chromium.org2010-09-141-0/+1
| | | | | | | | | | | simple_resource_loader_bridge.cc, so that it happens for both test_shell and the Chromium DRT (allowing blob layout tests to pass with the latter too). BUG=55587 TEST=blob-related layout tests (with both test_shell and DRT) Review URL: http://codereview.chromium.org/3397002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59406 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a warning.tkent@chromium.org2010-09-131-1/+1
| | | | | | | | | | > webkit_support_gfx.h:41:8: warning: extra tokens at end of #endif directive BUG=none TEST=none Review URL: http://codereview.chromium.org/3303026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59307 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support:tkent@chromium.org2010-09-104-19/+45
| | | | | | | | | | | | | | | | - Introduce webkit_support_gfx.h, which has wrappers of gfx::PNGCodec It is used by ImageDiff.cpp and TestShell.cpp - Include base/string16.h in webkit_support.h This makes moving base/string16.h in Chromium tree easier. - Remove unused functions. BUG=none TEST=none Review URL: http://codereview.chromium.org/3336013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59033 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Implement WebKitClient::blobRegistry().tkent@chromium.org2010-09-062-0/+12
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3351007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58618 0039d316-1c4b-4281-b951-d872f2087c98
* Re-lands 58186:bryeung@chromium.org2010-09-032-14/+15
| | | | | | | | | | | | | | | | | | | | Original message: """ Move the keyboard files from base/ to app/. Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 """ TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58438 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from ↵akalin@chromium.org2010-09-022-15/+14
| | | | | | | | | | | | | | | | | | | | | base/ to app/. Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 TBR=bryeung@chromium.org Review URL: http://codereview.chromium.org/3337006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.bryeung@chromium.org2010-09-022-14/+15
| | | | | | | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58388 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Add PostDelayedTask().tkent@chromium.org2010-09-022-0/+6
| | | | | | | | | | This is needed to remove base/task.h base/timer.h dependency from the DRT code. BUG=none TEST=none Review URL: http://codereview.chromium.org/3298003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58277 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58186 - Move the keyboard files from base/ to app/.phajdan.jr@chromium.org2010-09-012-15/+14
| | | | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58215 0039d316-1c4b-4281-b951-d872f2087c98
* Move the keyboard files from base/ to app/.bryeung@chromium.org2010-09-012-14/+15
| | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58186 0039d316-1c4b-4281-b951-d872f2087c98
* Support handling blob URL and resolve blob references in upload data.jianli@chromium.org2010-08-311-0/+2
| | | | | | | | | BUG=none TEST=unittest Review URL: http://codereview.chromium.org/3282003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57938 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Introduce indirect definitions for base::VKEY_* intkent@chromium.org2010-08-291-0/+18
| | | | | | | | | | order to remove keyboard_codes.h dependency from DumpRenderTree. BUG=none TEST=none Review URL: http://codereview.chromium.org/3226007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57823 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 7)thestig@chromium.org2010-08-273-1/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3176026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57737 0039d316-1c4b-4281-b951-d872f2087c98
* Support sending BlobData to browser process. Also support sending UploadDatajianli@chromium.org2010-08-271-0/+1
| | | | | | | | | | | with the blob info to browser process. BUG=none TEST=none Review URL: http://codereview.chromium.org/3108042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57707 0039d316-1c4b-4281-b951-d872f2087c98
* Reland interval change.mbelshe@chromium.org2010-08-271-3/+0
| | | | | | | | | | | | | Move the chromium.Interval to chrome.Interval as part of the benchmarking extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3240001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57638 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Add CreateDevToolsMessageLoop(), which is a helpertkent@chromium.org2010-08-262-0/+28
| | | | | | | | | | | | | function for WebDevToolsAgentClient::createClientMessageLoop(). The implementation is identical with r50233. http://src.chromium.org/viewvc/chrome/trunk/src/webkit/tools/test_shell/test_shell_devtools_agent.cc?view=diff&r1=50232&r2=50233 BUG=none TEST=none Review URL: http://codereview.chromium.org/3162044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57605 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57386: nsylvain@chromium.org2010-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | The interval test started failing after we rolled back to a previous version of Webkit. This code does not seem to support it. Original description: Move the chromium.Interval to chrome.Interval as part of the benchmarking extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3126029 TBR=mbelshe@chromium.org Review URL: http://codereview.chromium.org/3186033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57459 0039d316-1c4b-4281-b951-d872f2087c98
* Move the chromium.Interval to chrome.Interval as part of the benchmarkingmbelshe@chromium.org2010-08-251-3/+0
| | | | | | | | | | | | extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3126029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57386 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Implement IndexedDB initialization.tkent@chromium.org2010-08-242-0/+6
| | | | | | | | BUG=none TEST=none; This is a part of test code. Review URL: http://codereview.chromium.org/3176031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57145 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove injected script from resources.pfeldman@chromium.org2010-08-233-13/+0
| | | | | | Review URL: http://codereview.chromium.org/3180017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57037 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling DRT related initializations in unit-test mode.jcivelli@chromium.org2010-08-215-12/+17
| | | | | | | | | | | WebKit unit-tests using webkit_support fail with these initializations as the test executable doesn't have any packages. BUG=None TEST=None Review URL: http://codereview.chromium.org/3148024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56949 0039d316-1c4b-4281-b951-d872f2087c98
* Enable/Disable Spdy in benchmarking.lzheng@chromium.org2010-08-191-0/+3
| | | | | | | | Test=none Bug=52624 Review URL: http://codereview.chromium.org/3169022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56704 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unnecessary STL #includes from src/webkit.viettrungluu@chromium.org2010-08-191-1/+0
| | | | | | | | | BUG=none TEST=builds Review URL: http://codereview.chromium.org/3122029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56655 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebFileSystem to WebFileUtilities for corresponding WebKit API changes.kinuko@chromium.org2010-08-182-6/+6
| | | | | | | | | | | | This change depends on an upstream change (not yet rolled): http://trac.webkit.org/changeset/65482 BUG=52355 TESTS=existing tests (like ones under fast/files) should pass Review URL: http://codereview.chromium.org/3153015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56564 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove one more reference to InjectDispatch.jsyurys@chromium.org2010-08-111-1/+0
| | | | | | | | TBR=loislo Review URL: http://codereview.chromium.org/3124008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55695 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove usages of InjectDispatch.jsyurys@chromium.org2010-08-111-3/+1
| | | | | | Review URL: http://codereview.chromium.org/3125004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55687 0039d316-1c4b-4281-b951-d872f2087c98
* Add #include utf_string_conversions.h to all files that use ASCIIToWide andbrettw@chromium.org2010-08-031-0/+1
| | | | | | | | | | | | | | | ASCIIToUTF16. I removed string_util includes from a few places where it obviously wasn't needed. In a separate pass, I'm going to remove ASCIITo* from string_util, then I'm going to do an even later pass to find the unnecessary string_util.h includes and remove them. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3058027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54746 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Prepareation to remove dependencies to base/time.h,tkent@chromium.org2010-08-032-0/+63
| | | | | | | | | | | | net/base/escape.h, and net/base/net_errors.h from DRT. Make wrapper functions of features used by DRT. BUG=none TEST=none Review URL: http://codereview.chromium.org/2873088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54646 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some wstrings used in ui_test.cc.evan@chromium.org2010-07-301-1/+1
| | | | | | | | | This removes all switch-related wstring APIs from ui_test.cc, and fixes all the callers. Review URL: http://codereview.chromium.org/3066026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54392 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Move the logger initialization code so that it istkent@chromium.org2010-07-271-44/+44
| | | | | | | | | | | | | called after AtExitManager initialization, and call InitLogging() only if !unit_test_mode. InitLogging() needs AtExitManager because it uses PathService. TEST=This is a part of test code. BUG=none Review URL: http://codereview.chromium.org/3030018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53743 0039d316-1c4b-4281-b951-d872f2087c98
* 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