summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree
Commit message (Collapse)AuthorAgeFilesLines
* Seperate interface and implementation of 4 WebView classesJonathan Dixon2012-04-231-1/+1
| | | | | | | | | | | | | | | GeolocationPermissionsClassic CookieManagerClassic WebIconDatabaseClassic WebStorageClassic Also creats a WebViewFactory top level class - this remains hidden for now, as it's currently only used implicitly by the other public WebView classes to create the provider instances. Bug: 5626244 Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
* follow up file original policy changeGuang Zhu2012-04-191-2/+35
| | | | | | enable the access for webview test Change-Id: Iebde5f3175eabf6e084dc1a2fe8b9dce280ebe7c
* Minor clean-up in DeviceOrientation and DeviceMotionSteve Block2012-04-121-1/+1
| | | | | | | | | No functional change. See corresponding external/webkit change https://android-git.corp.google.com/g/#change,125700 Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
* Update to DumpRenderTree test harnessGuang Zhu2012-03-056-280/+35
| | | | | | | | | * 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
* Refactor WebView to be a thin proxy classJonathan Dixon2012-03-021-12/+17
| | | | | | | | | | | | | | | | 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
* disable cpu_upload path workaroundGuang Zhu2012-02-141-3/+0
| | | | | | Bug: 6008123 Change-Id: I9bee623827ad82185c77875ba317c2fd95f3fce8
* Merge "fix build"Guang Zhu2012-02-131-2/+1
|\
| * fix buildGuang Zhu2012-02-131-1/+0
| | | | | | | | | | | | remove extra import Change-Id: Ia3f764e87bc412ec65da82f7ffd5c21f508229c4
* | use hard coded WebViewProperties.gfxUseMinimalMemoryGuang Zhu2012-02-131-1/+1
|/ | | | | | WebViewProperties is package private to browser Change-Id: I33e4b5f42c748bb6b8a1f730be140d6fd73059b5
* Increase transfer queue size for DRTGuang Zhu2012-02-131-4/+5
| | | | | | | | | To maintain the baseline, DRT app should use the same transfer queue size as before. Bug: 6008123 Change-Id: I143ebf86b7798c1a6608af2e37d618ffa09d1062
* Merge "Revert "Use port 18000 instead of 8000 for layout tests""Guang Zhu2012-01-202-8/+8
|\
| * Revert "Use port 18000 instead of 8000 for layout tests"Guang Zhu2012-01-202-8/+8
| | | | | | | | | | | | port 8000 is no longer being occupied, plus this approach never worked 100% because some pages have access to port 8000 hard coded in HTML This reverts commit e2b9d7f2f027907c7dcdbfb9e99297ff799ce482
* | Merge "Revert "log stack trace when finish() or onDestroy() is called""Guang Zhu2011-09-291-13/+1
|\ \
| * | Revert "log stack trace when finish() or onDestroy() is called"Guang Zhu2011-09-281-13/+1
| | | | | | | | | | | | | | | We are already clear on why it's happening (phantom touches) so reverting this log. This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
* | | Use CPU upload path in DRTGuang Zhu2011-09-271-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | 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
* | log stack trace when finish() or onDestroy() is calledGuang Zhu2011-09-151-1/+13
|/ | | | | | | | 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
* Use port 18000 instead of 8000 for layout testsGuang Zhu2011-08-192-8/+8
| | | | | | Apparently some system process is occupying this port now Change-Id: Iaed4c64d7a8ab41830588d91f5deab1caadfdcdd
* Revert "Disable Crankshaft in DRT for performance testing."Ben Murdoch2011-07-281-1/+1
| | | | | | | This reverts commit 3f9d171e80eea1162c051dd7200dd828fa258e09. Bug: 5052287 Change-Id: I8cd4a753e3a5a177934757a67880627c5c14e1af
* Disable Crankshaft in DRT for performance testing.Ben Murdoch2011-07-271-1/+1
| | | | | Bug: 5052287 Change-Id: I9197f116d36c4cddd533f4aa07974f8c2d4678fe
* Update Android DRT skip list.Ben Murdoch2011-06-211-0/+14
| | | | | | | | The latest merges have brought in several tests for which we are missing layout test controller functions. Add them to the skip list until we address DRT to add the functionality. Change-Id: I465dd71245f68cc8c67122a52dcbb93a5276c31e
* LayoutTests with dumpAsText in the pathname should always dump as text.Ben Murdoch2011-06-211-0/+5
| | | | | | See http://trac.webkit.org/changeset/79403 Change-Id: Ifd607b0c05804dd40a11072cf6862c36aaf448fe
* call clearCache from UI threadGuang Zhu2011-05-181-2/+8
| | | | | | | according to the warning message, WebView#clearCache now should be invoked from UI thread only Change-Id: I089d9dcdcccc353b802a628c539e62f001d361f8
* change how test sets timeout for webkit dumpGuang Zhu2011-05-161-2/+1
| | | | | | | | | | | 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
* even more loggingGuang Zhu2011-05-131-0/+1
| | | | | | to track down test hang issue Change-Id: Ida686506275eb7c8c624c135f988feb9c43f86f5
* add more logging into DRTGuang Zhu2011-05-101-0/+1
| | | | | | Need the extra log to track down a test hang issue Change-Id: I1556f27b64296fcd39bc49ecbdd14347213bb9a2
* Make DRT pull data over networkGuang Zhu2011-04-265-31/+96
| | | | | | | | | | | | | command format: adb shell am instrument -w -e class \ com.android.dumprendertree.LoadTestsAutoTest#runPageCyclerTest \ -e suite moz \ -e iteration 1 \ -e forward android-browser-test:80/page_cycler/ \ com.android.dumprendertree/.LayoutTestsAutoRunner Change-Id: Ib4e9db28953f6be155517bb4b139e4477305c2c2
* Merge "Adds CookieManager methods to configure policy for cookies for file ↵Steve Block2011-02-101-0/+2
|\ | | | | | | scheme URLs"
| * Adds CookieManager methods to configure policy for cookies for file scheme URLsKristian Monsen2010-12-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Increase DRT timeout while waiting for WebView to dump as text"Steve Block2011-02-101-1/+1
|\ \
| * | Increase DRT timeout while waiting for WebView to dump as textSteve Block2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | This avoids problems with LayoutTests fast/frames/lots-of-iframes.html and fast/frames/lots-of-objects.html Bug: 3440578 Change-Id: Ic045141f986baf779ffc9eec804ba994ce0d0fbe
* | | Remove LayoutTest ↵Steve Block2011-02-091-1/+0
|/ / | | | | | | | | | | | | | | | | http/tests/xmlhttprequest/simple-cross-origin-progress-events.html from skipped list This test no longer crashes, so we should no longer skip it. Bug: 2929261 Change-Id: I808926c3dce2e9a01d6c190a18187d9ca965b662
* | change the way test app waits for gcGuang Zhu2011-01-251-10/+20
| | | | | | | | | | | | | | | | gcSoftReferences methods are being obsoleted, so we need a different approach to wait for gc: create a CountDownLatch and release it in a dummy object's finalizer, call gc and await on the CDL. Change-Id: I54d9e6bc05540b16ee1f3959ace9008041ac4903
* | A few small cleanning-ups.Huahui Wu2011-01-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "b/3369602 Using Math.round() to convert float coordinates to ↵Huahui Wu2011-01-211-2/+2
|\ \ | | | | | | | | | integers." into honeycomb
| * | b/3369602 Using Math.round() to convert float coordinates to integers.Huahui Wu2011-01-211-2/+2
| | | | | | | | | | | | Change-Id: If4da01046c909667ce57a849569ae6b1acefb939
* | | DRT needs to clear cookies between tests.Ben Murdoch2011-01-201-0/+2
| | | | | | | | | | | | | | | | | | Fixes failure seen in fast/cookies/local-file-can-set-cookies.html Change-Id: I08b8a0fcf87003fa4621dce08604bf42e70e4635
* | | Add case-sensitive tests to DRT ignore list.Ben Murdoch2011-01-201-0/+2
|/ / | | | | | | | | | | | | | | | | | | /mnt/sdcard forces lowercase, but these tests verify the capitialization of the filename. We will never pass them with DRT1 while storing tests on external storage. DRT2 will fix this as it does not store any files locally (hence DRT2's ignore list is unchanged). Change-Id: Ia062ad77ad312a34db61d606a1d1382ac1d7b70e
* | further remove calls to runFinalizationGuang Zhu2011-01-181-2/+1
| | | | | | | | | | | | apparently these calls may deadlock as well... Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
* | Merge "when test case times out, stop loading first" into honeycombGuang Zhu2011-01-141-0/+1
|\ \
| * | when test case times out, stop loading firstGuang Zhu2011-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | remove runFinalizationSync callsGuang Zhu2011-01-131-3/+0
|/ / | | | | | | | | | | | | | | | | according to csharpiro, these calls are unnecessary and may lead to problems. bug: 3350034 Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
* | change webkit test data pathGuang Zhu2011-01-125-20/+20
| | | | | | | | | | | | | | | | path changed from "/sdcard/android/" to "/sdcard/webkit/". the old path clashes with "/sdcard/Android/" and has some odd issues under FUSE Change-Id: I57102dca99612bdd7b4d1f196e43436cd1276281
* | bugfix: remove dump timeout message after dump is receivedGuang Zhu2010-12-231-0/+1
| | | | | | | | Change-Id: I4061ccf77d47045a23065d27d6c9fa7452d085cc
* | Throw exception if webview dump times outGuang Zhu2010-12-231-1/+11
| | | | | | | | | | | | | | | | 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
* | Add LayoutTest http/tests/appcache/foreign-fallback.html to the DRT ignore listSteve Block2010-12-161-0/+1
|/ | | | | Bug: 3285647 Change-Id: I3acafe4690a4d2c7fae74bbd01a5f487867f2fc6
* re-enable HW acceleration in DRTGuang Zhu2010-12-071-1/+1
| | | | Change-Id: I281f7fd94624611797fceb162d6a5e12b6b08d20
* disable HW accelerationGuang Zhu2010-12-061-1/+1
| | | | | | | currently DRT will block upon launch if HW acceleration is enabled. see b/3255765. Change-Id: I19f2e6a6673a0284fd4916370b06aa80e04df4d2
* change how assets are copied out of apkGuang Zhu2010-12-062-7/+13
| | | | | | | | | | | Currently test code use getActivity to get DRT's assets. However the side effect is that this will actually launch the activity. This is not affecting any tests yet, however there are cleaner ways to do this. The instrumentation framework provides a getTargetContext call which will give access to app under test's context, and therefore granting access to its assets. Change-Id: I0560b0fa5681f80bcb9296beec3fd0549c40cc8e
* enabled hardware acceleration for DRTGuang Zhu2010-12-011-1/+3
| | | | Change-Id: I1357c734288829b42cebe88f147f5b8a03ac6f74
* Skip LayoutTest http/tests/cookies/third-party-cookie-relaxing.htmlSteve Block2010-11-241-0/+1
| | | | | Bug: 3227269 Change-Id: Iae94fe1c8b0ccb52463733c676569c0b9c887963