diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-02-02 09:26:56 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-02-02 09:26:56 -0500 |
commit | 5576a5f5e617ebd70a63994a8446e6725237f24c (patch) | |
tree | d5d1063b7b5b48f6486a9bb5d258997e6642b9f0 /common/modules/base.jsm | |
parent | 8507b4f232df02cfba912dc8ad7dcf154587a269 (diff) | |
download | pentadactyl-5576a5f5e617ebd70a63994a8446e6725237f24c.tar.gz |
Only explicitly demangle subscript URIs rather than doing it automatically in newURI. Closes issue #185.
Diffstat (limited to 'common/modules/base.jsm')
-rw-r--r-- | common/modules/base.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/base.jsm b/common/modules/base.jsm index badf93f8..c456a9d9 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -281,7 +281,7 @@ function deprecated(alternative, fn) { let obj = this.className ? this.className + "#" : this.constructor.className ? this.constructor.className + "#" : ""; - let filename = (frame.filename || "unknown").replace(/.* -> /, ""); + let filename = util.fixURI(frame.filename || "unknown"); if (!set.add(deprecatedMethod.seen, filename)) util.dactyl(fn).warn( util.urlPath(filename) + ":" + frame.lineNumber + ": " + |