crosswalk-project/crosswalk-cordova-android — pull request #151 by huningxin (2014-12-12 01:00:41+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

BUG=XWALK-2907

(cherry picked from commit 88a9e71d3262579f859344ff8172ffb882608b70)