diff --git a/content/completion.js b/content/completion.js index 23aed55b..d2a0dd54 100644 --- a/content/completion.js +++ b/content/completion.js @@ -867,12 +867,8 @@ function Completion() //{{{ let filter = key + (string || ""); for (let [,obj] in Iterator(objects)) { - try - { - this.context.fork(obj[1], top[OFFSET], this, fill, - obj[0], obj[1], compl, compl != orig, filter, last, key.length); - } - catch (e) { liberator.reportError(e) } + this.context.fork(obj[1], top[OFFSET], this, fill, + obj[0], obj[1], compl, compl != orig, filter, last, key.length); } if (orig) return; @@ -1153,7 +1149,6 @@ function Completion() //{{{ context.format = bookmarks.format; context.completions = bookmarks.get(context.filter) context.filters = []; - liberator.dump(tags); if (tags) context.filters.push(function ({ item: item }) tags.every(function (tag) item.tags.indexOf(tag) > -1)); }, @@ -1519,7 +1514,6 @@ function Completion() //{{{ bookmarks.getSuggestions(name, ctxt.filter, function (compl) { ctxt.incomplete = false; ctxt.completions = compl; - liberator.dump(compl); }); }); }, diff --git a/content/style.js b/content/style.js index 47772f43..de9c4448 100644 --- a/content/style.js +++ b/content/style.js @@ -395,11 +395,7 @@ let (array = util.Array) } const styles = storage.newObject("styles", Styles, false); -try -{ - const highlight = storage.newObject("highlight", Highlights, false); -} -catch (e) { liberator.reportError(e) } +const highlight = storage.newObject("highlight", Highlights, false); liberator.registerObserver("load_commands", function () {