gecko-dev/dom/serviceworkers
Yaron Tausky c24bfb26ba Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang
A previous patch added code paths that propagate the preload response
from the parent process's main thread to the service worker in the
content process, but left out the conversions between different stream
types. This commit adds these conversions.

Based on D122822.

Differential Revision: https://phabricator.services.mozilla.com/D131380
2021-11-22 14:09:24 +00:00
..
docs Bug 1693074 - Adding telemetry for evaluating the duration of fetch event dispatching and response synthesizing. r=dom-worker-reviewers,asuth 2021-08-22 11:02:18 +00:00
test Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin 2021-11-17 11:04:34 +00:00
FetchEventOpChild.cpp Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
FetchEventOpChild.h Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
FetchEventOpParent.cpp Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
FetchEventOpParent.h Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
FetchEventOpProxyChild.cpp Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
FetchEventOpProxyChild.h Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
FetchEventOpProxyParent.cpp Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
FetchEventOpProxyParent.h Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
IPCNavigationPreloadState.ipdlh Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
IPCServiceWorkerDescriptor.ipdlh Bug 1689147 - Part 5: Change comparable to an extended attribute, r=mccr8 2021-02-09 16:50:23 +00:00
IPCServiceWorkerRegistrationDescriptor.ipdlh Bug 1689147 - Part 5: Change comparable to an extended attribute, r=mccr8 2021-02-09 16:50:23 +00:00
NavigationPreloadManager.cpp Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
NavigationPreloadManager.h Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
PFetchEventOp.ipdl Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
PFetchEventOpProxy.ipdl Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
PServiceWorker.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
PServiceWorkerContainer.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
PServiceWorkerManager.ipdl Bug 1496997 - Remove a chunk of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg 2021-06-08 21:02:54 +00:00
PServiceWorkerRegistration.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
RemoteServiceWorkerContainerImpl.cpp
RemoteServiceWorkerContainerImpl.h
RemoteServiceWorkerImpl.cpp
RemoteServiceWorkerImpl.h
RemoteServiceWorkerRegistrationImpl.cpp Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
RemoteServiceWorkerRegistrationImpl.h Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
ServiceWorker.cpp Bug 1722576 - Rename PostMessageOptions to StructuredSerializeOptions. r=smaug 2021-09-29 12:48:17 +00:00
ServiceWorker.h Bug 1722576 - Rename PostMessageOptions to StructuredSerializeOptions. r=smaug 2021-09-29 12:48:17 +00:00
ServiceWorkerActors.cpp
ServiceWorkerActors.h
ServiceWorkerChild.cpp
ServiceWorkerChild.h
ServiceWorkerCloneData.cpp
ServiceWorkerCloneData.h
ServiceWorkerContainer.cpp Bug 1496997 - Remove a chunk of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg 2021-06-08 21:02:54 +00:00
ServiceWorkerContainer.h
ServiceWorkerContainerChild.cpp
ServiceWorkerContainerChild.h
ServiceWorkerContainerParent.cpp
ServiceWorkerContainerParent.h
ServiceWorkerContainerProxy.cpp
ServiceWorkerContainerProxy.h
ServiceWorkerDescriptor.cpp
ServiceWorkerDescriptor.h
ServiceWorkerEvents.cpp Bug 1577346 - P3 Make InternalResponse be SafeRefcounted. r=dom-worker-reviewers,ytausky 2021-11-08 13:29:32 +00:00
ServiceWorkerEvents.h Bug 1577346 - P1 Webidl FetchEvent.preloadResponse implementation. r=dom-worker-reviewers,asuth 2021-11-08 13:29:31 +00:00
ServiceWorkerIPCUtils.h
ServiceWorkerInfo.cpp Bug 1503072 - Navigation fault interception test support. r=dom-worker-reviewers,edenchuang 2021-07-12 21:10:26 +00:00
ServiceWorkerInfo.h Bug 1503072 - Navigation fault interception test support. r=dom-worker-reviewers,edenchuang 2021-07-12 21:10:26 +00:00
ServiceWorkerInterceptController.cpp Bug 1496997 - Remove a chunk of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg 2021-06-08 21:02:54 +00:00
ServiceWorkerInterceptController.h
ServiceWorkerJob.cpp
ServiceWorkerJob.h
ServiceWorkerJobQueue.cpp
ServiceWorkerJobQueue.h
ServiceWorkerManager.cpp Backed out 12 changesets (bug 1731982, bug 1736401) for causing crashes. a=backout 2021-11-09 09:23:38 +02:00
ServiceWorkerManager.h Bug 1722502 - P2 Provide quota check finishing notification mechanism in ServiceWorker for testing. r=dom-worker-reviewers,asuth 2021-08-30 09:24:32 +00:00
ServiceWorkerManagerChild.h Bug 1496997 - Remove a chunk of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg 2021-06-08 21:02:54 +00:00
ServiceWorkerManagerParent.cpp Bug 1496997 - Remove a chunk of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg 2021-06-08 21:02:54 +00:00
ServiceWorkerManagerParent.h Bug 1496997 - Remove a chunk of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg 2021-06-08 21:02:54 +00:00
ServiceWorkerOp.cpp Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
ServiceWorkerOp.h Bug 1577346 - P4 IPC implementation for FetchEvent.preloadResponse. r=dom-worker-reviewers,ytausky 2021-11-09 20:24:27 +00:00
ServiceWorkerOpArgs.ipdlh Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
ServiceWorkerOpPromise.h Bug 1577346 - P4 IPC implementation for FetchEvent.preloadResponse. r=dom-worker-reviewers,ytausky 2021-11-09 20:24:27 +00:00
ServiceWorkerParent.cpp
ServiceWorkerParent.h
ServiceWorkerPrivate.cpp Backed out 12 changesets (bug 1731982, bug 1736401) for causing crashes. a=backout 2021-11-09 09:23:38 +02:00
ServiceWorkerPrivate.h
ServiceWorkerPrivateImpl.cpp Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
ServiceWorkerPrivateImpl.h Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
ServiceWorkerProxy.cpp
ServiceWorkerProxy.h
ServiceWorkerQuotaUtils.cpp Bug 1722502 - P3 Quota usage mitigation algorithm implementation. r=dom-worker-reviewers,asuth 2021-08-30 09:24:32 +00:00
ServiceWorkerQuotaUtils.h Bug 1722502 - P3 Quota usage mitigation algorithm implementation. r=dom-worker-reviewers,asuth 2021-08-30 09:24:32 +00:00
ServiceWorkerRegisterJob.cpp
ServiceWorkerRegisterJob.h
ServiceWorkerRegistrar.cpp Bug 1725145 - header files fixes in the hybrid build env. r=valentin 2021-08-22 10:21:55 +00:00
ServiceWorkerRegistrar.h Bug 1638099 - Cover with an explicit xpcshell test the expected service worker lifecycle events on addon reload and browser restart. r=asuth,mixedpuppy 2021-07-26 17:52:26 +00:00
ServiceWorkerRegistrarTypes.ipdlh Bug 1564235 - P5 Save NavigationPreload data into serviceworker.txt. r=dom-worker-reviewers,asuth 2021-06-10 06:01:28 +00:00
ServiceWorkerRegistration.cpp Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
ServiceWorkerRegistration.h Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
ServiceWorkerRegistrationChild.cpp
ServiceWorkerRegistrationChild.h
ServiceWorkerRegistrationDescriptor.cpp
ServiceWorkerRegistrationDescriptor.h
ServiceWorkerRegistrationInfo.cpp Bug 1722502 - P1 Implement the quota usage checking methods in ServiceWorker for quota usage mitigation. r=dom-worker-reviewers,asuth 2021-08-30 09:24:31 +00:00
ServiceWorkerRegistrationInfo.h Bug 1722502 - P1 Implement the quota usage checking methods in ServiceWorker for quota usage mitigation. r=dom-worker-reviewers,asuth 2021-08-30 09:24:31 +00:00
ServiceWorkerRegistrationListener.h
ServiceWorkerRegistrationParent.cpp Bug 1564235 - P4 Save NavigationPreload data in ServiceWorkerRegistration Info. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
ServiceWorkerRegistrationParent.h Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
ServiceWorkerRegistrationProxy.cpp Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug. 2021-09-07 08:01:18 +00:00
ServiceWorkerRegistrationProxy.h Bug 1564235 - P4 Save NavigationPreload data in ServiceWorkerRegistration Info. r=dom-worker-reviewers,asuth 2021-06-10 06:01:27 +00:00
ServiceWorkerScriptCache.cpp Bug 1577346 - P3 Make InternalResponse be SafeRefcounted. r=dom-worker-reviewers,ytausky 2021-11-08 13:29:32 +00:00
ServiceWorkerScriptCache.h
ServiceWorkerShutdownBlocker.cpp Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug. 2021-09-07 08:01:18 +00:00
ServiceWorkerShutdownBlocker.h Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug. 2021-09-07 08:01:18 +00:00
ServiceWorkerShutdownState.cpp Bug 1496997 - Remove rest of child intercept code from dom/serviceworkers r=asuth,dom-workers-and-storage-reviewers,sg,jdescottes,nchevobbe 2021-06-08 21:02:54 +00:00
ServiceWorkerShutdownState.h
ServiceWorkerUnregisterCallback.cpp
ServiceWorkerUnregisterCallback.h
ServiceWorkerUnregisterJob.cpp
ServiceWorkerUnregisterJob.h
ServiceWorkerUpdateJob.cpp
ServiceWorkerUpdateJob.h
ServiceWorkerUtils.cpp Bug 1496997 - Remove ServiceWorkerParentInterceptEnabled() and callers r=asuth,dom-workers-and-storage-reviewers,necko-reviewers,dragana 2021-06-08 21:02:55 +00:00
ServiceWorkerUtils.h Bug 1723050 - Part 26: Replace typedef by using in dom/serviceworkers/ r=dom-worker-reviewers,edenchuang 2021-08-11 14:41:34 +00:00
moz.build Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00