Age | Commit message (Collapse) | Author |
|
Bug: 10427705
These tested internals of WebViewClassic and will no longer build when
that is removed
Change-Id: I42af538dcb0343e9eff0b3fa85d7ff39f19c7c61
|
|
See I6d88d5dce5c2148812b191a5b452718bf0854aeb
Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
|
|
Note that we plumb DRT Geolocation mock calls via WebView. This is required
because the WebCore client-based mock is not a static but is tied to the Page.
See WebKit change Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9.
Bug: 6511338
Change-Id: I6d88d5dce5c2148812b191a5b452718bf0854aeb
|
|
enable the access for webview test
Change-Id: Iebde5f3175eabf6e084dc1a2fe8b9dce280ebe7c
|
|
No functional change.
See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700
Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
|
|
* removed some unused parameters
* removed obsolete live website test harness
* updated test class so that mean suite time for page cycler
is emmitted via instrumentation status
Change-Id: Iccb40f70a62a4ac9b8d5bceab9a6a715c611c573
|
|
Splits interface and implementation; all client calls are forwarded
to an abstract WebViewProvider interface, and the existing implementation
moved into the WebViewClassic implementor of this interface.
Originally taken from a snapshot from the development branch, by:
git diff HEAD 9a4c328a54cc05e5 | git apply
- but then rebased to keep up to date with master
Interdepends on webkit and Browser changes:
https://android-git.corp.google.com/g/158979
https://android-git.corp.google.com/g/167911
Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
|
|
Bug: 6008123
Change-Id: I9bee623827ad82185c77875ba317c2fd95f3fce8
|
|
|
|
remove extra import
Change-Id: Ia3f764e87bc412ec65da82f7ffd5c21f508229c4
|
|
WebViewProperties is package private to browser
Change-Id: I33e4b5f42c748bb6b8a1f730be140d6fd73059b5
|
|
To maintain the baseline, DRT app should use the same
transfer queue size as before.
Bug: 6008123
Change-Id: I143ebf86b7798c1a6608af2e37d618ffa09d1062
|
|
|
|
We are already clear on why it's happening (phantom touches) so reverting this log.
This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
|
|
This makes it the same as default browser settings (for now). Otherwise
the test may crash due to GPU OOM.
This is to be a workaround only, and should be reverted after the bug is
fixed.
Bug: 5382134
Change-Id: I82a8dd83b69c8fceb657af9e32a2c5fa66ead2ce
|
|
Some supurious calls to these functions when tests are still
running are observed. Add more logging to see what's the
caller.
Change-Id: I9254c3639bcb8619be39bfbc6981fae5bf5e7efa
|
|
This reverts commit 3f9d171e80eea1162c051dd7200dd828fa258e09.
Bug: 5052287
Change-Id: I8cd4a753e3a5a177934757a67880627c5c14e1af
|
|
Bug: 5052287
Change-Id: I9197f116d36c4cddd533f4aa07974f8c2d4678fe
|
|
See http://trac.webkit.org/changeset/79403
Change-Id: Ifd607b0c05804dd40a11072cf6862c36aaf448fe
|
|
there are cases where webkit dump timed out, but a RuntimeException
was not thrown (as it should have) after the timeout limit was
reached. It's probably because the Looper message to invoke time
out is obtained after the message to dump webview. This change
adjusts the order of obtaining the message so hopefully it can make
the timeout work for real.
Change-Id: I4197699f5aad765c88dc81123d052e4c49d7c53d
|
|
to track down test hang issue
Change-Id: Ida686506275eb7c8c624c135f988feb9c43f86f5
|
|
Need the extra log to track down a test hang issue
Change-Id: I1556f27b64296fcd39bc49ecbdd14347213bb9a2
|
|
scheme URLs"
|
|
This avoids problems with LayoutTests fast/frames/lots-of-iframes.html and fast/frames/lots-of-objects.html
Bug: 3440578
Change-Id: Ic045141f986baf779ffc9eec804ba994ce0d0fbe
|
|
1. Remove mDeferMultiTouch in WebView, it was for testing only but
we don't need it now since we always pass MultiTouch to WebKit.
2. Remove the use of mDeferMultiTouch in DRT tests.
3. Correct the index of getX(Y) for the second touch point in the
debug string of MotionEvent.
Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
|
|
Fixes failure seen in fast/cookies/local-file-can-set-cookies.html
Change-Id: I08b8a0fcf87003fa4621dce08604bf42e70e4635
|
|
current timeout mechanism does a text dump and then move to next case.
sometimes the text dump causes WebView to spin, and doing a
stopLoading seems to resolve some of the cases.
Change-Id: Iae08f9c93b2da3e805cacae43f80083fdf1bc5e1
|
|
Change-Id: I4061ccf77d47045a23065d27d6c9fa7452d085cc
|
|
if a webview dump times out, normally it's already in a bad state,
throwing runtime execption will generate a crash on the test case
and make the test move forward.
Change-Id: Id7430700db6b6d90160d60d23debd250b1731789
|
|
Needs https://android-git.corp.google.com/g/83647 in external/webkit,
which disallows such cookies by default and provides configuration
methods native side.
Also updates TestShellActivity to allow such cookies, as they are
required for the page cycler.
Bug: 2944150
Change-Id: Idcc7e2812fab33e6a2a8766a2176bc3278e617da
|
|
LayoutTestController.overridePreference('WebKitUsesPageCachePreferenceKey')
This is required for tests that test PageCache behaviour, eg
- fast/dom/DeviceMotion/no-page-cache.html
- fast/dom/DeviceOrientation/no-page-cache.html
- fast/dom/Geolocation/no-page-cache.html
Change-Id: Ie5862f6c86718142c949be81a85358ca6fac628a
|
|
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
|
|
Bug: 2914450
Change-Id: Ic0be3120e88efe9199f7719b9ccb1090baaabed6
|
|
Change-Id: I99fbe328807428aa0d94893545bad0697ccb71d7
|
|
Change-Id: I050edf263d5c4ee0c0373692e267d7e19f47ba1b
|
|
Change-Id: I8983d5c93dfa12d87449ac9f9a17a5aafdadef0a
|
|
in DumpRenderTree.
See http://trac.webkit.org/changeset/63730
Change-Id: Iced14a89a2a71557529a7a5e32c9eab04b370742
|
|
Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
|
|
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
|
|
Change-Id: Iba9b67da8628e3880e8f6b18d2dc51337b9c58fb
|
|
Change-Id: I6f74589b28960b91093acf8219a55e98f93b1881
|
|
Change-Id: I8af0bbca1d2166a25486d5a12fb6a985bbe264ef
|
|
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
|
|
- 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
|
|
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
|
|
Change-Id: I8b925784aead96a1be6344d654d0376dee2047eb
|
|
* reduce timeout limit from 30s to 15s
* terminate a test case under some condition on uncaught JS exception
* minor fixes
Change-Id: Iabc8f214544d2c8c14139756abc049870023fea5
|
|
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
|
|
Fixes DumpRenderTree to re-use HTTP authentication credentials
This is required for layout test http/tests/appcache/auth.html
Bug: 2098423
Change-Id: Ic9531e3c23a2fa9ebfab70cde3172550f572a404
|
|
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
|