Open Bug 360871 Opened 19 years ago Updated 7 months ago

XMLHttpRequest callbacks can fire while a modal dialog is open

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Assignee: general → nobody
QA Contact: ian → general
On second thought, we won't be blocking on this bug. And Jonas says it's hard :)
Flags: blocking1.9+ → blocking1.9-
Blocks: xhr
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
Attachment #9383473 - Attachment is obsolete: true

Olli, do you know if this is fixable at all, and what the current situation is wrt e.g. fetch, Promise microtasks and other things that are async - maybe in the intervening 17 years this has gotten easier than Jonas thought back in 2007? :-)

Flags: needinfo?(smaug)
See Also: → 1944926

This isn't any easier now than it was then.

fetch + streams might work reasonable well since they are more promise based and promises get automatically postponed if the relevant content process, or rather the relevant window is triggering a modal dialog.

Hmm, maybe XHR could wrap various event dispatching somehow to microtasks... except that it would break sync calls.

Flags: needinfo?(smaug)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: