Open Bug 1428669 Opened 7 years ago Updated 2 years ago

omnibox onInputChanged not fired on empty text

Categories

(WebExtensions :: General, enhancement, P5)

58 Branch
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: egil, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [omnibox])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171024165158 Steps to reproduce: 1. Enter ominbox keyword for the extension. 2. Press space. Actual results: Only default suggestion appears. The `onInputChanged` event is not fired. Note! If then (after `keyword `) I type something and backspace I will get the `onInputChanged` event. So this is inconsistent. Expected results: Fire `onInputChanged` after space character. Pass it an empty text. Use case: I have a search engine extension. When someone types in the keyword I would like to display all (or top) available options.
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Severity: normal → enhancement
Priority: -- → P5
Whiteboard: [omnibox]
Product: Toolkit → WebExtensions
Component: Untriaged → General
Severity: normal → S3
Blocks: 1166831
You need to log in before you can comment on or make changes to this bug.