| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Also move BP1 to provider package
Change-Id: I082df8f675d32e2b9072914eab4ee1d50543e169
|
|
|
|
|
|
|
|
|
| |
This is useful for testing, where crash recovery is handled by the
tests and also dialog interaction in undesirabls and also dialog
interaction in undesirable. Also included a minor unrelated change
to test app to handle/disable pop windows.
Change-Id: Iab337b31c803d50b74ba24ca80cc614fa752a846
|
|
|
|
|
|
|
|
| |
Bug: 3506038
Lookup the parent itself, not the children of the parent in
isValidParent check. Also, adds testing to watch for regressions
Change-Id: I59f00094f862f2e9cd4b4f9fd92d370b87e612e5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code and tests based on the google search app. A lot
less code would be duplicated if we could somehow
override AutoCompleteTextView but that is made impossible
by it calling a bunch of stuff in its constructor. To do
so would require changes to the existing API.
I've verified that the unit test passes, but other browser
tests appear to fail - even on a clean branch with none
of my changes.
Also fixes a minor bug in SearchEngines.getSearchableInfo( ).
Change-Id: Ic61bc6b8fa27cd210a45dc181ebf15accf503244
|
|
|
|
|
|
|
|
|
| |
currently, if a page load ended up in Java crash, the crash will be
intercepted by test harness and during the test tearDown step, the
test status file will be removed, and the harness would think all
sites have been loaded successfully
Change-Id: Ifc02d7f4b7e76c8e8aad06fff273f9d61060874d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 3466212
Also added a test case to check for regressions
Change-Id: I9a8979a0ced165f1c94945c62687b0bf3b7076fe
|
|/
|
|
|
|
|
| |
Bug: 3466250
URL query parameters are imporant, don't strip them
Change-Id: I9c43598f56150470658485364aadfd0425bfa8cd
|
|
|
|
|
|
|
|
|
| |
looks like these tests has no external dependency and runs
reasonably fast. marking them as "SmallTest" will make them
automatically picked up by continuous tests on dev branch &
monitor failures.
Change-Id: I4addee3ed369f00cb52e828f146a6958b9cb3a09
|
|
|
|
|
|
| |
Bug: 3431373
Change-Id: I0ce30213150c6dd51b128723f044bd32eb2b46a3
|
|
|
|
|
|
|
|
| |
This is because of webkit change:
http://trac.webkit.org/changeset/72974
which will treat JS numbers as doubles.
Change-Id: I45a9966bcd435778457dbd5ca01953696c6c2d84
|
|
|
|
|
|
|
|
| |
this situation usually happens when WebView is spinning or
deadlocked on something, throwing a RuntimeException will
make this kind of error more noticeable
Change-Id: Id2f495494f67206830fd9d9e8a4bc2b175e82614
|
|
|
|
|
|
|
|
| |
some websites may trigger the browser to launch a non-http url.
typical case is that some website saw the client is Android, then
launch a market search urln to promote their native app.
Change-Id: I7785f66c8516a95597fd264b88f130008c309618
|
|
|
|
|
|
|
|
| |
* intercept JavaScript onUnload confirmation, no dialog shown
* using null download manager to avoid actual downloading during
random url test
Change-Id: I41758a87a0c5de5b42d34db8a403bb6d6ca053b2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two reasons to use hardcoded external path as website
list: 1) the InstrumentationTestRunner did not provide a
mechanism for passing extra parameters down to test class, so
it's hard to provide test class with a location of test list file
in a parameter 2) if we include the test list file as part of the
asset and loaded via context during test, then it become hard for
test harness to inject a list at test execution time because test
list file is essentially compiled in when the apk is generated.
So I'm reverting the test list loading part back to previous
approach.
Change-Id: I5532de8d153172771dba160d6ad89092f81ec6e4
|
|
|
|
|
|
|
|
| |
Bug: 3248213
Fixes errors in the tests that were caused by missing files, proguard,
and the refactor.
Change-Id: I503dfc7ee42d0173e3a5ad032f58a6f4f310588c
|
|
|
|
|
|
|
|
|
| |
The JNI bindings test was broken after BrowserFrame.documentAsText
started to take a parameter to determine if it should capture
the main or child frames. Update the call here to pass the correct
parameter.
Change-Id: I5142214164db371d9106d799bfa4e5bd7293dad3
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
status file
Merge commit 'f3c6c24d6ba7dd448c67fc064a7becc029c5981f'
* commit 'f3c6c24d6ba7dd448c67fc064a7becc029c5981f':
improvement test app's handling of irregular status file
|
| |
| |
| |
| |
| |
| |
| | |
if it reads an empty line, or have reached end of file, it
will default to the start from beginning scenario.
Change-Id: Ife2e49bf8adf70d6caba7a1d65094401990325a2
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently the test does not increment page count after relaunched
after a crash. This means the crashed page will be loaded again,
causing a dead loop.
Change-Id: If4591fbd05521f0454151affafec09788e9208d9
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently the test does not increment page count after relaunched
after a crash. This means the crashed page will be loaded again,
causing a dead loop.
Change-Id: I4eb0255e2bdf8eea0d3c16797cbb21e1711c3d5b
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1c5fe40bbea43d4a2d8de74ce169f9f705896f26'
* commit '1c5fe40bbea43d4a2d8de74ce169f9f705896f26':
various fixes for browser test harness
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* the definitive way to determine page load finish seems to be
onPageLoadFinished AND onProgressChanged==100, changing test
harness logic to reflect that
* webview does not seem to be happen if ClearCache is called too
often (or for certain pages?). It may complain that failed to
delete blahblah, then the test harness goes crazy. So changing
cache clear to after an entire iteration of web pages have been
loaded
* browser will load default home page, which may be disruptive
to the page load process. So for the test, the browser is now
started with initial intent to visit about:blank, which does
not trigger any page load at all
Change-Id: I1cfbd8d0196a05caea6a1c5137f45f1f59cc4c5f
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '6cb16461e1524eb3272b4e9440db6c041feacbb3'
* commit '6cb16461e1524eb3272b4e9440db6c041feacbb3':
add check for FileNotFoundException
|
| |
| |
| |
| |
| |
| |
| | |
make the test fail gracefully instead of throwing exception. because
otherwise it interrupts test run.
Change-Id: Ia2b92355db83cd13c55263f0699b29c10e00ea96
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* the name "testComplete" will cause test runner to actually execute it as a
test case, which is not the intention here, changed to "notifyComplete"
* the test depends on "/sdcard/bindings_test.html". since the same file is
already being carried in the apk as asset, added a setup/teardown step to
extract the file. this removes manual setup step for the tests.
Change-Id: I74dc42a7ca0442a84910441e535d950c049efc98
|
| |
| |
| |
| |
| |
| |
| | |
Determine whether to show the camera based on the accept type associated with
the input element.
Change-Id: I48fea76fbd7a1f3df3c87288f28e01a32d9e955e
|
|/
|
|
|
|
|
|
|
|
| |
* the name "testComplete" will cause test runner to actually execute it as a
test case, which is not the intention here, changed to "notifyComplete"
* the test depends on "/sdcard/bindings_test.html". since the same file is
already being carried in the apk as asset, added a setup/teardown step to
extract the file. this removes manual setup step for the tests.
Change-Id: I45e1e9755ec829086fae6a36885153874f3a94a2
|
|\ |
|
| |
| |
| |
| |
| |
| | |
this is part of a larger effort to collect app launch performance for the platform.
Change-Id: Id7159c67b0d746c9a109988e05f53be6a10921af
|
| |
| |
| |
| | |
Change-Id: I166331ce198fba188df5365695a20588870374c4
|
|/
|
|
| |
Change-Id: I7d15efd5cc1c40d9c0c5b7cf1a5a7f9775a709d7
|
|
|
|
| |
Change-Id: Ia10e72eec60d8c2155df95dec06334beb9feaab6
|
|
|
|
|
|
|
|
|
| |
* changed time recording unit from ns to ms
* implemented a timeout mechanism for page loading
* fixed a bug where url list will iterate forever
* minor changes in logging
Change-Id: I5f9812d2573d6942ddf404cf3fbb1782f328c73d
|
|
|
|
|
|
| |
parsable format.
Change-Id: Ia7f5f216d21925aebf5c807ee95036ebf6f6fa35
|
|
|
|
|
| |
- Refactoring test method to allow for optional looping and cache cleaning
- Adding test status output to resume + notify after a crash
|
|\ |
|
| |
| |
| |
| | |
Also patch makefiles to correctly build tests and allow for hidden API calls in test.
|
|/
|
|
|
|
|
| |
This includes a test for http://b/issue?id=2152749
fails, since that bug has not yet been fixed.
Change-Id: Ie2a71fe056528975279548f52c69953cef4dca1b
|
|
|
|
|
|
|
|
| |
that origin is large enough to cover both databases (old and new).
Fix for 2417477
Change-Id: I914b29a5f90a11fe3c3dc9a927a8720197b03560
|
|
|
|
|
|
| |
web page"
This reverts commit a4d616c5291877646558d954f5e3cc9733309b4c.
|
| |
|
|
|
|
|
|
| |
enough space to satisfy it.
Change-Id:I23daac8fbf27f50f304ee53060353423deaed50a
|
|
|
|
| |
and quota increase step
|
|
|
|
|
|
|
| |
- Abandon the Quota UI: it does not make sense to ask the users to decide individual database quota increases. It is unlikely anyone will be able to make a meaningul decision.
- Introduce a global limit for all WebStorage content. This is shared between Database and AppCache.
- Make the quota increase decision automatic
- Treat out-of-space situations by creaying a system notification (TODO).
|
|
|