summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_messages.h
Commit message (Collapse)AuthorAgeFilesLines
* [content shell] implement additional URL handling methods of the WebTestDelegatejochen@chromium.org2012-12-171-0/+5
| | | | | | | | | | | Those callbacks are not yet used, but are required for the TestRunner BUG=111316 R=marja@chromium.org Review URL: https://codereview.chromium.org/11572041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173435 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] use WebTestRunner::WebPreferences for layout testsjochen@chromium.org2012-12-171-4/+4
| | | | | | | | | | | | | Also, implement two further TestDelegate methods BUG=111316 TEST=xssAuditor tests still work R=marja@chromium.org Review URL: https://chromiumcodereview.appspot.com/11565036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173402 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] hook up testRunner.registerIsolatedFileSytemjochen@chromium.org2012-12-131-0/+4
| | | | | | | | | | BUG=111316 R=marja@chromium.org Review URL: https://chromiumcodereview.appspot.com/11564018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172970 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] hook up support for inspector testsjochen@chromium.org2012-12-111-0/+2
| | | | | | | | | | | | | | | | | There's still a number of problems: - DRT runs the inspector from a file:// URL while content_shell runs it via http. Therefore, CORS access restrictions apply (this makes e.g. http/tests/inspector/compiler-script-mapping.html fail) - some tests report slighly different results, e.g. inspector/timeline/timeline-network-resource.html The majority of the tests, however, passes. BUG=111316 TEST=inspector tests pass (most of them) R=marja@chromium.org,pfeldman@chromium.org Review URL: https://chromiumcodereview.appspot.com/11486008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172337 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 170451 - [content shell] add support for testRunner.canOpenWindows ↵jochen@chromium.org2012-12-101-0/+1
| | | | | | | | | | | | | | and disallow openi BUG=111316 R=marja@chromium.org Original Review URL: https://codereview.chromium.org/11411282 Review URL: https://chromiumcodereview.appspot.com/11488005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172075 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 170451 - [content shell] add support for testRunner.canOpenWindows ↵jochen@chromium.org2012-11-301-1/+0
| | | | | | | | | | | | | | and disallow opening windows per default for layout tests BUG=111316 R=marja@chromium.org Review URL: https://codereview.chromium.org/11411282 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/11414260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170459 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] add support for testRunner.canOpenWindows and disallow ↵jochen@chromium.org2012-11-301-0/+1
| | | | | | | | | | | opening windows per default for layout tests BUG=111316 R=marja@chromium.org Review URL: https://codereview.chromium.org/11411282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170451 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] add support for a testRunner.setXSSAuditorEnabledjochen@chromium.org2012-11-301-0/+10
| | | | | | | | | | | | I wanted to wire up a WebPreferences modifying testRunner method, and XSSAuditorEnabled will make >100 tests pass BUG=111316 TEST=most of http/tests/security/xssAuditor passes Review URL: https://chromiumcodereview.appspot.com/11316244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170439 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] block loading of non-local resources during layout tests, ↵jochen@chromium.org2012-11-271-0/+4
| | | | | | | | | | | | and add support for rewriting layout test urls BUG=111316 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11348246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169661 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] change how the main render view is picked for layout testsjochen@chromium.org2012-11-261-4/+0
| | | | | | | | | | | | | | | | | | | | | The old code would sometimes crash. The reason is that we need to know which is the main render view when the first render view is created. The old code, however, would only pick the main view after it was created. Individual changes: - move sending the fake cwd from RenderViewReady to RenderViewCreated so that we can guarantee it's available on time - Don't guess which WebKitTestRunner belongs to a RenderView, but explictely pass the RenderView with the WebTestProxy creation callback - instead of having the browser set the main render view, the renderer picks the first RenderView and declares it the main view BUG=111316 TEST=Running editing/pasteboard/data-transfer-items-drag-drop-string.html doesn't crash TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/11416177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169455 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] keep the value of the current working directory in the rendererjochen@chromium.org2012-11-051-0/+4
| | | | | | | | | | | That way, we can turn relative to absolute paths in the renderer without going to the browser first BUG=111316 Review URL: https://codereview.chromium.org/11293088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165916 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] link against the TestRunner libraryjochen@chromium.org2012-11-011-0/+11
| | | | | | | | | | BUG=111316 TEST=layout tests are more awesome Review URL: https://chromiumcodereview.appspot.com/11245004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165329 0039d316-1c4b-4281-b951-d872f2087c98
* Rename layoutTestController to testRunner.jochen@chromium.org2012-08-071-1/+1
| | | | | | | | | | | | | | | | I should come up with a better name than LayoutTestController{Host,} for content_shell The extension docs are updated here: https://chromiumcodereview.appspot.com/10825200/ The binaries in chrome/test/data/extensions/uitest don't actually invoke LTC BUG=none TEST=still works after WK roll Review URL: https://chromiumcodereview.appspot.com/10827182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150320 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out not yet implemented controller methods, so we don't have to wait ↵jochen@chromium.org2012-07-091-0/+4
| | | | | | | | | | | | for timeouts but fail immediately BUG=111316 TEST="webkit/tools/layout_tests/run_webkit_tests.py --debug --driver-name=content_shell --additional-drt-flag=--dump-render-tree --no-retry-failures svg/dynamic-updates/SVGAElement-dom-href-attr.html" fails within milliseconds instead of 30s Review URL: https://chromiumcodereview.appspot.com/10740002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145782 0039d316-1c4b-4281-b951-d872f2087c98
* When running in DRT mode, move the content shell window off-screenjochen@chromium.org2012-06-281-1/+1
| | | | | | | | | | BUG=111316 TEST=run content_shell --dump-render-tree, enter a URL, there should be no window Review URL: https://chromiumcodereview.appspot.com/10694004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144693 0039d316-1c4b-4281-b951-d872f2087c98
* Add basic support to dump pixel resultsjochen@chromium.org2012-06-271-0/+12
| | | | | | | | | BUG=111316 TEST="webkit/tools/layout_tests/run_webkit_tests.py --chromium --debug --driver-name=content_shell --additional-drt-flag=--dump-render-tree css3/css3-modsel-33.html" should pass Review URL: https://chromiumcodereview.appspot.com/10656044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144436 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 140814 - Rename ShellRenderView{,Host}Observer to ↵jochen@chromium.org2012-06-061-0/+3
| | | | | | | | | | | | | | | | LayoutTestController{,Host} also hook up the stay on page after handling before unload flag. Also removing incorrect references from aura/ui code to layout test controller stuff BUG=111316 TEST=manual TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10538031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140862 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140814 - Rename ShellRenderView{,Host}Observer to ↵michaeln@google.com2012-06-061-3/+0
| | | | | | | | | | | | | | | | LayoutTestController{,Host} also hook up the stay on page after handling before unload flag. BUG=111316 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10544029 TBR=jochen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10537034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140815 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ShellRenderView{,Host}Observer to LayoutTestController{,Host}jochen@chromium.org2012-06-061-0/+3
| | | | | | | | | | | also hook up the stay on page after handling before unload flag. BUG=111316 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10544029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140814 0039d316-1c4b-4281-b951-d872f2087c98
* Add support to content_shell for printing and render tree dumpsjochen@chromium.org2012-06-061-1/+7
| | | | | | | | | | | Also hook up console.log and alert/prompt/confirm and onunload handlers BUG=111316 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10537005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140725 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 16avi@chromium.org2012-04-171-1/+1
| | | | | | | | | | | Remove "tab contents". BUG=105875 TEST=no change Review URL: https://chromiumcodereview.appspot.com/9956154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132571 0039d316-1c4b-4281-b951-d872f2087c98
* First version of the layoutTestController for content_shelljochen@chromium.org2012-01-301-0/+6
| | | | | | | | | | | | | This version supports dumpAsText, dumpChildFramesAsText, waitUntilDone, and notifyDone BUG=111316 TEST=run content_shell --dump-render-tree <some layout test that only uses above functions> Review URL: http://codereview.chromium.org/9121074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119750 0039d316-1c4b-4281-b951-d872f2087c98
* Add option --dump-render-tree to content_shell to dump the render tree as text.jochen@chromium.org2012-01-291-0/+19
BUG=111316 TEST=run out/Debug/content_shell --dump-render-tree file://$(pwd)/third_party/WebKit/LayoutTests/fast/html/section-element.html > section-element-actual.txt - should be the same as section-element-expected.txt Review URL: http://codereview.chromium.org/9289045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119642 0039d316-1c4b-4281-b951-d872f2087c98