gecko-dev/dom/cache
Andrea Marchesini 223d7172bf Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz
In this patch, I went through any place in DOM fetch code, where there are
ReadableStreams and update the locked, disturbed, readable checks.

Because we expose streams more often, we need an extra care in the use of
ErrorResult objects. JS streams can now throw exceptions and we need to handle
them.

This patch also fixes a bug in FileStreamReader::CloseAndRelease() which could
be called in case mReader creation fails.
2018-10-31 18:30:18 +01:00
..
test Bug 1425146 - P2 - Add a test reproducing the reported issue to verify that a Cache directory without a padding file and with an old version of the database doesn't break the storage initialization; r=janv 2018-10-25 16:34:56 +02:00
Action.cpp
Action.h
ActorChild.cpp
ActorChild.h
ActorUtils.h
AutoUtils.cpp
AutoUtils.h
Cache.cpp Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
Cache.h
CacheChild.cpp
CacheChild.h
CacheOpChild.cpp
CacheOpChild.h
CacheOpParent.cpp
CacheOpParent.h
CacheParent.cpp
CacheParent.h
CacheStorage.cpp Bug 1489844 - Port DOMPrefs to StaticPrefs - part 9 - dom.serviceWorkers.testing.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
CacheStorage.h Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan 2018-07-10 10:09:59 +02:00
CacheStorageChild.cpp
CacheStorageChild.h
CacheStorageParent.cpp
CacheStorageParent.h
CacheStreamControlChild.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CacheStreamControlChild.h
CacheStreamControlParent.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CacheStreamControlParent.h
CacheTypes.ipdlh
CacheWorkerHolder.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
CacheWorkerHolder.h
Connection.cpp Bug 1435446 - Add a default transaction type for storage connections. r=mak 2018-02-28 22:44:40 -08:00
Connection.h
Context.cpp
Context.h
DBAction.cpp
DBAction.h
DBSchema.cpp Bug 1444151 - Part 4: Remove the now-unnecessary xpcom-style segment getters, r=valentin 2018-04-10 17:49:50 -04:00
DBSchema.h
FileUtils.cpp Bug 1361330 - Part 1: Make quota stream constructors public and move the Create() helpers outside of the stream classes; r=asuth 2018-08-20 14:32:33 +02:00
FileUtils.h
IPCUtils.h
Manager.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
Manager.h
ManagerId.cpp
ManagerId.h
PCache.ipdl
PCacheOp.ipdl
PCacheStorage.ipdl
PCacheStreamControl.ipdl Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku 2018-04-10 17:49:48 -04:00
PrincipalVerifier.cpp
PrincipalVerifier.h
QuotaClient.cpp Bug 1425146 - P1 - Ensure the schema for the cache.sqlite is up to date beforing accessing it; r=janv 2018-09-07 10:28:30 +02:00
QuotaClient.h
ReadStream.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ReadStream.h
SavedTypes.h Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv 2018-06-16 17:21:46 +03:00
StreamControl.cpp
StreamControl.h
StreamList.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
StreamList.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
TypeUtils.cpp Backed out changeset e18103445f9e (bug 1484524) on request from pascalc 2018-10-17 13:56:38 +03:00
TypeUtils.h
Types.h
moz.build