Closed Bug 989990 Opened 10 years ago Closed 10 years ago

Consider providing add-on compatibility for getShortcutOrURIAndPostData

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Paolo, Assigned: Paolo)

Details

(Keywords: addon-compat)

Bug 989984 changed getShortcutOrURIAndPostData to have a synchronous callback behavior. Some add-ons are using the Promise-based function in other contexts, and now the following compatibility code might be needed:

new Promise(resolve => getShortcutOrURIAndPostData(query, resolve));

I filed this bug to see if we should try to keep compatibility, or ask the few add-ons that require it to use the above line of code instead.
Flags: needinfo?(mano)
I'd rather notify the addon authors. The promise-variant is pretty new.
Flags: needinfo?(mano)
OK, adding the comment in bug 989984.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.