summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
Commit message (Collapse)AuthorAgeFilesLines
* Merge 33107 - Plumb through sitespecific quirks setting with a command line ↵dglazkov@chromium.org2009-11-251-0/+1
| | | | | | | | | | | | | | | | | switch. Quirks are enabled by default. R=darin BUG=19586 TEST=wikileaks.org should now have its sidebar in the proper place. Review URL: http://codereview.chromium.org/442010 TBR=dglazkov@chromium.org Review URL: http://codereview.chromium.org/442015 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@33114 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 32262 - Fixes a crash source in test_shell when running DB tests.dumi@chromium.org2009-11-232-7/+46
| | | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/404013 TBR=dumi@chromium.org Review URL: http://codereview.chromium.org/431018 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32872 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 32260 - Use an explicit boolean has_new_first_party_for_cookies insteadwtc@chromium.org2009-11-201-3/+6
| | | | | | | | | | | | | | | of an empty, invalid URL to indicate whether the first party for cookies URL needs changing when following a redirect. R=eroman BUG=25133 TEST=none Review URL: http://codereview.chromium.org/405011 TBR=wtc@chromium.org Review URL: http://codereview.chromium.org/418024 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32661 0039d316-1c4b-4281-b951-d872f2087c98
* Enables most DB layout tests in test_shell.dumi@chromium.org2009-11-143-64/+120
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/384118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31997 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate the "first party for cookies" from WebKit to the network stackwtc@chromium.org2009-11-131-3/+8
| | | | | | | | | | | | | | when we follow a redirect, because WebKit's MainResourceLoader::willSendRequest method may change the "first party for cookies" URL of the resource request. R=abarth BUG=25133 TEST=In Options menu, change cookie policy to "Accept cookies only from sites I visit" and then follow the instructions in issue 25133 comment 20. Review URL: http://codereview.chromium.org/385024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31951 0039d316-1c4b-4281-b951-d872f2087c98
* Building FFmpeg in tree for armhclam@chromium.org2009-11-131-1/+1
| | | | | | | | | Changes yasm to be built for host instead of target. Also don't need to depend on yasm if build ing for arm. Review URL: http://codereview.chromium.org/387023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31929 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the test_shell output the page title too in didReceiveTitle.brettw@chromium.org2009-11-131-2/+2
| | | | | | | | | BUG=22014 TEST=LayoutTests/http/tests/loading/redirectwith-no-location-crash.html Checked in for Kinuko Yasuda Original review: http://codereview.chromium.org/384082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31909 0039d316-1c4b-4281-b951-d872f2087c98
* Partially revert WebKit.gyp switch-over, because it broke build bot setupdglazkov@google.com2009-11-131-7/+7
| | | | | | | | | | | | | | | | | in subtle and devious ways. Renaming webkit.gyp -> webkit_glue.gyp changed webkit.sln to webkit_glue.sln, which occured unbeknownst to the builders who continued to build webkit.sln for most of the day. This wasn't an issue until we did a WebKit roll, where the trickery was discovered and hell broke loose. TBR=yaar TEST=green bots BUG=none Review URL: http://codereview.chromium.org/385084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31887 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the file naming scheme. Creating a directory for each origin,dumi@chromium.org2009-11-132-4/+11
| | | | | | | | | | | | | | and naming files according to the row ID of the respective DB in the tracker database. Also, fixing a bug: caching the renderer process handle in DatabaseDispatcherHost after it was set in ResourceMessageFilter. TEST=none BUG=none Review URL: http://codereview.chromium.org/385051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31874 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix leaking NativeImageSkia in webkit_glue::DecodeImage.mattm@chromium.org2009-11-121-1/+2
| | | | | | | | | | CID=5406 BUG=none TEST=tools/valgrind/chrome_tests.sh -t test_shell --gtest_filter=WebkitGlueTest.\* Review URL: http://codereview.chromium.org/391026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31833 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 31765 - Experiment: enable TCMalloc on Linux by default.willchan@chromium.org2009-11-121-8/+0
| | | | | | | | | | | | Will revert after looking at the Linux memory bot and perf cycler. TBR=willchan Review URL: http://codereview.chromium.org/386016 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/384074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31769 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment: enable TCMalloc on Linux by default.willchan@chromium.org2009-11-121-0/+8
| | | | | | | | | Will revert after looking at the Linux memory bot and perf cycler. TBR=willchan Review URL: http://codereview.chromium.org/386016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31765 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-1238-158/+158
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 50756:50820.japhet@chromium.org2009-11-112-9/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/391019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31715 0039d316-1c4b-4281-b951-d872f2087c98
* linux: TCMalloc-based C++ heap profiler.willchan@chromium.org2009-11-113-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires compiling with linux_use_tcmalloc=1. When enabled by --heap-profiler flag in test_shell exposes chromium.HeapProfiler object to JavaScript. The object has three methods: o start() -- starts profiling o dump() -- dumps data accumulated since start() to file named like chromium-YYYY-MM-DD-TS.heap o stop() -- stops profiling. Output can be analyzed by third_party/tcmalloc/tcmalloc/src/pprof. For example: $ third_party/tcmalloc/tcmalloc/src/pprof \ sconsbuild/Release/test_shell \ chromium-2009-11-06-1234567890.heap See http://code.google.com/p/google-perftools/ for details on how to use pprof. Patch contributed by vitalyr@chromium.org. Original review at http://codereview.chromium.org/377010/show. TBR=vitalyr Review URL: http://codereview.chromium.org/390015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31688 0039d316-1c4b-4281-b951-d872f2087c98
* Add method to control whether local files get universal access during testing.cevans@chromium.org2009-11-112-0/+12
| | | | | | | | | | | This is required to test any form of local filesystem access restrictions. BUG=20450 TEST=Needed for LayoutTests/fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html Review URL: http://codereview.chromium.org/384015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31643 0039d316-1c4b-4281-b951-d872f2087c98
* 'RuntimeEnable' the appcache for test_shell.michaeln@google.com2009-11-101-0/+1
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/377027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31601 0039d316-1c4b-4281-b951-d872f2087c98
* Commit issue 243032: First implementation of PlainTextController.rolandsteiner@chromium.org2009-11-095-7/+116
| | | | | | | | | | | BUG=23285 TEST=LayoutTests/editing/text-iterator/basic-iteration.html Review URL=http://codereview.chromium.org/243032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31422 0039d316-1c4b-4281-b951-d872f2087c98
* AppCache changes to the networking model. Added new classes ↵michaeln@google.com2009-11-091-0/+2
| | | | | | | | | | AppCacheRequestHandler and AppCacheURLRequestJob. TEST=appcache_url_request_job_unittest.cc, appcache_request_handler_unittest.cc BUG=none Review URL: http://codereview.chromium.org/338034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31411 0039d316-1c4b-4281-b951-d872f2087c98
* Move PasswordAutocompleteListener into the WebKit API (AGAIN)yaar@chromium.org2009-11-072-2/+2
| | | | | | | | | Copy of: http://codereview.chromium.org/360013/show Head to create as new patch due to messy merge. Review URL: http://codereview.chromium.org/376017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31350 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build.thakis@chromium.org2009-11-061-0/+2
| | | | | | | | TBR=jcampan Review URL: http://codereview.chromium.org/372032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31300 0039d316-1c4b-4281-b951-d872f2087c98
* Third patch in making destructors of refcounted objects private.jam@chromium.org2009-11-055-10/+32
| | | | | | | BUG=26749 Review URL: http://codereview.chromium.org/363023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31169 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up broken test_shell due to CL http://codereview.chromium.org/345051.dmaclach@chromium.org2009-11-051-2/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/375001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31153 0039d316-1c4b-4281-b951-d872f2087c98
* Initial WebSharedWorkerImpl implementationatwilson@chromium.org2009-11-051-0/+1
| | | | | | | | | | | | | | | Refactored WebWorkerImpl into WebWorkerBase to enable code sharing with WebSharedWorkerImpl. Changed how SharedWorkers are instantiated (now routed through WebFrameClient just like DedicatedWorkers, because WebFrameClient is the only one who knows how to send messages to RenderViewHost. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/362020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31151 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to the new way of enabling/disabling session/local storage. jorlow@chromium.org2009-11-051-1/+0
| | | | | | | | BUG=none TEST=|'localStorage' in window| should only be true iff --enable-local-storage is specified Review URL: http://codereview.chromium.org/335034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31082 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the URL portion of storage events. This is mostly just plumbing + a ↵jorlow@chromium.org2009-11-051-3/+4
| | | | | | | | | | | | | hack for making them work in test shell and single process mode. This replaces http://codereview.chromium.org/335034/show TEST=none BUG=24581 Review URL: http://codereview.chromium.org/363014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31081 0039d316-1c4b-4281-b951-d872f2087c98
* FFmpeg in-tree build for mac.ajwong@chromium.org2009-11-051-3/+1
| | | | | | | | | BUG=26509 TEST=none Review URL: http://codereview.chromium.org/340072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31050 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WebAccessibilityControllerImpl.dglazkov@chromium.org2009-11-041-3/+3
| | | | | | | | | | | | Removes accessibility-related WebCore dependencies from glue. R=darin TEST=none BUG=24616 Review URL: http://codereview.chromium.org/348063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30986 0039d316-1c4b-4281-b951-d872f2087c98
* Add default implementations for WebViewClient and WebWidgetClientdarin@chromium.org2009-11-041-55/+0
| | | | | | | | | | | | | | | methods. Once these interfaces live upstream, we'll want to allow the addition of new methods w/o requiring the consumer (chrome) to implement the new methods. That'll make webkit merging easier, and it'll also make it possible to use a newer webkit with an older chrome. Obviously, this only works if the methods are not crucial to webkit working properly, but that is generally the case for *Client methods. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/346042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30943 0039d316-1c4b-4281-b951-d872f2087c98
* linux: add whitespace in an error messageevan@chromium.org2009-11-041-1/+1
| | | | | | This has been bugging me. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30905 0039d316-1c4b-4281-b951-d872f2087c98
* test_shell_common alwayss depend on npapi_layout_test_pluginevan@chromium.org2009-11-031-0/+1
| | | | | | | Previously it was conditional on !x64, but I fixed that earlier today and forgot to readd the dependency. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30874 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix and build test plugins on 64-bit buildsevan@chromium.org2009-11-031-78/+80
| | | | | | | | | | | | | | | We set -fPIC just on the layout test plugins and only in 64-bit mode. This fixes 44 plugin layout tests on 64-bit. (Retry, now just npapi_layout_test_plugin and not npapi_test_plugin.) BUG=18337,24271 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30851 Review URL: http://codereview.chromium.org/353022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30864 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: fix and build test plugins on 64-bit builds"evan@chromium.org2009-11-031-157/+165
| | | | | | This reverts commit r30851. Build breakage. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30854 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix and build test plugins on 64-bit buildsevan@chromium.org2009-11-031-165/+157
| | | | | | | | | | | We set -fPIC just on the layout test plugins and only in 64-bit mode. This fixes 44 plugin layout tests on 64-bit. BUG=18337,24271 Review URL: http://codereview.chromium.org/353022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30851 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate WebViewImpl's dependency on WebDevToolsAgentImpl.darin@chromium.org2009-11-031-3/+0
| | | | | | | | | | | | | | | | | | This CL decouples the implementation of WebDevToolsAgent from the implementation of WebViewImpl. While this allows me to postpone the uplift of glue/devtools into webkit/api/src, I think it also has the advantage of simplifying dependencies. WebDevToolsAgentPrivate is introduced for the method calls made by the FrameLoaderClientImpl to the WebDevToolsAgentImpl. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/342092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30833 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to extract the code from V8Proxy that special-casesdarin@chromium.org2009-11-032-10/+2
| | | | | | | | | | | | | | | | | | | | | when scripts are allowed despite user preferences disabling them. Adds more accessors and comments to WebSecurityOrigin. Removes no longer necessary webkit_glue functions. Removes no longer necessary TemporaryGlue.h file. R=abarth BUG=none TEST=browser features like the new tab page and history view should still work when passing --disable-javascript to chrome. similarly, file and ftp directory listings should remain functional when that command line flag is specified. Review URL: http://codereview.chromium.org/351013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30797 0039d316-1c4b-4281-b951-d872f2087c98
* Extract webkit api target from webkit.gypyaar@chromium.org2009-11-021-2/+2
| | | | | | | | (in preparation for upstreaming the api) Review URL: http://codereview.chromium.org/340049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30764 0039d316-1c4b-4281-b951-d872f2087c98
* Adding Chromium's database tracker.dumi@chromium.org2009-11-021-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/334039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30747 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebCore dependency from accessibility_controller.dglazkov@chromium.org2009-11-022-10/+5
| | | | | | | | | | Also, introduce (stubbed out) WebAccessibilityController. R=darin TEST=none BUG=24616 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30716 0039d316-1c4b-4281-b951-d872f2087c98
* Show status bubble for links that have keyboard focus. estade@chromium.org2009-10-301-0/+1
| | | | | | | | | | | | | I tried to just piggy-back off of existing chrome client calls (particularly focus()), but that didn't handle blurs. webkit side is here: http://codereview.chromium.org/328034/show BUG=453 original review: http://codereview.chromium.org/337032/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30629 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that NPN_PluginThreadAsyncCall callbacks are not invoked after ↵apatrick@google.com2009-10-301-0/+2
| | | | | | | | | | | NPP_Destroy. TEST=none BUG=none Review URL: http://codereview.chromium.org/338050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30628 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebCore dependencies from accessibility_ui_element.dglazkov@chromium.org2009-10-301-115/+95
| | | | | | | | | | R=darin BUG=24596 TEST=no regressions Review URL: http://codereview.chromium.org/343060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30617 0039d316-1c4b-4281-b951-d872f2087c98
* Initial pass of shared workers renderer-side codeatwilson@chromium.org2009-10-301-0/+4
| | | | | | | | | | | | | Added initial interface hooks betweek WebKit code and renderer-side worker code. The proper messages are generated to fire off a shared worker, but they are currently ignored by the browser process. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/340036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30599 0039d316-1c4b-4281-b951-d872f2087c98
* Move various runtime enabled features into a WebRuntimeFeatures class.darin@chromium.org2009-10-301-5/+5
| | | | | | | | | | | | There are separate functions to set/test each feature. R=jorlow BUG=25286 TEST=none Review URL: http://codereview.chromium.org/343001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30564 0039d316-1c4b-4281-b951-d872f2087c98
* Add layoutTestController.counterValueForElementByIdhamaji@chromium.org2009-10-302-0/+19
| | | | | | | | | | | | | | Now we can test CSS counters with dumpAsText(). The corresponding upstream bug: https://bugs.webkit.org/show_bug.cgi?id=30555 BUG=none TEST=none Review URL: http://codereview.chromium.org/338056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30554 0039d316-1c4b-4281-b951-d872f2087c98
* Make run_webkit_tests work on Windows 7. dpranke@google.com2009-10-291-11/+16
| | | | | | | | | | | | | | | | | We modify test_shell --check-sys-deps to allow Win 7, add a "chromium-win-7" port to platform_utils, a "WIN-7" port to test_expectations, and create an empty shell directory under webkit/data/layout_tests to make the regression scripts happy. The actual new baselines will follow in a separate CL. R=ojan@chromium.org TEST=none BUG=none Review URL: http://codereview.chromium.org/342033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30528 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore output to stdout that comes before we've started loading a test.ojan@chromium.org2009-10-291-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are tests that, for example, log errors to the console after calling notifyDone. In those cases, we'd get the following: TestDumpHere #EOF CONSOLE MESSAGE: ... NextTestDumpHere #EOF The console message would get lumped in with the next test. Now we get: #URL:LayoutTests/foo/bar.html TestDumpHere #EOF CONSOLE MESSAGE: ... #URL:LayoutTest/foo/baz.html NextTestDumpHere #EOF We only include the lines between URL and EOF in the test's actual output. All text between EOF and URL gets printed as a warning. Right now, that includes stacktraces from crashing tests. In a followon change, I'll make it so that we properly list crash stacktraces separately. See https://bugs.webkit.org/show_bug.cgi?id=30598 for one such test with this problem. Upstream doesn't see the flakiness we see here due to the following webkit bug: https://bugs.webkit.org/show_bug.cgi?id=30893. BUG=25355 Surprisingly, this passes on the try bots. So it just reduces flakiness. Review URL: http://codereview.chromium.org/315007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30489 0039d316-1c4b-4281-b951-d872f2087c98
* Fix hardcoded path directory for linux and mac builds.dpranke@google.com2009-10-292-4/+4
| | | | | | | | | | | | (landing on behalf of kinuko@google.com). This fixes bug 17509 and bug 10371. BUG=17509,10371 R=dpranke@chromium.org TEST=LayoutTests/fast/loader/local-CSS-from-local.html git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30442 0039d316-1c4b-4281-b951-d872f2087c98
* Move glue/EditorClientImpl.h/cpp to webkit/api/srcyaar@chromium.org2009-10-271-1/+2
| | | | | | Review URL: http://codereview.chromium.org/330021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30270 0039d316-1c4b-4281-b951-d872f2087c98
* Modify DataPacks so they can return RefCountedStaticMemory objects.erg@google.com2009-10-272-6/+6
| | | | | | | | | | (This is in preparation for a very large reworking of BrowserThemeProvider). BUG=http://crbug.com/21121 Review URL: http://codereview.chromium.org/338027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30241 0039d316-1c4b-4281-b951-d872f2087c98