crosswalk-project/crosswalk-cordova-android — pull request #148 by huningxin (2014-11-10 08:13:20+00:00)
Title: Reset CordovaBridge correctly on navigation.

If the bridge is reset incorrectly, its loadedUrl remains null, which
causes a NullPointerException when a non-file:// page tries to connect
to the bridge via prompt().

Relevant upstream code:
https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaWebViewClient.java#L144
(cherry picked from commit 88a9e71d3262579f859344ff8172ffb882608b70)