summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-06 12:38:04 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-06 12:38:04 +0200
commita02c44648a3f7d6f3904eebba026ce5e6f781bef (patch)
tree71c834c97631b8c6ce3a2631453f49ca8ecab6c3
parent83e8906aa7318aab751e40b2f114585815383322 (diff)
downloadUXP-a02c44648a3f7d6f3904eebba026ce5e6f781bef.tar
UXP-a02c44648a3f7d6f3904eebba026ce5e6f781bef.tar.gz
UXP-a02c44648a3f7d6f3904eebba026ce5e6f781bef.tar.lz
UXP-a02c44648a3f7d6f3904eebba026ce5e6f781bef.tar.xz
UXP-a02c44648a3f7d6f3904eebba026ce5e6f781bef.zip
Teach Sync history engine about TRANSITION_RELOAD visit type.
-rw-r--r--services/sync/modules/engines/history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/modules/engines/history.js b/services/sync/modules/engines/history.js
index 7c8aabf83..e7f53766f 100644
--- a/services/sync/modules/engines/history.js
+++ b/services/sync/modules/engines/history.js
@@ -281,7 +281,7 @@ HistoryStore.prototype = {
}
if (!visit.type || !(visit.type >= PlacesUtils.history.TRANSITION_LINK &&
- visit.type <= PlacesUtils.history.TRANSITION_FRAMED_LINK)) {
+ visit.type <= PlacesUtils.history.TRANSITION_RELOAD)) {
this._log.warn("Encountered record with invalid visit type: "
+ visit.type);
throw "Invalid visit type!";