Open Bug 1751953 Opened 3 years ago Updated 2 years ago

Async nsIPromptService methods are blocking

Categories

(Toolkit :: Content Prompts, defect)

defect

Tracking

()

People

(Reporter: emz, Unassigned)

References

(Blocks 1 open bug)

Details

Calls to the async prompt methods of nsIPromptService seem to be blocking. This seems to be a regression.

For example, running

Services.prompt.asyncAlert(gBrowser.selectedBrowser.browsingContext, Services.prompt.MODAL_TYPE_WINDOW, "test", "test")

in the browser console will only return a promise once the prompt is closed.

The severity field is not set for this bug.
:tspurway, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(tspurway)
Severity: -- → S3
Flags: needinfo?(tspurway)
Component: Notifications and Alerts → Content Prompts
Blocks: 1848014
You need to log in before you can comment on or make changes to this bug.