| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can't invoke DiscardMainWindow() from the destructor since the destructor
is invoked from outside of the message loop, and DiscardMainWindow interacts
with the message loop.
BUG=111316
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12431002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186144 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The view should just be resized to the requested size, as there's nothing in
the content module that would somehow take the border into account
Doesn't currently change any test, as the resize tests are all expecting the change to take place synchronously, and so they fail anyways
BUG=111316
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12430002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186141 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rip out the asynchronous focus handling code, and add an empty implementation
of the new WebTestDelegate::setFocus signature
BUG=111316
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12387087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185906 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The method doesn't do a lot yet, since we close all windows at the end of
each test anyway, but it's needed once we start reusing the main window
BUG=171128
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12379073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185887 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it easier in an upcoming change to send the test configuration
again when preparing an existing web contents for the next test.
BUG=171128
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12395006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185874 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, it's discarded implicitly in ResetAfterLayoutTest.
Later, when reusing a web contents across multiple tests, we will only want
to discard the window when a fatal failure occurred.
BUG=171128
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12393041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185870 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
timed out
BUG=111316
R=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12330170
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184972 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implemented
BUG=111316
R=thakis@chromium.org
TEST=no functional change
Review URL: https://chromiumcodereview.appspot.com/12319089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184363 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=creis@chromium.org
TEST=most navigation and history tests pass
Review URL: https://chromiumcodereview.appspot.com/12320012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184317 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12297031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183481 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On windows, this method replaces a /tmp/ prefix with the actual temp path. Otherwise, it removes superfluous leading slashes from file: URLs and passes the path on the rewriteLayoutTestURL
BUG=111316
R=thakis@chromium.org
TEST=http/tests/plugins/post-url-file.html passes
Review URL: https://chromiumcodereview.appspot.com/12282041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183473 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=jam@chromium.org,marja@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12296007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183433 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=marja@chromium.org
TEST=no missing results reported
Review URL: https://codereview.chromium.org/12282035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183181 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=marja@chromium.org
Review URL: https://codereview.chromium.org/12255057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183131 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will make webaudio tests pass.
Before, the text header was printed way before the actual text dump happened.
This change moves the header printing to just before the dumping to match DRT.
BUG=111316
R=marja@chromium.org
TEST=webaudio/ passes
Review URL: https://codereview.chromium.org/12300010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183113 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before, the current working directory was used.
BUG=111316
R=marja@chromium.org
TEST=inspector tests don't time out
Review URL: https://codereview.chromium.org/12280009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183087 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316,173079
TEST=content_browsertests still work, almost all layout tests pass
R=marja@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12258047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182794 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=marja@chromium.org
Review URL: https://codereview.chromium.org/12207206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182706 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebKitTestController to WebKitTestRunner
This is in preparation for linking against the TestRunner library which will own the logic
BUG=111316
TEST=content_browsertests still work
R=marja@chromium.org
Review URL: https://codereview.chromium.org/12208110
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181913 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
browser tests
BUG=111316
R=marja@chromium.org
Review URL: https://codereview.chromium.org/12226088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181682 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This changes the "easy" content subdirectories (everything but browser, renderer, and common) and the ppapi top level directory.
Review URL: https://codereview.chromium.org/12208057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=169240
TEST=FileSystemLayoutTest.CrossFilesystemOp passes on windows
R=kinuko@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12038043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178284 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=tsepez@chromium.org,tony@chromium.org,jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11969043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177509 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add grant permission code in WebKitTestController::OnRegisterIsolatedFileSystem (which wasn't necessary in single-process DRT code)
- Pass layout_test_dir_ to PrepareForLayoutTest
BUG=156563
TEST=FileSystemLayoutTest.CrossFilesystemOp
Review URL: https://codereview.chromium.org/11819032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176232 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
TEST=W3C SVG tests pass
R=marja@chromium.org
TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11828028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176068 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the channel between a renderer and a plugin encounters an error, currently we display an infobar saying "<plugin_name> has crashed.".
This may cause confusion, because the plugin process may still be alive and no crash dump is generated in that case.
With this CL, we display a different prompt if the plugin process is still alive:
"<plugin_name> has encountered an error."
This CL only affects Windows.
TEST=None
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11820009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176060 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=111316
TBR=ricow@chromium.org
Review URL: https://codereview.chromium.org/11817014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175801 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=111316
R=marja@chromium.org
Review URL: https://codereview.chromium.org/11819028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175789 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, I've added a function that applies the differing defaults, and we
only override the entire WebPreferences when a renderer asks us to.
BUG=111316
TEST=running layout tests in single process mode shouldn't crash immediately
Review URL: https://chromiumcodereview.appspot.com/11666008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174410 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't show a window, instead make the renderer believe that the window is active
and has focus. This also adds the command line option --show-content-shell to
run layout tests using a visible window for debugging.
BUG=111316
TEST=http/tests/appcache tests don't crash the content_shell, editing/inserting tests don't fail
R=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11640055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174284 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
override the ones specific to layout tests
BUG=111316
TEST=appcache tests don't time out
Review URL: https://chromiumcodereview.appspot.com/11643004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173881 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, pass around webkit_glue::WebPreferences instances
BUG=111316
R=jam@chromium.org,tsepez@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11614003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173720 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=111316
TEST=less tests that fail with [ Missing ]
R=marja@chromium.org
Review URL: https://codereview.chromium.org/11586008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173440 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
loading, wait for the page to finish loading
BUG=111316
R=marja@chromium.org
Review URL: https://codereview.chromium.org/11594006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173436 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
Instead of having an observer per WebContents, only observe the main window.
In a previous patch, all IPC messages were already routed to this one main
window.
Also, rename webkit_test_runner_host.* to webkit_test_controller.*
BUG=111316
TEST=nothing breaks
R=marja@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11494004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172054 0039d316-1c4b-4281-b951-d872f2087c98
|