[JJI] Deflake a JsJavaInteractionTest
JsReplyProxy in testJsReplyProxyReplyToTheCorrectJsObject could be null sometimes, this is because we didn't use ScopedJavaGlobalRef to reference the corresponding Java object. If a full GC kicked in, the Java object will be collected, so native side JavaObjectWeakGlobalRef will return a null. Bug: 1015023 Change-Id: I66d0f5a9334f98a65e8fd9c05712b5b492a7f788 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1873389Reviewed-by:Richard Coles <torne@chromium.org> Reviewed-by:
Changwan Ryu <changwan@chromium.org> Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Cr-Commit-Position: refs/heads/master@{#709150}
Showing
Please register or sign in to comment