mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 419121 - Weave chokes on microsummaries (r=thunder)
This commit is contained in:
parent
2d0bcb7a9b
commit
26b658a127
@ -369,6 +369,8 @@ BookmarksStore.prototype = {
|
||||
|
||||
if (command.data.type == "microsummary") {
|
||||
this._log.debug(" \-> is a microsummary");
|
||||
this._ans.setItemAnnotation(newId, "bookmarks/staticTitle",
|
||||
command.data.staticTitle || "", 0, this._ans.EXPIRE_NEVER);
|
||||
let genURI = Utils.makeURI(command.data.generatorURI);
|
||||
try {
|
||||
let micsum = this._ms.createMicrosummary(URI, genURI);
|
||||
@ -578,6 +580,7 @@ BookmarksStore.prototype = {
|
||||
item.type = "microsummary";
|
||||
let micsum = this._ms.getMicrosummary(node.itemId);
|
||||
item.generatorURI = micsum.generator.uri.spec; // breaks local generators
|
||||
item.staticTitle = this._ans.getItemAnnotation(node.itemId, "bookmarks/staticTitle");
|
||||
} else if (node.type == node.RESULT_TYPE_QUERY) {
|
||||
item.type = "query";
|
||||
item.title = node.title;
|
||||
|
Loading…
Reference in New Issue
Block a user