Closed Bug 1243819 Opened 8 years ago Closed 8 years ago

Mock Fetch API for Gaia

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ferjm, Unassigned)

Details

Bug 1197379 is removing app:// support from the Fetch API. We can workaround this by creating a mock that uses XHR instead.
Blocks: 1197379
Blocks: 1243670
No longer blocks: 1197379
https://bugzilla.mozilla.org/show_bug.cgi?id=1197379#c27
No longer blocks: 1243670
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #0)
> Bug 1197379 is removing app:// support from the Fetch API.

FWIW I removed service worker app:// interception because it actively harmed us, but supporting app:// URLs in fetch() doesn't, so even if me or someone else had done that intentionally, the right thing to do would be to ask them whether they can add it back before resorting to doing tricks such as mocking the API.
You need to log in before you can comment on or make changes to this bug.