Open Bug 1842970 Opened 10 months ago Updated 9 months ago

Pass failing xhr WPTs related to aborting XMLHttpRequests on workers

Categories

(Core :: DOM: Networking, defect, P2)

defect

Tracking

()

People

(Reporter: twisniewski, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged][necko-monitor])

Our logic for workers is a bit off from the spec. We should be firing abort events right away when abort is called, not wait for the main thread to send us its related events. We can do this by ignoring all of the main-thread-sent abort events (save for the loadstarts and upload.loadend, so we know whether we have upload listeners).

We also don't quite follow the spec in other subtler terms that are most easily addressed by updating our implementation to just more closely match the spec-text around the related methods, and reduce the complexity of the code around abort events.

This would let us pass the last three WPTs related to this:

I have a patch in progress to do this.

Summary: Pass failing xhr WPTs related to aborting XMLHttpRequests on worker → Pass failing xhr WPTs related to aborting XMLHttpRequests on workers
Component: DOM: Core & HTML → DOM: Networking
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged][necko-monitor]
Depends on: 1848004
You need to log in before you can comment on or make changes to this bug.