1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 18:47:58 +01:00

Add tests for dead help links. Fix some minor bugs. Show error when trying to modify a builtin group rather than failing silently.

This commit is contained in:
Kris Maglione
2011-02-21 16:22:30 -05:00
parent d62c93aef0
commit 234f50bce8
18 changed files with 92 additions and 50 deletions

View File

@@ -188,6 +188,7 @@ Dactyl.prototype = {
return redirect("dactyl://help/" + tag, uri);
if (tag in this.HELP_TAGS)
return redirect("dactyl://help/" + this.HELP_TAGS[tag] + "#" + tag.replace(/#/g, encodeURIComponent), uri);
break;
case "locale":
return makeChannel(["resource://dactyl-locale", config.locale, path].join("/"), uri);
case "locale-local":
@@ -228,7 +229,7 @@ function StringChannel(data, contentType, uri) {
}
function XMLChannel(uri, contentType) {
let channel = services.io.newChannelFromURI(uri);
var channel = services.io.newChannelFromURI(uri);
try {
var channelStream = channel.open();
}