aaed65498a5680f3825f36113ad048f948d2887e: Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r?dimi draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:27:02 +0000 - rev 4030548
Push 741659 by reviewbot at Mon, 18 Oct 2021 08:28:00 +0000
Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r?dimi Summary: Differential Revision: https://phabricator.services.mozilla.com/D127627 Test Plan: Reviewers: dimi Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-pivnzfe76ufsnzkzcpr3
0e705dfe32de197ecc5b66ef1fc9f5dee6fcf674: try_task_config for https://phabricator.services.mozilla.com/D127631 draft
libmozevent <release-mgmt-analysis@mozilla.com> - Mon, 18 Oct 2021 08:24:28 +0000 - rev 4030547
Push 741658 by reviewbot at Mon, 18 Oct 2021 08:27:09 +0000
try_task_config for https://phabricator.services.mozilla.com/D127631 Differential Diff: PHID-DIFF-pmyq7r73m3nhtaa2htg7
31ad378897b6af3b7558cacbc4c4134bdc0595bc: Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:24:25 +0000 - rev 4030546
Push 741658 by reviewbot at Mon, 18 Oct 2021 08:27:09 +0000
Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r?asuth Summary: To support foreign partitioned prinicpal for Client, we use StoragePrincipalHelper::GetPrincipal() to get the foreign partitioned principal from the channel in the ClientChannelHelper. And use it to create client. Differential Revision: https://phabricator.services.mozilla.com/D127631 Depends on D127630 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-pmyq7r73m3nhtaa2htg7
67fb808b8b4e67d76db95d6cf79e443ecf17d060: Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:24:23 +0000 - rev 4030545
Push 741658 by reviewbot at Mon, 18 Oct 2021 08:27:09 +0000
Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r?asuth Summary: Currently, we use the node principal to create clientSource in nsGloblaWindowInner. This patch change this to use foreign partitioned principal. Differential Revision: https://phabricator.services.mozilla.com/D127630 Depends on D127629 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-zphyxo3llpchxaudscur
dbccdffdeaf779bc6f3b21bd25674a199807823b: Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:24:21 +0000 - rev 4030544
Push 741658 by reviewbot at Mon, 18 Oct 2021 08:27:09 +0000
Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r?asuth Summary: Currently, we are using the regular principal and inherited regular principal to create clientSource in nsDocShell. This patch makes the nsDocshell to use the partitioned principal if needed. Differential Revision: https://phabricator.services.mozilla.com/D127629 Depends on D127628 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-zbzcjkohsevvgia2fz7v
b989ffebb6c676dfcea9ff7e20db18fdd3ebc1be: Bug 1731982 - Part 2: Implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker(). r?dimi draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:24:18 +0000 - rev 4030543
Push 741658 by reviewbot at Mon, 18 Oct 2021 08:27:09 +0000
Bug 1731982 - Part 2: Implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker(). r?dimi Summary: We implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker() to help with deciding the principal needed to be used when creating a initial clientSource in docShell. Differential Revision: https://phabricator.services.mozilla.com/D127628 Test Plan: Reviewers: dimi Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-ekvjen33bnnk5fjjyhdj
c63493a888f6c7daa4e93c9191ed4adaf6840b02: Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r?dimi draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:24:16 +0000 - rev 4030542
Push 741658 by reviewbot at Mon, 18 Oct 2021 08:27:09 +0000
Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r?dimi Summary: Differential Revision: https://phabricator.services.mozilla.com/D127627 Test Plan: Reviewers: dimi Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-pivnzfe76ufsnzkzcpr3
41f82eb9d8ad34beab2f5dcfa46d62dafc2a5377: try_task_config for https://phabricator.services.mozilla.com/D127840 draft
libmozevent <release-mgmt-analysis@mozilla.com> - Mon, 18 Oct 2021 08:25:46 +0000 - rev 4030541
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
try_task_config for https://phabricator.services.mozilla.com/D127840 Differential Diff: PHID-DIFF-j7a2sqou5wv7p3iqbyl4
c39cfbe9c8700582ff291571e18bdc511453df33: Bug 1731982 - Part 7: Use the client's principal to verify client in localStorage. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:42 +0000 - rev 4030540
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 7: Use the client's principal to verify client in localStorage. r?asuth Summary: Currently, we use the script principal to verify the client to prevent the principal forgery. After we moving to use foreign partitioned principal for the Client, this no longer works. Instead, we can directly use the client's principal to verify client. Also, the patch rename StoragePrincipalHelper::VerifyValidStoragePrincipalInfoForPrincipalInfo() to StoragePrincipalHelper::VerifyValidPartitionedPrincipalInfoForPrincipalInfo() and fix a problem in the function that it should ignore the PartitionKey instead of the FirstPartyDomain. Differential Revision: https://phabricator.services.mozilla.com/D127840 Depends on D127632 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-j7a2sqou5wv7p3iqbyl4
a9344600a89849ebf8614594ce9757836cbde070: Bug 1731982 - Part 6: Using foreign partitioned principal when creating clientSource in ServiceWorkerManager. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:39 +0000 - rev 4030539
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 6: Using foreign partitioned principal when creating clientSource in ServiceWorkerManager. r?asuth Summary: Currently, the ServiceWorkerManager creates a content prinipcal based on the regular originAttributes when dispatch the fetch event. This patch changes to use the foreign partitioned originAttributs. Note that we don't add tests for this because the change doesn't change the behavior. And we don't enable partitioned third-party Service Worker. So, the existing test cases is enough for this. Differential Revision: https://phabricator.services.mozilla.com/D127632 Depends on D127631 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-2m7is2mgoninfcd7mc7a
993f77cff60929c340dba5d167d3245f1f1f8e19: Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:37 +0000 - rev 4030538
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r?asuth Summary: To support foreign partitioned prinicpal for Client, we use StoragePrincipalHelper::GetPrincipal() to get the foreign partitioned principal from the channel in the ClientChannelHelper. And use it to create client. Differential Revision: https://phabricator.services.mozilla.com/D127631 Depends on D127630 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-pmyq7r73m3nhtaa2htg7
85110c1da2b250754e7ced39f076705e2948ad21: Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:34 +0000 - rev 4030537
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r?asuth Summary: Currently, we use the node principal to create clientSource in nsGloblaWindowInner. This patch change this to use foreign partitioned principal. Differential Revision: https://phabricator.services.mozilla.com/D127630 Depends on D127629 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-zphyxo3llpchxaudscur
17292fb7d7df9300443cc03f3233e8ca6ee00665: Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:32 +0000 - rev 4030536
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r?asuth Summary: Currently, we are using the regular principal and inherited regular principal to create clientSource in nsDocShell. This patch makes the nsDocshell to use the partitioned principal if needed. Differential Revision: https://phabricator.services.mozilla.com/D127629 Depends on D127628 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-zbzcjkohsevvgia2fz7v
e6831d5d20e55259a5ae8c385594e4b2a6092134: Bug 1731982 - Part 2: Implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker(). r?dimi draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:30 +0000 - rev 4030535
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 2: Implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker(). r?dimi Summary: We implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker() to help with deciding the principal needed to be used when creating a initial clientSource in docShell. Differential Revision: https://phabricator.services.mozilla.com/D127628 Test Plan: Reviewers: dimi Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-ekvjen33bnnk5fjjyhdj
e4cd7c42fc414718a92021549c42188a2b2e2043: Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r?dimi draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:28 +0000 - rev 4030534
Push 741657 by reviewbot at Mon, 18 Oct 2021 08:26:20 +0000
Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r?dimi Summary: Differential Revision: https://phabricator.services.mozilla.com/D127627 Test Plan: Reviewers: dimi Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-pivnzfe76ufsnzkzcpr3
3ef85fb7c0d57eeec59f5ff10b799b3314c56190: try_task_config for https://phabricator.services.mozilla.com/D127632 draft
libmozevent <release-mgmt-analysis@mozilla.com> - Mon, 18 Oct 2021 08:25:10 +0000 - rev 4030533
Push 741656 by reviewbot at Mon, 18 Oct 2021 08:25:30 +0000
try_task_config for https://phabricator.services.mozilla.com/D127632 Differential Diff: PHID-DIFF-2m7is2mgoninfcd7mc7a
51cbbd6a55cbd246a5cc6d538524f52b6e055b0a: Bug 1731982 - Part 6: Using foreign partitioned principal when creating clientSource in ServiceWorkerManager. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:06 +0000 - rev 4030532
Push 741656 by reviewbot at Mon, 18 Oct 2021 08:25:30 +0000
Bug 1731982 - Part 6: Using foreign partitioned principal when creating clientSource in ServiceWorkerManager. r?asuth Summary: Currently, the ServiceWorkerManager creates a content prinipcal based on the regular originAttributes when dispatch the fetch event. This patch changes to use the foreign partitioned originAttributs. Note that we don't add tests for this because the change doesn't change the behavior. And we don't enable partitioned third-party Service Worker. So, the existing test cases is enough for this. Differential Revision: https://phabricator.services.mozilla.com/D127632 Depends on D127631 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-2m7is2mgoninfcd7mc7a
f1f2834013064000636d6000f1f3031f49cb73f6: Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:04 +0000 - rev 4030531
Push 741656 by reviewbot at Mon, 18 Oct 2021 08:25:30 +0000
Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r?asuth Summary: To support foreign partitioned prinicpal for Client, we use StoragePrincipalHelper::GetPrincipal() to get the foreign partitioned principal from the channel in the ClientChannelHelper. And use it to create client. Differential Revision: https://phabricator.services.mozilla.com/D127631 Depends on D127630 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-pmyq7r73m3nhtaa2htg7
10f079e48088572d61712159afc254ccab703176: Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:25:02 +0000 - rev 4030530
Push 741656 by reviewbot at Mon, 18 Oct 2021 08:25:30 +0000
Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r?asuth Summary: Currently, we use the node principal to create clientSource in nsGloblaWindowInner. This patch change this to use foreign partitioned principal. Differential Revision: https://phabricator.services.mozilla.com/D127630 Depends on D127629 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-zphyxo3llpchxaudscur
cd5fdd11e14a6d938a915e7aa8c860a54708402a: Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r?asuth draft
Tim Huang <tihuang@mozilla.com> - Mon, 18 Oct 2021 08:24:59 +0000 - rev 4030529
Push 741656 by reviewbot at Mon, 18 Oct 2021 08:25:30 +0000
Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r?asuth Summary: Currently, we are using the regular principal and inherited regular principal to create clientSource in nsDocShell. This patch makes the nsDocshell to use the partitioned principal if needed. Differential Revision: https://phabricator.services.mozilla.com/D127629 Depends on D127628 Test Plan: Reviewers: asuth Subscribers: Bug #: 1731982 Differential Diff: PHID-DIFF-zbzcjkohsevvgia2fz7v
(0) -3000000 -1000000 -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip