gecko-dev/dom/workers/remoteworkers
Tom Ritter 61152c85e9 Bug 1770498: Add shouldResistFingerprinting to RemoteWorkerData r=asuth
Previously, we initialized WorkerLoadInfo's shouldRFP member
using the Worker's principal at time of construction. It is
better to populate it from the RemoteWorkerData structure.

The RemoteWorkerData's shouldRFP member can be initialized
with the correct context.

In ServiceWorkerPrivateImpl.cpp it has the same effect, before
and after we use ServiceWorkerInfo.mPrincipal

But for SharedWorker.cpp we previously used
RemoteWorkerData.principalInfo (the second of three principal
members).  This was initialized from the WorkerLoadInfo.mPrincipal
member, which in turn came from loadInfo.mChannel which in turn
came from loadInfo.mLoadingPrincipal.

Now we use the WorkerLoadInfo.mShouldResistFingerprinting member
which is initialized from
nsContentUtils::ShouldResistFingerprinting(document) in
WorkerPrivate::GetLoadInfo which can take into account greater
context which will be important in the next few patches.

Differential Revision: https://phabricator.services.mozilla.com/D150590
2022-07-15 20:39:19 +00:00
..
PRemoteWorker.ipdl Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
PRemoteWorkerController.ipdl Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
PRemoteWorkerService.ipdl Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
RemoteWorkerChild.cpp Bug 1770498: Add shouldResistFingerprinting to RemoteWorkerData r=asuth 2022-07-15 20:39:19 +00:00
RemoteWorkerChild.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerController.cpp Bug 1773088 - Part 3: Remove StealFromAndBuildClonedMessageData, r=asuth 2022-06-08 15:24:28 +00:00
RemoteWorkerController.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerControllerChild.cpp Backed out 4 changesets (bug 1715547) for causing leakcheck failures in ServiceWorkerPrivate. CLOSED TREE 2022-05-17 02:27:10 +03:00
RemoteWorkerControllerChild.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerControllerParent.cpp Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
RemoteWorkerControllerParent.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerManager.cpp Backed out 2 changesets (bug 1728331) for causing failures at RTCPeerConnection-videoDetectorTest.html. CLOSED TREE 2022-03-29 00:04:47 +03:00
RemoteWorkerManager.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerParent.cpp Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
RemoteWorkerParent.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerService.cpp Bug 1768930 - Shutdown Remote Worker Service thread only after initialization. r=jstutte 2022-05-13 20:12:29 +00:00
RemoteWorkerService.h Bug 1768930 - Shutdown Remote Worker Service thread only after initialization. r=jstutte 2022-05-13 20:12:29 +00:00
RemoteWorkerServiceChild.cpp Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerServiceChild.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerServiceParent.cpp
RemoteWorkerServiceParent.h Bug 1768189 - Part 44: Apply modernize-concat-nested-namespaces to dom/workers/WorkerStatus.h ... r=andi 2022-05-09 20:41:20 +00:00
RemoteWorkerTypes.ipdlh Bug 1770498: Add shouldResistFingerprinting to RemoteWorkerData r=asuth 2022-07-15 20:39:19 +00:00
moz.build