|
[Android] Check for Java object types covariance in Java Bridge
ART does check covariance of types passed via JNI anyway, causing the VM to
crash if they doesn't. We'd better check this in Java Bridge and throw a
JavaScript exception, as LiveConnect spec suggests.
BUG= 392489
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283457
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+297 lines, -105 lines) |
Patch |
|
M |
build/android/findbugs_filter/findbugs_known_bugs.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/java/gin_java_method_invocation_helper.cc
|
View
|
|
1 chunk |
+17 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/android/java/gin_java_script_to_java_types_coercion.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/java/gin_java_script_to_java_types_coercion.cc
|
View
|
|
17 chunks |
+67 lines, -28 lines |
0 comments
|
Download
|
|
M |
content/browser/android/java/java_method.cc
|
View
|
|
4 chunks |
+6 lines, -39 lines |
0 comments
|
Download
|
|
M |
content/browser/android/java/java_type.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/java/java_type.cc
|
View
|
|
4 chunks |
+73 lines, -22 lines |
0 comments
|
Download
|
|
A |
content/browser/android/java/java_type_unittest.cc
|
View
|
|
1 chunk |
+87 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/android/gin_java_bridge_errors.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/common/android/gin_java_bridge_errors.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeCoercionTest.java
|
View
|
|
2 chunks |
+31 lines, -6 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|