diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm index 43e152b3..84c03ca9 100644 --- a/common/modules/buffer.jsm +++ b/common/modules/buffer.jsm @@ -172,13 +172,13 @@ var Buffer = Module("Buffer", { climbUrlPath: function climbUrlPath(count) { let { dactyl } = this.modules; - let url = this.documentURI.clone(); + let url = this.uri.clone(); dactyl.assert(url instanceof Ci.nsIURL); while (count-- && url.path != "/") url.path = url.path.replace(/[^\/]*\/*$/, ""); - dactyl.assert(!url.equals(this.documentURI)); + dactyl.assert(!url.equals(this.uri)); dactyl.open(url.spec); },