summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-25 21:02:41 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-25 21:02:41 -0500
commitb81f4be8fdcc21fca4d418f35d6c86e5c2bb3c91 (patch)
treed36a2668290d9f2a1ba0470d4193ab5adfa8c4b8 /common
parent44bdb6e6661c941423456445052c5bcc65d80452 (diff)
downloadpentadactyl-b81f4be8fdcc21fca4d418f35d6c86e5c2bb3c91.tar.gz
Fix buffer.URL on FF4.
Diffstat (limited to 'common')
-rw-r--r--common/content/buffer.js2
-rw-r--r--common/modules/io.jsm2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js
index 5a902d79..999e1710 100644
--- a/common/content/buffer.js
+++ b/common/content/buffer.js
@@ -425,7 +425,7 @@ var Buffer = Module("buffer", {
/**
* @property {string} The current top-level document's URL.
*/
- get URL() update(content.location.href, util.newURI(content.location.href)),
+ get URL() update(new String(content.location.href), util.newURI(content.location.href)),
/**
* @property {number} The buffer's height in pixels.
diff --git a/common/modules/io.jsm b/common/modules/io.jsm
index a60c4ea5..f98c363f 100644
--- a/common/modules/io.jsm
+++ b/common/modules/io.jsm
@@ -921,7 +921,7 @@ unlet s:cpo_save
isDirectory: function () s.substr(-1) == "/",
leafName: /([^\/]*)\/?$/.exec(s)[1]
}
- for (s in io.listJar(getDir(uri.JARFile, uri.JAREntry)))]
+ for (s in io.listJar(uri.JARFile, getDir(uri.JAREntry)))]
};
else
context.generate = function generate_file() {