Open Bug 1157434 Opened 9 years ago Updated 2 years ago

Cache Add/AddAll should abort in-flight Fetch requests on error

Categories

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

defect

Tracking

()

People

(Reporter: bkelly, Unassigned)

References

(Blocks 1 open bug)

Details

After bug 1120501 lands the Cache Add() and AddAll() methods will immediately reject when an error occurs without aborting in-progress Fetch requests.  This is mainly because the current FetchRequest() interface does provide a way to abort.

There is ongoing work to expose a public way to abort Fetch requests:

  https://github.com/whatwg/fetch/issues/27

I think we should look at fixing this later once that spec question is resolved.  If its a major problem, though, we can always implement a new internal interface for fetch that allows aborting.
Blocks: 1110136
No longer blocks: ServiceWorkers-B2G
Blocks: ServiceWorkers-postv1
No longer blocks: 1110136
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.