Open
Bug 1332251
Opened 6 years ago
Updated 5 months ago
Redesign XHR.timeout tests to use Promises?
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
NEW
People
(Reporter: WeirdAl, Unassigned)
References
Details
I wrote the original tests and implementation for XMLHttpRequest's timeout feature. Since then, there's been a number of intermittent failures because timeouts are inherently not guaranteed to run in the order of the delay you set them by. I've been thinking for a while that while the timeout feature itself relies on a certain number of milliseconds passing, the Promises API may provide a more reliable manner of scheduling the exercising of other features (resetting the timeout, or calling abort early, for instance). Promises were much less mature when I wrote the original feature and tests, and I certainly didn't know very much about them, if anything.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Updated•4 years ago
|
Component: DOM → DOM: Core & HTML
Updated•5 months ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•