| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I8ba9a32ca0d0d80395029d92886155d2ed13d6f4
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 5461416
Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/150052
Bug: 5619677
Change-Id: I2c3049529312b38bd3731dfc79b14edcb8cd6357
|
|
|
|
|
|
|
| |
Also add a test for objects with a non-numeric length property being passed to
a method expecting an array.
Change-Id: Ic04bbd691c55744472cab9fb732e504997c62434
|
|
|
|
| |
Change-Id: Ibbac2268307fbfcff09a2d3b0f841ce420edc416
|
|
|
|
| |
Change-Id: I18dacf4a4de8c787e46ea2781f5a365372a0a7da
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 5140673
Change-Id: If1bdd547c09d37bbf6d649f15388352ee76f4887
|
|
|
|
|
| |
Bug: 5140673
Change-Id: Ie43c16aeca9c5982b4ea64e3b54ec1a33c5f7241
|
|
|
|
|
| |
Bug: 5140673
Change-Id: I62b45f8b35be3ce9c76766e39e8867c028f94ac1
|
|
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
|