83176c86784c52d0e7f30bb2be8bf4bee81b255e: Bug 1736401 - Compute `IsThirdPartyToTopWindow` in StoragePrincipalHelper::GetPrincipal(). r=pbz
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:10 +0000 - rev 596308
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1736401 - Compute `IsThirdPartyToTopWindow` in StoragePrincipalHelper::GetPrincipal(). r=pbz Differential Revision: https://phabricator.services.mozilla.com/D128783
4826707af5b31c155990b44844771f07cf90b864: Bug 1731982 - Part 10: Use AntiTrackingUtils::IsThirdPartyContext() to check third party in AntiTrackingUtils::IsThirdPartyWindow() if the channel is not available. r=pbz
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:10 +0000 - rev 596307
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 10: Use AntiTrackingUtils::IsThirdPartyContext() to check third party in AntiTrackingUtils::IsThirdPartyWindow() if the channel is not available. r=pbz We used to use the ThirdPartyUtil::IsThirdPartyWindow() to check third party if the document or the channel is not available. However, this could be incorrect in the case where the channel is not available because the WindowContext is not ready yet. To address this issue, we use the browingContext of the document to check third party. Differential Revision: https://phabricator.services.mozilla.com/D128601
a748e43fada048cde9e9e1c2defd37267f3d5a42: Bug 1731982 - Part 9: Modify the test browser_partitionedServiceWorkers.js. r=dimi
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:09 +0000 - rev 596306
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 9: Modify the test browser_partitionedServiceWorkers.js. r=dimi Differential Revision: https://phabricator.services.mozilla.com/D127842
49302f7705a4914ee98df61b3439bb50e30b4fed: Bug 1731982 - Part 8: Ignoring the partitionKey when verify loadingPrincipal with clientInfo. r=asuth,necko-reviewers
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:09 +0000 - rev 596305
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 8: Ignoring the partitionKey when verify loadingPrincipal with clientInfo. r=asuth,necko-reviewers Given that we use the partitioned Principal in the third-party context and the loading principal won't have it, we should ignore the partitionKey when doing the verfication. Differential Revision: https://phabricator.services.mozilla.com/D127841
59a5860fd74d17e5c235262fd8f81b29300d6b9e: Bug 1731982 - Part 7: Use the client's principal to verify client in localStorage. r=asuth
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:08 +0000 - rev 596304
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 7: Use the client's principal to verify client in localStorage. r=asuth 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
1f7ec5f62c7c93db22e5833568657443ff106996: Bug 1731982 - Part 6: Using foreign partitioned principal when creating clientSource in ServiceWorkerManager. r=asuth
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:08 +0000 - rev 596303
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 6: Using foreign partitioned principal when creating clientSource in ServiceWorkerManager. r=asuth 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
3142414872de0d3839a03a5a52442e8e90048afc: Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r=asuth
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:08 +0000 - rev 596302
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 5: Using StoragePrincipalHelper::GetPrincipal() in ClientChannelHelper. r=asuth 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
363ae2df245de508b3173f678e7667a4198ea500: Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r=asuth
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:07 +0000 - rev 596301
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 4: Using foreign partitioned principal when creating clientSource in nsGlobalWindowInner. r=asuth 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
ae319f8182acaf6ed301850eaca86ff805517622: Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r=asuth
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:07 +0000 - rev 596300
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 3: Use partitioned principal for creating initial client source if needed in nsDocShell. r=asuth 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
23edbfc8e84aa15ba21d4ae7d2fbefc860d7cce2: Bug 1731982 - Part 2: Implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker(). r=dimi
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:07 +0000 - rev 596299
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 2: Implement StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker(). r=dimi 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
5f35364352f0f90be07e8155d9cd03810352a8c0: Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r=dimi
Tim Huang <tihuang@mozilla.com> - Tue, 19 Oct 2021 06:33:06 +0000 - rev 596298
Push 151728 by tihuang@mozilla.com at Tue, 19 Oct 2021 06:36:28 +0000
Bug 1731982 - Part 1: Implement AntiTrackingUtils::IsThirdPartyContext(). r=dimi Differential Revision: https://phabricator.services.mozilla.com/D127627
4185629111d323484d1f74a667d57145616203b7: Bug 1735660 - [devtools] Ensure tests within devtools/client/netmonitor are https-first compliant r=bomsy
Julian Descottes <jdescottes@mozilla.com> - Tue, 19 Oct 2021 06:20:49 +0000 - rev 596297
Push 151727 by jdescottes@mozilla.com at Tue, 19 Oct 2021 06:23:09 +0000
Bug 1735660 - [devtools] Ensure tests within devtools/client/netmonitor are https-first compliant r=bomsy A lot of tests need to disable https-first because of the proxy issue. Differential Revision: https://phabricator.services.mozilla.com/D128640
be57dc347581f60b5599de8b3125ab2efeac596b: Bug 1735952 part 2: Support IAccessible::accLocation for RemoteAccessible. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:58:57 +0000 - rev 596296
Push 151726 by jteh@mozilla.com at Tue, 19 Oct 2021 04:01:24 +0000
Bug 1735952 part 2: Support IAccessible::accLocation for RemoteAccessible. r=morgan Differential Revision: https://phabricator.services.mozilla.com/D128561
af85d6d23c931b3924ea37889d3e8eef435a6f12: Bug 1735952 part 1: Support QueryInterface to IAccessibleValue for RemoteAccessible. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:58:56 +0000 - rev 596295
Push 151726 by jteh@mozilla.com at Tue, 19 Oct 2021 04:01:24 +0000
Bug 1735952 part 1: Support QueryInterface to IAccessibleValue for RemoteAccessible. r=morgan Differential Revision: https://phabricator.services.mozilla.com/D128560
dad723b8fd70b42150d00c3c2948366885c20065: Bug 1735953: Temporary a11y state hacks to get NVDA to render virtual buffers for cached documents. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:58:14 +0000 - rev 596294
Push 151725 by jteh@mozilla.com at Tue, 19 Oct 2021 04:00:46 +0000
Bug 1735953: Temporary a11y state hacks to get NVDA to render virtual buffers for cached documents. r=morgan 1. Don't return an error from IAccessible2::states. Otherwise, NVDA assumes the Accessible is defunct. 2. Return STATE_SYSTEM_READONLY for all documents in IAccessible::get_accState. Otherwise, NVDA doesn't treat the document as browseable. Differential Revision: https://phabricator.services.mozilla.com/D128556
5ce097bae42653d4b8e8746f6c40876620449270: Bug 1735722 part 6: Support QueryInterface to IAccessibleHypertext and IAccessibleHypertext::get_hyperlink for RemoteAccessible. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:57:20 +0000 - rev 596293
Push 151724 by jteh@mozilla.com at Tue, 19 Oct 2021 04:00:17 +0000
Bug 1735722 part 6: Support QueryInterface to IAccessibleHypertext and IAccessibleHypertext::get_hyperlink for RemoteAccessible. r=morgan Differential Revision: https://phabricator.services.mozilla.com/D128555
c4747685e885043bb7ebdc61dc8712c396ec0aef: Bug 1735722 part 5: Rename ia2AccessibleHypertext::TextAcc to LocalTextAcc. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:57:19 +0000 - rev 596292
Push 151724 by jteh@mozilla.com at Tue, 19 Oct 2021 04:00:17 +0000
Bug 1735722 part 5: Rename ia2AccessibleHypertext::TextAcc to LocalTextAcc. r=morgan This makes way for a new unified TextAcc method in a subsequent patch. Strictly speaking, doing it like this isn't correct because methods will return CO_E_OBJNOTCONNECTED for a RemoteAccessible instead of E_NOTIMPL. I fixed this for IAccessibleText, but I realised fixing this for all interfaces is going to involve a lot of churn which we're going to end up removing anyway once we unify everything. Clients don't really care about the error code, so I think this situation is acceptable while this is still in early development. Differential Revision: https://phabricator.services.mozilla.com/D128554
417190cd31c6d1cc7dfa8f44b1f1a25e9efd2fc2: Bug 1735722 part 4: Support QueryInterface to IAccessibleHyperlink for RemoteAccessible. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:57:19 +0000 - rev 596291
Push 151724 by jteh@mozilla.com at Tue, 19 Oct 2021 04:00:17 +0000
Bug 1735722 part 4: Support QueryInterface to IAccessibleHyperlink for RemoteAccessible. r=morgan We don't support any of the methods in this interface for RemoteAccessible yet. However, IAccessibleHypertext::get_hyperlink returns an IAccessibleHyperlink, so we must support QI to it. Differential Revision: https://phabricator.services.mozilla.com/D128553
3c9adcebbd98bdf363a6b4eea308d061441cf4f4: Bug 1735722 part 3: Add test for HyperTextAccessibleBase::LinkAt. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:57:19 +0000 - rev 596290
Push 151724 by jteh@mozilla.com at Tue, 19 Oct 2021 04:00:17 +0000
Bug 1735722 part 3: Add test for HyperTextAccessibleBase::LinkAt. r=morgan Differential Revision: https://phabricator.services.mozilla.com/D128552
f5d402b9c8e0d32d704d8017270fc72b9e440948: Bug 1735722 part 2: Add HyperTextAccessibleBase::LinkAt. r=morgan
James Teh <jteh@mozilla.com> - Tue, 19 Oct 2021 03:57:18 +0000 - rev 596289
Push 151724 by jteh@mozilla.com at Tue, 19 Oct 2021 04:00:17 +0000
Bug 1735722 part 2: Add HyperTextAccessibleBase::LinkAt. r=morgan This uses the unified Accessible::EmbeddedChildAt from the previous patch. HyperTextAccessible::LinkAt still exists, since there are still some callers that depend on it returning a LocalAccessible. xpcAccessibleHyperText has also been updated to call this, which means tests will work on Windows when the cache is enabled. Differential Revision: https://phabricator.services.mozilla.com/D128551
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 tip