summaryrefslogtreecommitdiffstats
path: root/tests/WebViewTests/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/WebViewTests/src')
-rw-r--r--tests/WebViewTests/src/com/android/webviewtests/JavaBridgeArrayCoercionTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeArrayCoercionTest.java b/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeArrayCoercionTest.java
index 5aba764..c2bbdf5 100644
--- a/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeArrayCoercionTest.java
+++ b/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeArrayCoercionTest.java
@@ -411,9 +411,9 @@ public class JavaBridgeArrayCoercionTest extends JavaBridgeTestBase {
executeJavaScript("testObject.setByteArray([\"+042.10\"]);");
assertEquals(0, mTestObject.waitForByteArray()[0]);
- // LIVECONNECT_COMPLIANCE: Should use valueOf() of appropriate type.
+ // LIVECONNECT_COMPLIANCE: Should decode and convert to numeric char value.
executeJavaScript("testObject.setCharArray([\"+042.10\"]);");
- assertEquals('+', mTestObject.waitForCharArray()[0]);
+ assertEquals(0, mTestObject.waitForCharArray()[0]);
// LIVECONNECT_COMPLIANCE: Should use valueOf() of appropriate type.
executeJavaScript("testObject.setShortArray([\"+042.10\"]);");