diff --git a/modules/locations/HistoryLocation.js b/modules/locations/HistoryLocation.js index 034aca63f0..7fffe4344a 100644 --- a/modules/locations/HistoryLocation.js +++ b/modules/locations/HistoryLocation.js @@ -25,7 +25,10 @@ function notifyChange(type) { var _isListening = false; -function onPopState() { +function onPopState(event) { + if (event.state === undefined) + return; // Ignore extraneous popstate events in WebKit. + notifyChange(LocationActions.POP); }