• Home
  • History
  • Annotate
  • only in /frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
History log of /frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c3c682fc12e8ce30b42d460f323d6396e8cb1c0d 11-Jun-2012 Ben Murdoch <benm@google.com> Add missing </head> tag to last commit.

See Ifca486e329333b642d8195391fb1829bbf9a684c

Change-Id: I2e9f0288176896d965cc25684b229f93ad46f013
avaBridgeChildFrameTest.java
963a7307e9fe7ebb13c3bf0dda1bf889d491b629 08-Jun-2012 Ben Murdoch <benm@google.com> Add JavaBridge test to ensure objects injected into child frames.

Child frames should have also have any injected javascript interfaces
from the main frame. Add a test to verify this behavior.

Bug: 6640270

Change-Id: Ifca486e329333b642d8195391fb1829bbf9a684c
avaBridgeChildFrameTest.java
830698b1d94fc7215bd7a8ec50f884141a29212f 25-May-2012 Steve Block <steveblock@google.com> Avoid unintended side-effects of loading javascript: URLS in Java Bridge tests

Change-Id: I8ba9a32ca0d0d80395029d92886155d2ed13d6f4
avaBridgeTestBase.java
d890b0ddb607bbff5e809653f065b5e0cf480a6f 24-Apr-2012 Steve Block <steveblock@google.com> Add tests for uncaught exceptions from methods called through the Java Bridge

If a method called on a Java object through the Java Bridge throws an uncaught
exception, we throw a JavaScript exception.

See WebKit change https://android-git.corp.google.com/g/184252

Bug: 6386557
Change-Id: I35c456c162fd9b2a078ee9fce1ea68404b4c829c
avaBridgeBasicsTest.java
3aa800b9f93a99d6f25623ed24ab5f6fec213c15 24-Apr-2012 Steve Block <steveblock@google.com> Add tests for reflection and improve JavaDoc for Java Bridge

Bug: 5461416
Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
avaBridgeBasicsTest.java
c93643be42a552c2a08fd2c147e28da61edbaed3 11-Jan-2012 Steve Block <steveblock@google.com> Remove some stale TODOs from the Java Bridge tests

These TODOs were related to testing behavior with JavaScript and Java arrays.
This is now tested thoroughly in JavaBridgeArrayTest.java and
JavaBridgeArrayCoercionTest.java.

No functional change.

Change-Id: I5972b929c3e2743c06aff626c983b4b749ea452f
avaBridgeCoercionTest.java
fc6cf2888426f5192b9f284d14b911f3bbc7c2fb 16-Nov-2011 Steve Block <steveblock@google.com> Add tests for array length bounds in WebView's Java Bridge

Tests for https://android-git.corp.google.com/g/150320.

We test that when the legnth property of a JavaScript object is out of the
bounds for a Java array, we convert to null.

Also update a test in the case that the length property is not numeric.

Bug: 5626284
Change-Id: If41acb117eb4b786d671b5ffece2704c6f045d52
avaBridgeArrayTest.java
286788c3aaf2092b3f582acd113bdfee5eea8de0 15-Nov-2011 Steve Block <steveblock@google.com> Update Java Bridge test for coercing JavaScript String to Java char in an array

See https://android-git.corp.google.com/g/150052

Bug: 5619677
Change-Id: I2c3049529312b38bd3731dfc79b14edcb8cd6357
avaBridgeArrayCoercionTest.java
c353abba95771ce28f1536fe36c1c705693232a8 14-Nov-2011 Steve Block <steveblock@google.com> Add tests for multidimensional arrays in WebView's Java Bridge

Also add a test for objects with a non-numeric length property being passed to
a method expecting an array.

Change-Id: Ic04bbd691c55744472cab9fb732e504997c62434
avaBridgeArrayTest.java
908bc4a8463e083c49909d8bce71fd016da9b5af 14-Nov-2011 Steve Block <steveblock@google.com> Fix tests for methods returning arrays in WebView's Java Bridge

Change-Id: Ibbac2268307fbfcff09a2d3b0f841ce420edc416
avaBridgeArrayTest.java
13ad467a91ac6d86a959b49f0168a0e6893aef2c 14-Nov-2011 Steve Block <steveblock@google.com> Add tests for invalid and static methods in the WebView's Java Bridge

Change-Id: I18dacf4a4de8c787e46ea2781f5a365372a0a7da
avaBridgeBasicsTest.java
47538c081d2900d6e6bbf58da69a3173287cc73f 08-Nov-2011 Steve Block <steveblock@google.com> Add tests for arrays in WebView's Java Bridge

Also fixes some minor problems in other tests and reduces the HTML test page to
the minimal valid HTML5 document.

Bug: 5140673
Change-Id: Icc3730d017b778b0e618af3fcfee028300dd0a56
avaBridgeArrayCoercionTest.java
avaBridgeArrayTest.java
avaBridgeCoercionTest.java
avaBridgeTestBase.java
8e33fe944f9e407e1ba0c40736747c707c40acc7 09-Nov-2011 Steve Block <steveblock@google.com> Add another test for WebView's Java Bridge

Tests that an exception is raised if the wrong number of arguments are passed
to a method of an injected object.

Bug: 5140673
Change-Id: Ic9f9d09969e0fccbe82584e1a9ca7580f6010c87
avaBridgeBasicsTest.java
2dc592a4ae56c1a6d5d5619811cdf8817f342e8d 04-Nov-2011 Steve Block <steveblock@google.com> Add tests for the fields of objects in the WebView's Java Bridge.

Bug: 5140673
Change-Id: If1bdd547c09d37bbf6d649f15388352ee76f4887
avaBridgeFieldsTest.java
f7e26448c3591989840efa65f4f3f93a294b991e 04-Nov-2011 Steve Block <steveblock@google.com> Adds a set of basic test for WebView's Java Bridge

Bug: 5140673
Change-Id: Ie43c16aeca9c5982b4ea64e3b54ec1a33c5f7241
avaBridgeBasicsTest.java
avaBridgeTestBase.java
d100cdbcc8033e59c405e0ce6855e81778f29132 03-Nov-2011 Steve Block <steveblock@google.com> Add tests for returning values from WebView's Java Bridge

Bug: 5140673
Change-Id: I62b45f8b35be3ce9c76766e39e8867c028f94ac1
avaBridgeCoercionTest.java
avaBridgeReturnValuesTest.java
avaBridgeTestBase.java
2d803903af6158722c846ad8c605a7e8f7e4fd6d 03-Nov-2011 Steve Block <steveblock@google.com> Adds a new test for type coercion in WebView's Java Bridge

This change adds a new directory of tests for the WebView, WebViewTests.

It also provides the first in a set of tests to test WebView's Java Bridge.
Once this set of tests is complete, the Java Bridge test in
packages/apps/Browser will be removed.

Bug: 5140673
Change-Id: I32b7fdc0ac5d2231e6b96ff232d336ad2c0fcaab
avaBridgeCoercionTest.java
ebViewStubActivity.java