summaryrefslogtreecommitdiff
path: root/services/sync
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 /services/sync
parent83e8906aa7318aab751e40b2f114585815383322 (diff)
downloaduxp-a02c44648a3f7d6f3904eebba026ce5e6f781bef.tar.gz
Teach Sync history engine about TRANSITION_RELOAD visit type.
Diffstat (limited to 'services/sync')
-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 7c8aabf831..e7f53766fa 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!";