1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:27:59 +01:00

Make buffer.UR[LI] nsIURI objects. Fix bug in chrome-data:.

This commit is contained in:
Kris Maglione
2011-01-03 22:00:53 -05:00
parent ec554ac6c9
commit d661d60cb6
11 changed files with 46 additions and 38 deletions

View File

@@ -383,13 +383,13 @@ var Buffer = Module("buffer", {
/**
* @property {string} The current top-level document's URL.
*/
get URL() content.location.href,
get URL() util.newURI(content.location.href),
/**
* @property {string} The current top-level document's URL, sans any
* fragment identifier.
*/
get URI() content.document.documentURI,
get URI() let (doc = content.document) doc.documentURIObject || util.newURI(doc.documentURI),
/**
* @property {number} The buffer's height in pixels.