Throw RuntimeException if Tab.loadUrl is called and mNativeTabAndroid is 0
Calling Tab.loadUrl if mNativeTabAndroid is 0 would crash chrome. There has been a few crashes of the sort. This change would make chrome crash on the Java side rather than the native side so that the java stacktrace is visible in the crash. This is a temporary change and will be removed once we have more information or the bug is closed as WontFix. Bug: 662877 Change-Id: I0ad62c757d57c11bc405f6b22fad59f047aad527 Reviewed-on: https://chromium-review.googlesource.com/811987Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Mohamed Heikal <mheikal@chromium.org> Cr-Commit-Position: refs/heads/master@{#522444}
Showing
Please register or sign in to comment