153 Commits

Author SHA1 Message Date
Shimeng (Simon) Wang
aba9160183 Remove svg from ignored rendertree tests list.
issue: 2469786
Change-Id: I9e7264a32fbc50d6810031b32ef0da411904cd83
2010-05-04 13:51:52 -07:00
Guang Zhu
6c15f6003a improvements on layout test
* reduce timeout limit from 30s to 15s
* terminate a test case under some condition on uncaught JS exception
* minor fixes

Change-Id: Iabc8f214544d2c8c14139756abc049870023fea5
2010-05-03 11:49:04 -07:00
Steve Block
79a81c2d38 Merge webkit.org at r55033 : Update the WebKit UA string and LayoutTest ignore list
Change-Id: I7eab669b404dbd2ab534c14021d4a60db0caa803
2010-04-27 20:11:29 +01:00
Steve Block
1d9b466568 Updates DumpRenderTree ignore list to reflect status of touch event tests at current WebKit revision (r54731).
Touch event tests were added to the Android tree in https://android-git.corp.google.com/g/49637

Change-Id: I6c28b137fc70a26a1db94cdb72e283629eaaa2bf
2010-04-23 13:34:00 -07:00
Shimeng (Simon) Wang
24ea8a8e26 Remove xslt tests from ignored tests list.
The change to enable xslt in Android webkit is:
https://android-git.corp.google.com/g/#change,49420

Change-Id: I0a2e208ffbe493d311efa638cc0624e07226005e
2010-04-22 11:57:37 -07:00
Steve Block
cef45f3368 Removes XPath layout tests from the Dump Render Tree ignore results list
XPath was enabled in https://android-git.corp.google.com/g/49109

Change-Id: I4704e63965a0bc8ac53b8cbc939242b79d71dc78
2010-04-21 21:55:51 +01:00
Ben Murdoch
7ef7caae2a Add 3 touch tests to the ignored result list.
- basic-multi-touch-events.html - uses multi touch
 - touch-target.html - uses multi touch
 - touch-coords-in-zoom-and-scroll - uses eventSender.zoomPageIn(),zoomPageOut() that we do not support.

Change-Id: Ie38f7155ae87cf575fd839b5e0dc9e01adf0e485
2010-04-19 18:13:57 -07:00
Ben Murdoch
a8b9768a14 Reset the webview settings after each test to ensure that each new test starts
in a consistent, known state. This fixes a bug for example with the appcache
tests, where disable.html turns off appcache support but it is never restored
causing future tests to fail.

Change-Id: I71e2607d29ec6358cfdc6ab37a6861c161e84cd8
2010-04-15 12:34:18 -07:00
Steve Block
2bb2553a20 Cherry pick from master.
Fixes DumpRenderTree to re-use HTTP authentication credentials

This is required for layout test http/tests/appcache/auth.html

Bug: 2098423
Change-Id: Ic9531e3c23a2fa9ebfab70cde3172550f572a404
2010-04-01 16:39:53 +01:00
Steve Block
fb0de34a47 Implements layoutTestController.overridePreference()
This change provides the infrastructure for
layoutTestController.overridePreference(). Currently, we only provide an
implementation for the preference 'WebKitOfflineWebApplicationCacheEnabled',
which is required by the layout test http/tests/appcache/disabled.html.

Change-Id: I8552f2f4e23b982db2d067ffa20c052e56d8fb7f
2010-03-22 10:52:56 +00:00
Steve Block
cd90b15cb8 Removes most remaining appcache layout tests from the DumpRenderTree ignoreResults list
The server serving the layout tests has now been updated to to reflect the
current version of WebKit (r54731) so serveral more tests now pass.

Change-Id: I95afa0012bf3fed15c733b0317ecd4c03f7a158f
2010-03-22 10:52:56 +00:00
Steve Block
427efcca19 Implements layoutTestController.setAppCacheMaximumSize
Change-Id: Ib64123738bc384213ef80e2e60e4a0d9407c09d8
2010-03-20 11:03:53 +00:00
Steve Block
f19f9f55f9 Removes an appcache test from the DumpRenderTree ignoreResults list
Android-specific results for this test were added in
https://android-git.corp.google.com/g/45462

Change-Id: I7716c2c061ab955d0bf96523b6aab747898cc4e7
2010-03-19 13:59:10 +00:00
Steve Block
9b63c8ee37 Adds worker tests to the DumpRenderTree ignoreResults list, as workers are now disabled
Change-Id: I19fbba824cbae372849a8f8ee66dbc8849101eb1
2010-03-17 19:14:18 +00:00
Steve Block
7c58da7589 Updates the status of some HTML5 storage layout tests in the DumpRenderTree skipped list
Bug: 2079807
Change-Id: I2bff326e68d8ac761fd2c4628fab8b10d255c7dc
2010-03-17 17:41:49 +00:00
Steve Block
f3c755a079 Adds XPath layout tests to DumpRenderTree ignoreResults list as Android does not support XPath
Change-Id: Ibda46541161581923d15258b863ed47f248ae626
2010-03-15 12:27:48 +00:00
Steve Block
b5522301a0 Puts two regex layout tests back on the DumpRenderTree skipped list
fast/regex/test1.html and fast/regex/slow.html were removed from the skipped
list in https://android-git.corp.google.com/g/#change,43908

However, they cause DumpRenderTree to hang when run with V8, so are added back
to the list pending further investigation.

Bug: 2509394
Change-Id: I83c361c99fcd61e940a169f1ed00614529af48ff
2010-03-12 11:04:54 +00:00
Steve Block
cf0fd7892b Adds to DumpRenderTree the ability to ignore the results of tests
Change-Id: I7c16d9713fc35c773b810f9d5ce6700f8d9a28e4
2010-03-11 15:40:45 +00:00
Ben Murdoch
e179c1d1b6 Merge "Check if the JS_ENGINE key exists as an environment variable before reading it." 2010-03-11 05:46:28 -08:00
Ben Murdoch
dc2711d47d Check if the JS_ENGINE key exists as an environment variable before reading it.
Change-Id: I274b23ea53ec0129ea3b52ff66322f7069338f53
2010-03-11 13:27:20 +00:00
Steve Block
8028dab82b Remove http/wml from the DumpRenderTree skipped list, as this directory no longer exists.
Change-Id: I7f97d68695ee1df45329749d8f08d44364bfef24
2010-03-11 10:41:20 +00:00
Steve Block
5ac2a3bd69 Removes from DumpRenderTree the superfluous result file for tests that time out.
This file is currently not used. Tests that time out are reported as failures.

Also fixes naming in code for tests that have no text results.

Change-Id: I6412db4dcf9884abdc80f5cff525ef9431bad001
2010-03-09 14:36:00 +00:00
Steve Block
9902279abb Removes regex tests from the DumpRenderTree skipped list
It looks like these were previously exluded due to taking too long. However,
they run in a reasonable time on passion.

Also removes AppleScript from the skipped list, as this directory no longer exists.

Change-Id: I98e3d0b3222dcd79287b15c512430341fab4f0f8
2010-03-09 12:29:59 +00:00
Steve Block
432e0eade7 Add shared workers tests to DumpRenderTree skipped list
Change-Id: I307bf718253ad3e340d3a95b1056523f37d150be
2010-03-09 12:20:48 +00:00
Steve Block
7e47f171b5 Removes some storage tests from the DumpRenderTree skipped lists, now that Android-specific results are provided
See https://android-git.corp.google.com/g/#change,42763

Change-Id: I9929b73db0f6764bb06fbe963e751294a4a787f0
2010-03-03 19:04:22 +00:00
Steve Block
e60f6730b6 Merge "Removes a Geolocation test from the DumpRenderTree skipped list" 2010-03-01 10:54:30 -08:00
Steve Block
12077e1179 Adds to DumpRenderTree the ability to look for Android-specific results
These Android-specific results will be added to
external/webkit/LayoutTests/platform/android-<js-engine> and are used in
preference to the generic expected results.

The JavaScript engine to use is read from the JS_ENGINE environment variable
used by the build system or can be overridden on the command line. If neither
is set, it defaults to JSC.

Change-Id: Ia8d107ced3968a5c061fd6f0f57451419bab6b27
2010-02-26 17:19:51 +00:00
Steve Block
fc735eefe1 Removes a Geolocation test from the DumpRenderTree skipped list
We now have an Android-specific expected result for this test.

Change-Id: I41919f01ac0fb6f07f0d650695462510f3a37d98
2010-02-25 11:31:21 +00:00
Steve Block
f7483b1d5c Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list
All of these tests should pass on Android. This is a temporary measure to track
all of these failures in a central place and to provide a consistent baseline
for DumpRenderTree test results while the problems are fixed.

Change-Id: I2cfaaa8df07be3b43c8e6517f75a7c438f147150
2010-02-24 22:11:07 +00:00
Guang Zhu
8cd303aec6 Quick fix layout test path problems
SD card mount point has changed from /sdcard to /mnt/sdcard. layout test was calling getCanonicalPath to determine the path to the test case, which causes problem because /sdcard is now a symlink, and canonical path is actually the "real" path. Using quick dirty fix for now, will properly migrate any hard-coded reference to "/sdcard" to system function calls.
2010-02-22 17:45:05 -08:00
Steve Block
164bd79537 In DumpRenderTree, skip tests for which we have the wrong results
Currently, the list of tests with incorrect results is not used.

Change-Id: I5d3ab9bde6201c2574f08c7c87efa4873ee6fdd1
2010-02-22 14:28:05 +00:00
Steve Block
5e8f52f5c5 Ignore TEMPLATE.html in LayoutTest directories
Change-Id: I5b1bbd915a569568db368d678a5cc32309fd7be5
2010-02-19 18:47:17 +00:00
Steve Block
2eae0694ea Merge "Remove tests that no longer exist from the DumpRenderTree skipped list" 2010-02-19 10:45:28 -08:00
Steve Block
0584242360 Merge "Merges unused bug list with ignored result list in DumpRenderTree" 2010-02-19 10:45:00 -08:00
Steve Block
f53833b728 Remove tests that no longer exist from the DumpRenderTree skipped list
Change-Id: If927b40bc3aebdf73b6d23d6cda06cdf31479778
2010-02-19 15:44:34 +00:00
Steve Block
52f4362ecd Merges unused bug list with ignored result list in DumpRenderTree 2010-02-19 14:59:22 +00:00
Ben Murdoch
8a032a3b29 Pass key modifier state to webcore for touch events and update DRT so it can simulate them.
Change-Id: Ic5aa8cb0376f6a3eecaa6340d57f28fa97f016bd
2010-02-19 11:47:31 +00:00
Steve Block
cdb4ef4cdb Sorts the lists of tests in DumpRenderTree in preparation for cleaning up the lists. 2010-02-16 18:03:49 +00:00
Steve Block
07a76ca009 Removes tests from DumpRenderTree skipped list where the corresponding bugs have been fixed. 2010-02-16 11:18:36 +00:00
Ben Murdoch
fc4a69e9c1 When a window is closed, destroy the WebView properly so that WebCore is informed of it's destruction.
Change-Id: I00002f53ec52c6056df4d7ddeec7cf0957423bd6
2010-02-04 16:54:06 +00:00
Ben Murdoch
ecbc65cf8f Add support for sending touch events in DRT.
As part of this, make it possible for DRT to configure the timeout threshold between sending touch events to WebCore as the Layout Tests only synthesize single events, not a stream. Because of this, they often get dropped by the WebView for coming too quickly.

Skip the multi touch test as we don't support multi touch in the Browser.

Change-Id: I7b9830f43181fea33206825b49ef2e294269b4dd
2010-02-03 16:57:46 +00:00
Guang Zhu
6d001c0f7a am e0aed796: am ccec75e7: Merge "Prevent orientation change from triggering activity recreation." into eclair
Merge commit 'e0aed796f03b080dabae6be0803d4ead1b3260a0'

* commit 'e0aed796f03b080dabae6be0803d4ead1b3260a0':
  Prevent orientation change from triggering activity recreation.
2010-01-22 09:44:34 -08:00
Guang Zhu
4ddcedeff1 Prevent orientation change from triggering activity recreation. 2010-01-19 11:51:44 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Guang Zhu
5dc4f21ab6 Add support for extracting render time and image in page cycler 2009-12-02 17:55:18 -08:00
Ben Murdoch
0187e9ec40 Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage. Do not merge.
BUG=b/2271636

This has already been submitted to eclair-mr2.

Change-Id: I81947f671f58be006ee3e1b30d73c6cb6cf2ebee
2009-11-24 12:32:02 +00:00
Ben Murdoch
7caaeecce1 Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage.
BUG=b/2271636

Change-Id: Ia9bed430c624c4c3745904c98fb2e27632d929f9
2009-11-20 10:14:46 +00:00
Guang Zhu
ea48cd6dd4 Use a diff that ignores trailing whitespaces to get by some layout test failures. 2009-11-12 10:18:14 -08:00
Guang Zhu
bfa68abc95 layout test rebase, bug fix
* rebase layout test based on newly enabled http tests
* fix a bug in initializing parameters (should happen before super.onCreate)
2009-11-05 15:28:15 -08:00
Guang Zhu
2e90d6404a Remove the activity restart between urls. 2009-10-27 15:21:51 -07:00