Commit Graph

5 Commits

Author SHA1 Message Date
Steve Block
d890b0ddb6 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
2012-04-25 21:53:18 +01:00
Steve Block
3aa800b9f9 Add tests for reflection and improve JavaDoc for Java Bridge
Bug: 5461416
Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
2012-04-24 21:34:42 +01:00
Steve Block
13ad467a91 Add tests for invalid and static methods in the WebView's Java Bridge
Change-Id: I18dacf4a4de8c787e46ea2781f5a365372a0a7da
2011-11-14 18:26:41 +00:00
Steve Block
8e33fe944f 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
2011-11-09 16:22:13 +00:00
Steve Block
f7e26448c3 Adds a set of basic test for WebView's Java Bridge
Bug: 5140673
Change-Id: Ie43c16aeca9c5982b4ea64e3b54ec1a33c5f7241
2011-11-07 15:00:43 +00:00