194 Commits

Author SHA1 Message Date
Huahui Wu
41865f4b0c Bug 2372180: pass multi-touch events from browser to webkit.
Since the UI uses multi-touch for zooming, the event is passed to webkit
only when the webpage doesn't allow zooming.
1. Updated the data structure TouchEventData in WebViewCore.java
   to take multiple points and used it everywhere.
2. Added a passMultiTouchToWebkit() function to do what its name means.
3. Added the multi-point touch support to dumprendertree.

Change-Id: Iafc1aa7b21a587ad26efd2f124b9a66316297ab8
2010-09-26 16:26:38 -07:00
Guang Zhu
70795b3add temporarily skip simple-cross-origin-progress-events.html for now
this test crashes on Passion, and runs webcore into a bad state on
Stingray. To make sure it does not block the entire layout test
suite on Stingray, skipping this test for now.
http://b/2982500

Change-Id: Id4875112705df9b2c5b003a2c32c292765ab17fc
2010-09-07 20:58:24 -07:00
Guang Zhu
ba4da86add am fe8eaf3b: am 1c045003: Merge "add mouse up/down/click support in DumpRenderTree" into gingerbread
Merge commit 'fe8eaf3b5dc52cecaf15ccabe9a8717cce701f6c'

* commit 'fe8eaf3b5dc52cecaf15ccabe9a8717cce701f6c':
  add mouse up/down/click support in DumpRenderTree
2010-08-26 13:15:29 -07:00
Guang Zhu
fe8eaf3b5d am 1c045003: Merge "add mouse up/down/click support in DumpRenderTree" into gingerbread
Merge commit '1c045003788725b40af5489149ac0fc8bfebb1ea' into gingerbread-plus-aosp

* commit '1c045003788725b40af5489149ac0fc8bfebb1ea':
  add mouse up/down/click support in DumpRenderTree
2010-08-26 10:52:27 -07:00
Guang Zhu
b5c4caa078 add mouse up/down/click support in DumpRenderTree
use touchStart/End when mouseDown/Up is called in current
EventSender implmentation.

Change-Id: Iff3e7f45b6a7170d9be1c7ec9b12a74a74737732
2010-08-25 17:54:43 -07:00
Guang Zhu
c4f44cb995 Merge "change the DRT to use Light theme" 2010-08-24 13:06:50 -07:00
Guang Zhu
ddf4f32b53 change the DRT to use Light theme
works around the Holo theme crash.

Change-Id: I4e920629981bf3df0987bc4f65dc63644b3670b2
2010-08-24 13:05:36 -07:00
Iain Merrick
558f7dcf05 Merge WebKit at r65615 : Ignore http/tests/appcache/origin-quota.html
This patch modifies the old-style hard-coded ignore list. The new-style
text file (in external/webkit/LayoutTests/platform/android) has been
modified separately, as part of the normal WebKit merge process.

Test added in http://trac.webkit.org/changeset/64613
Needs clearAllApplicationCaches() callback. See http://b/issue?id=2944196

Change-Id: I31655c363c93eada40d01123e9c14c0d03bdba7b
2010-08-24 12:15:54 +01:00
Steve Block
f0f30c677a Implement logic for new Geolocation delayed permission LayoutTests
Bug: 2914450
Change-Id: Ic0be3120e88efe9199f7719b9ccb1090baaabed6
2010-08-18 15:50:48 +01:00
Ben Murdoch
e7611352ae Merge WebKit at r65072 : Update DRT ignore list.
This merge introduces two new Geolocation tests that to pass we need
a new LayoutTestController function. We ignore those tests until this
function is added - see b/2914450

Change-Id: If13dda2caa467b771d4a21d60463319019cc7679
2010-08-13 13:18:41 +01:00
Steve Block
68dede3d66 Hook up mock for testing DeviceOrientation in DRT
Change-Id: I99fbe328807428aa0d94893545bad0697ccb71d7
2010-08-10 12:00:35 +01:00
Steve Block
6618e69857 Merge WebKit at r64523 : Add new LayoutTest fast/dom/DeviceOrientation/basic-operation.html to skipped list
Change-Id: I42afa8d430349a0d8aa7349563c90043d08452e1
2010-08-09 15:39:50 +01:00
Elliott Slaughter
f21d2e3059 Initial work on browser incognito mode history feature.
Change-Id: I050edf263d5c4ee0c0373692e267d7e19f47ba1b
2010-08-05 16:22:33 -07:00
Kristian Monsen
d468e50bce Merge "After merging webkit to 64264 these hang, so added them to the do not run list. The tests timeout on chrome and are on the chrome skiplist." 2010-08-04 04:58:09 -07:00
Kristian Monsen
8136954a3f After merging webkit to 64264 these hang, so added them to the do not run list.
The tests timeout on chrome and are on the chrome skiplist.

Change-Id: I15c2cb70219c04af0d7bc561a1a8619df76bd0dc
2010-08-03 15:37:54 +01:00
Jean-Baptiste Queru
5aa1c034d9 resolved conflicts for merge of 8a76a908 to master
Change-Id: I8983d5c93dfa12d87449ac9f9a17a5aafdadef0a
2010-07-29 16:15:19 -07:00
Steve Block
3f617506c1 Merge "Add some dom/xtml/level3 LayoutTests to the DumpRenderTree ignore results list" 2010-07-27 02:53:10 -07:00
Ben Murdoch
357d280a25 Merge WebKit at r63859 : Implement layoutTestController.dumpAsText(boolean) in DumpRenderTree.
See http://trac.webkit.org/changeset/63730

Change-Id: Iced14a89a2a71557529a7a5e32c9eab04b370742
2010-07-26 17:54:03 +01:00
Steve Block
d1d4418978 Add some dom/xtml/level3 LayoutTests to the DumpRenderTree ignore results list
These tests have no expected result. They are not run on Chromium and are skipped on Qt.

Change-Id: I352b93dd8f3793be7f6c81a1f16d064e7239333c
2010-07-22 17:13:51 +01:00
Christian Mehlmauer
8b85dceadf Replaced /sdcard with Environment.getExternalStorageDirectory()
Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
2010-07-19 20:12:31 +02:00
Guang Zhu
5d53c19a10 add a paramter to control page-load-termination-on-JS-error
A previous change terminates page load if there's certain JS errors;
the intention was to speed up layout tests such that page accessing
non-existent test controllers/methods will get immediate termination
instead of waiting on timeout. However this causes problem for page
cycler because it may interrupt the test run too early. Also there
was a bug on bracketing on the termination conditions (operator
precendence issue).

Change-Id: I2f19e48fa0061286fddf0f7cbb4953d7f7d88f76
2010-07-14 17:26:02 -07:00
Steve Block
cefd8d9588 Merge "Update DumpRenderTree to look in platform/android for Android-specific results" 2010-07-12 10:01:50 -07:00
Steve Block
a88837573e Update DumpRenderTree to look in platform/android for Android-specific results
Change-Id: I32044fc8e22d419762e275cd69b0c785a7f4c8a5
2010-07-12 18:00:34 +01:00
Ben Murdoch
177eb38ef5 Update the file filter in DumpRenderTree (and DumpRenderTree2) so that
we run tests in .xhtml files.

Change-Id: I2af0bd29acef5bafa9dee9292aafc18d77a84080
2010-07-09 16:06:40 +01:00
Elliott Slaughter
be1304f0c2 Tweak fix for setXSSAuditorEnabled in LayoutTestController.
Change-Id: Iba9b67da8628e3880e8f6b18d2dc51337b9c58fb
2010-06-23 14:11:37 -07:00
Elliott Slaughter
5dc0c8253b Add setXSSAuditorEnabled support in WebSettings.
Change-Id: I6f74589b28960b91093acf8219a55e98f93b1881
2010-06-22 14:56:54 -07:00
Shimeng (Simon) Wang
ad45686d72 Add dumpChildFramesAsText function support in LayoutTestController.
Change-Id: I8af0bbca1d2166a25486d5a12fb6a985bbe264ef
2010-06-21 10:05:34 -07:00
Leon Clarke
2dbb41d790 Merge webkit.org at r60469: Skip a new isolated world test
Change-Id: I72f8da5c7a045dfd9ab2346d472756abcb4fe5a2
2010-06-08 15:17:15 +01:00
Ben Murdoch
1620bcdcdb DumpRenderTree fix.
Remove the overridden WebChromeClient.onProgressChanged function. We don't seem to need it and
it appears to be the cause of b/2681943. Without that code we need to tweak the terminating
conditions in onPageFinished and notifyDone.

Change-Id: If2958007d92f2da92ae0de19eb07a0b38258fae0
2010-06-07 17:36:20 +01:00
Leon Clarke
790e71d814 Merge "Add indexeddb files to the skip list" 2010-06-03 07:05:47 -07:00
Leon Clarke
970effc07c Add indexeddb files to the skip list 2010-06-03 15:00:11 +01:00
Ben Murdoch
9b815d0801 DumpRenderTree changes
- Make the layout test counter work when you run tests through the GUI
- Use the progress bar in the applications title bar to display test progress

Change-Id: I3d4b778470e812b80b7a64297b3a64ba6f9d083c
2010-06-03 12:39:09 +01:00
Kristian Monsen
fb4b88fddb Fixes an error when displaying the current layout test index.
This fixes a bug in commit https://android-git.corp.google.com/g/#change,52518.
Updated index to be zero based when passed around and off by one error on
resume. Note that previous commit changes how DumpRenderTree dumps titles.
This might affect the results of layout tests.

Change-Id: I3d6989d71c336f90168e38c994dd36743bda365c
2010-05-27 11:09:38 +01:00
Kristian Monsen
521d9a7986 Display index and count when running layout tests
Change-Id: I8b925784aead96a1be6344d654d0376dee2047eb
2010-05-25 20:12:47 +01:00
Kristian Monsen
75be797b0c Merge WebKit at r59636: Added appcache/fallback.html to the ignore list.
Change-Id: Ic2cbb9e32022b0f7ee371984691b3c590d05667d
2010-05-25 15:51:22 +01:00
Ben Murdoch
d1f5e9e5c0 Merge changes I8da1b801,Id88446d6,I82798d5a
* changes:
  Merge Webkit at r58956: Update User agent with new WebKit version.
  Merge Webkit at r58956: Update DRT FileFilter.
  Merge Webkit at r58956: Plugin code has switched to C99 integer types. See http://trac.webkit.org/changeset/58590
2010-05-14 08:17:51 -07:00
Steve Block
77b8e6149e Merge "Change the default JS engine for Android-specific layout test results in DRT from JSC to V8" 2010-05-14 03:11:38 -07:00
Ben Murdoch
543f0c9fa4 Merge Webkit at r58956: Update DRT FileFilter.
Change-Id: Id88446d6210da81f10d0ae26170addae6595f2a7
2010-05-14 10:24:56 +01:00
Steve Block
c1d8651538 Change the default JS engine for Android-specific layout test results in DRT from JSC to V8
Change-Id: Idaf5602d7f45533058b0f43d66377b10b1e7d708
2010-05-14 09:26:24 +01:00
Steve Block
f27d7fbac8 Adds excessive-comma-usage.html to DumpRenderTree skipped list as it causes OOM
Change-Id: I4581eeda494797616b9881d47cc53eccf21456c9
2010-05-13 17:40:12 +01:00
Steve Block
52ab0b39fc Merge webkit.org at r58033 : Update the WebKit UA string and LayoutTest ignore list
Change-Id: I620e6da3f7318f329f3401075799e5659cacda82
2010-05-11 14:28:10 +01:00
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