Closed
Bug 1243819
Opened 8 years ago
Closed 8 years ago
Mock Fetch API for Gaia
Categories
(Firefox OS Graveyard :: General, defect)
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.
Comment 1•8 years ago
|
||
De can use this: https://github.com/github/fetch
Reporter | ||
Comment 2•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1197379#c27
Comment 3•8 years ago
|
||
(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.
Description
•