Ubiquity Asynchronous Noun Suggestions are not working

RESOLVED INVALID

Status

defect
--
major
RESOLVED INVALID
10 years ago
9 years ago

People

(Reporter: irakli, Assigned: avarma)

Tracking

Details

(URL)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3
Build Identifier: 0.2pre24

It appears as though Ubiquity has regressed in the case where an
asynchronous noun-type initially returns NO suggestions but later
returns some.  So for instance, the following noun type works:

var Suggester = {
        _name : 'Suggester',

        suggest : function(text, html, makeSuggestion) {

            Utils.setTimeout(function suggestAsync() {
                for each (var number in [1,2,3,4]) {
                    //Components.utils.reportError("making a sugg.");
                    makeSuggestion({
                        text : number,
                        summary : number,
                        html : number
                    });
                }
            }, 300);
            return [CmdUtils.makeSugg("blah")];
        }
    }

If you remove the 'CmdUtils.makeSugg("blah")', then this noun type
will appear to stop working.



Reproducible: Always

Comment 2

9 years ago
Shouldn't be an issue in 0.5.
Parser 2 relies on this working correctly as it parses async.
Marking as RESOLVED INVALID, per comment 2.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.