Bug 917297 - Clicking on a link sometimes results in a JS error to logcat instead of navigation, r=kats