gecko-dev/dom/serviceworkers
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 1501978 - Part 2: Remove the browser.contentblocking.enabled pref from the tests that set it to true needlessly r=baku 2018-10-30 07:47:56 +00:00
IPCServiceWorkerDescriptor.ipdlh Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap 2018-07-02 07:44:19 -07:00
IPCServiceWorkerRegistrationDescriptor.ipdlh Bug 1459209 P14 Implement RemoteServiceWorkerContainerImpl::GetRegistrations() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:41 -07:00
moz.build Bug 1459209 P7 Scaffold a ServiceWorkerContainerProxy class to connect the parent actor to the main thread SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
PServiceWorker.ipdl Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
PServiceWorkerContainer.ipdl Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:41 -07:00
PServiceWorkerManager.ipdl
PServiceWorkerRegistration.ipdl Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap 2018-07-09 16:02:40 -07:00
PServiceWorkerUpdater.ipdl
RemoteServiceWorkerContainerImpl.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
RemoteServiceWorkerContainerImpl.h Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
RemoteServiceWorkerImpl.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
RemoteServiceWorkerImpl.h Bug 1459209 P2 Scaffold RemoteServiceWorkerImpl to connect the binding ServiceWorker to the PServiceWorkerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
RemoteServiceWorkerRegistrationImpl.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
RemoteServiceWorkerRegistrationImpl.h Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorker.cpp Bug 1502802 - Implement PostMessageOptions for Client and ServiceWorker, r=smaug 2018-10-29 16:26:30 +01:00
ServiceWorker.h Bug 1502802 - Implement PostMessageOptions for Client and ServiceWorker, r=smaug 2018-10-29 16:26:30 +01:00
ServiceWorkerActors.cpp Bug 1459209 P4 Scaffold RemoteServiceWorkerRegistrationImpl to connect the binding registration to the actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerActors.h Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerChild.cpp Bug 1459209 P2 Scaffold RemoteServiceWorkerImpl to connect the binding ServiceWorker to the PServiceWorkerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerChild.h Bug 1459209 P2 Scaffold RemoteServiceWorkerImpl to connect the binding ServiceWorker to the PServiceWorkerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerCloneData.cpp Bug 1462466 P1 Add a ServiceWorkerCloneData type with threadsafe ref-counting. r=baku 2018-06-25 07:03:18 -07:00
ServiceWorkerCloneData.h Bug 1462466 P1 Add a ServiceWorkerCloneData type with threadsafe ref-counting. r=baku 2018-06-25 07:03:18 -07:00
ServiceWorkerContainer.cpp Bug 1399446 - implement ServiceWorkerGlobalScope and ServiceWorkerContainer onmessageerror event handlers r=edenchuang,baku 2018-10-22 21:22:25 +00:00
ServiceWorkerContainer.h Bug 1399446 - implement ServiceWorkerGlobalScope and ServiceWorkerContainer onmessageerror event handlers r=edenchuang,baku 2018-10-22 21:22:25 +00:00
ServiceWorkerContainerChild.cpp Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerContainerChild.h Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerContainerImpl.cpp Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerContainerImpl.h Bug 1466681 P4 Make ServiceWorkerContainer::Inner::GetRegistrations() use callbacks instead of MozPromise. r=asuth 2018-06-15 12:21:33 -07:00
ServiceWorkerContainerParent.cpp Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerContainerParent.h Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerContainerProxy.cpp Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerContainerProxy.h Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerDescriptor.cpp Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerDescriptor.h Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerEvents.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
ServiceWorkerEvents.h Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
ServiceWorkerImpl.cpp Bug 1462772 P5 Remove now-unused Listener logic in ServiceWorkerInfo. r=mrbkap 2018-07-02 07:44:18 -07:00
ServiceWorkerImpl.h Bug 1462772 P5 Remove now-unused Listener logic in ServiceWorkerInfo. r=mrbkap 2018-07-02 07:44:18 -07:00
ServiceWorkerInfo.cpp Bug 1469048 Disable service worker propagation when e10s pref is enabled. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerInfo.h Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerInterceptController.cpp
ServiceWorkerInterceptController.h
ServiceWorkerIPCUtils.h Bug 1433505 P1 Add the ServiceWorkerRegistrationDescriptor and backing IPC type. r=asuth 2018-01-31 08:29:49 -08:00
ServiceWorkerJob.cpp Bug 1459209 P4 Scaffold RemoteServiceWorkerRegistrationImpl to connect the binding registration to the actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerJob.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerJobQueue.cpp Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerJobQueue.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerManager.cpp Bug 1488792: Reject calls to update() while service worker in 'installing' state r=asuth 2018-10-10 08:20:01 +00:00
ServiceWorkerManager.h Bug 1482921 - The ServiceWorkerManager should no longer use these types. r=asuth 2018-08-14 07:59:11 +00:00
ServiceWorkerManagerChild.cpp Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerManagerChild.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerManagerParent.cpp Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerManagerParent.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerManagerService.cpp Bug 1469048 Disable service worker propagation when e10s pref is enabled. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerManagerService.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerParent.cpp Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerParent.h Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerPrivate.cpp Bug 1399446 - implement ServiceWorkerGlobalScope and ServiceWorkerContainer onmessageerror event handlers r=edenchuang,baku 2018-10-22 21:22:25 +00:00
ServiceWorkerPrivate.h Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerProxy.cpp Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerProxy.h Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerRegisterJob.cpp Bug 1462466 P1 Add a ServiceWorkerCloneData type with threadsafe ref-counting. r=baku 2018-06-25 07:03:18 -07:00
ServiceWorkerRegisterJob.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerRegistrar.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
ServiceWorkerRegistrar.h Bug 1452373 Only allow one runnable to write to serviceworker.txt at a time. r=asuth 2018-04-10 12:31:18 -07:00
ServiceWorkerRegistrarTypes.ipdlh
ServiceWorkerRegistration.cpp Bug 1472303 - Backed out changeset 8a40d04dfcbb. r=asuth 2018-08-24 10:24:28 -04:00
ServiceWorkerRegistration.h Bug 1472005 Don't resolve ready promise until the registration has reached the right state version. r=mrbkap 2018-07-05 13:13:48 -04:00
ServiceWorkerRegistrationChild.cpp Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerRegistrationChild.h Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerRegistrationDescriptor.cpp Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerRegistrationDescriptor.h Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerRegistrationImpl.cpp Bug 1472303 - Backed out changeset 8a40d04dfcbb. r=asuth 2018-08-24 10:24:28 -04:00
ServiceWorkerRegistrationImpl.h Bug 1471929 P3 Remove the old updatefound infrastructure in favor of always updating the registration state and auto-dispatch. r=mrbkap 2018-07-05 13:13:48 -04:00
ServiceWorkerRegistrationInfo.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
ServiceWorkerRegistrationInfo.h Bug 1471706 P2 Maintain a version list of ServiceWorkerRegistrationInfo state changes. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerRegistrationListener.h Bug 1471929 P3 Remove the old updatefound infrastructure in favor of always updating the registration state and auto-dispatch. r=mrbkap 2018-07-05 13:13:48 -04:00
ServiceWorkerRegistrationParent.cpp Bug 1459209 P10 Implement RemoteServiceWorkerRegistrationImpl::Unregister() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerRegistrationParent.h Bug 1459209 P10 Implement RemoteServiceWorkerRegistrationImpl::Unregister() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerRegistrationProxy.cpp Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerRegistrationProxy.h Bug 1459209 P10 Implement RemoteServiceWorkerRegistrationImpl::Unregister() across IPC to the parent-side SWM. r=mrbkap 2018-07-09 16:02:40 -07:00
ServiceWorkerScriptCache.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
ServiceWorkerScriptCache.h Bug 1459209 P4 Scaffold RemoteServiceWorkerRegistrationImpl to connect the binding registration to the actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerUnregisterJob.cpp Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerUnregisterJob.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerUpdateJob.cpp Bug 1459209 P2 Scaffold RemoteServiceWorkerImpl to connect the binding ServiceWorker to the PServiceWorkerChild actor. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerUpdateJob.h Bug 1471631 Move ServiceWorkerManager::AddRegistrationEventListener() code to ServiceWorkerRegistrationInfo. r=mrbkap 2018-07-02 07:44:19 -07:00
ServiceWorkerUpdaterChild.cpp Bug 1469048 Disable service worker propagation when e10s pref is enabled. r=mrbkap 2018-07-09 16:02:41 -07:00
ServiceWorkerUpdaterChild.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerUpdaterParent.cpp Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerUpdaterParent.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
ServiceWorkerUtils.cpp Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap 2018-07-09 16:02:39 -07:00
ServiceWorkerUtils.h Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap 2018-07-09 16:02:39 -07:00