From ee5f1a251c51ae7136ef6d16126f8b21a955b558 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 25 Oct 2011 18:06:14 -0400 Subject: [PATCH] Assertions yay. --- common/modules/finder.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/common/modules/finder.jsm b/common/modules/finder.jsm index 58d1ce97..2843f60a 100644 --- a/common/modules/finder.jsm +++ b/common/modules/finder.jsm @@ -607,6 +607,7 @@ var RangeFind = Class("RangeFind", { this.startRange.collapse(!this.reverse); this.lastRange = this.selectedRange; this.range = this.findRange(this.startRange); + util.assert(this.range); this.ranges.first = this.range; this.ranges.forEach(function (range) range.save()); this.forward = null;