Teach Sync history engine about TRANSITION_RELOAD visit type.

This commit is contained in:
wolfbeast 2018-10-06 12:38:04 +02:00 committed by Roy Tam
commit 78b5433dcd

View file

@ -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!";