summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree
Commit message (Collapse)AuthorAgeFilesLines
* Better detecting if current threasd is main threadKristian Monsen2013-01-181-1/+2
| | | | | | | Old approach got broken after: https://googleplex-android-review.googlesource.com/#/c/266421/2 Change-Id: I12ae23efdbaebd8ba24acb1b7eff75c912d24f1d
* am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-071-0/+0
|\ | | | | | | | | * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
| * Correct executable bit for source filesKenny Root2012-11-071-0/+0
| | | | | | | | | | | | | | | | | | Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
* | dodging the @JavascriptInterface bulletGuang Zhu2012-09-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | The reason for not to fix the test instead with new annotation is that it's preferable to have a single version that works for all platforms. This can be revisted once we have enough platforms released to not to care about the older ones. Change-Id: I42557f920702e5a65e39a3fea80533bd07b54367
* | Revert "fix sdcard path for webkit perf and layout test scripts"Guang Zhu2012-08-202-9/+7
| | | | | | | | | | | | This reverts commit 8aaa32b13e565893c57059ca14eb49fbe4bdf0ba Change-Id: I831eb07943c85bb23b43bdf2d9026bf88ed23c5a
* | fix sdcard path for webkit perf and layout test scriptsGuang Zhu2012-08-192-7/+9
| | | | | | | | | | | | paths are moved from /sdcard/ to /sdcard/0/ Change-Id: I27dee294eff033da47c5de17c3b7843790386be3
* | Fix style for Geolocation mock mechanismSteve Block2012-05-291-3/+2
| | | | | | | | | | | | See I6d88d5dce5c2148812b191a5b452718bf0854aeb Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
* | Switch Geolocation DRT methods to control client-based mockSteve Block2012-05-223-51/+35
|/ | | | | | | | | | 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
* 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