Molnar Sandor
cd7c15e45b
Backed out 5 changesets (bug 1761242, bug 1744822, bug 1761252) for causing browser-chrome failures in netwerk/test/browser/browser_103_assets.js CLOSED TREE
...
Backed out changeset 33cc08eb51b3 (bug 1744822)
Backed out changeset b70697d24e75 (bug 1761252)
Backed out changeset 4a5e10110c6a (bug 1761242)
Backed out changeset 7cda175b833d (bug 1761242)
Backed out changeset 4f5ed111093b (bug 1761242)
2022-06-08 18:56:35 +03:00
Manuel Bucher
2f1b52c387
Bug 1761252 - Parse anchor attribute in Link-header r=necko-reviewers,dragana,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D142442
2022-06-08 14:33:12 +00:00
Andrew McCreight
9ebb07c91b
Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D146457
2022-05-17 20:24:19 +00:00
Nika Layzell
260ebb1412
Bug 1738106 - Part 3: Switch to TaskQueue::Create, r=xpcom-reviewers,necko-reviewers,media-playback-reviewers,dragana,alwu,barret
...
In future parts, TaskQueue will require extra initialization to be performed
which cannot happen in a constructor, as it takes references to the TaskQueue
object itself, which will require the introduction of a helper method. This
patch switches all callers of the TaskQueue constructor to use the new method.
Differential Revision: https://phabricator.services.mozilla.com/D142604
2022-05-02 20:37:34 +00:00
Dana Keeler
bcf86d718f
Bug 1608307 - remove redundant flags parameters from nsISiteSecurityService r=jschanck,necko-reviewers,kershaw
...
Before this patch, nsISiteSecurityService APIs took "flags" parameters that
differentiated private contexts from not private contexts. However, these
parameters were redundant with respect to origin attributes, which led to some
confusion for consumers of these APIs. This patch removes these parameters in
favor of using origin attributes.
Differential Revision: https://phabricator.services.mozilla.com/D142901
2022-04-06 17:37:23 +00:00
Manuel Bucher
1b60ffbc06
Bug 1761242 - Make link asset parsing accessible in nsNetUtils.h r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D142053
2022-04-01 13:45:20 +00:00
Manuel Bucher
2827af7cb1
Bug 1762156 - Move LinkHeader parsing to mozilla::net namespace in nsNetUtil.h r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D142461
2022-04-01 13:45:20 +00:00
Randell Jesup
855202c183
Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 18:47:08 +00:00
Noemi Erli
16f5f5f2b9
Backed out changeset 12a59e5a50bf (bug 1207753) for causing build bustage CLOSED TREE
2022-03-16 18:32:51 +02:00
Randell Jesup
a98b1f8218
Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 16:16:14 +00:00
Butkovits Atila
01197944a0
Backed out changeset a68ee4b09f92 (bug 1207753) for causing Hazard bustages. CLOSED TREE
2022-03-16 14:38:14 +02:00
Randell Jesup
fe15f2115d
Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 12:01:14 +00:00
Timothy Nikkel
12f0b6cc16
Bug 1756588. Fix a couple of innerWindowId variables to be uint64_t in network code. r=necko-reviewers,valentin
...
Depends on D139371
Differential Revision: https://phabricator.services.mozilla.com/D139372
2022-02-23 09:44:34 +00:00
Benjamin VanderSloot
aad33b8c93
Bug 1752539 - srcdoc iframes are always treated as third-party, r=timhuang
...
- Add new function to netwerk utils to check for about:srcdoc URIs, mirroring the function for about:blank.
- When performing check whether or not a Window is third-party, check if the URI is about:srcdoc when you check if the URI is about:blank.
- When computing whether a channel is third-party to the top window, if the channel's URI is about:srcdoc, use its parent context's origin.
Differential Revision: https://phabricator.services.mozilla.com/D137286
2022-01-28 18:27:06 +00:00
Iulian Moraru
c25f5d708a
Backed out changeset 89f98c8c01d4 (bug 1748506) as per whimboo's request.
2022-01-06 17:31:51 +02:00
Henrik Skupin
f761d74215
Bug 1748506 - Don't crash for missing registration of "chrome://browser/content/built_in_addons.json" on Android. r=necko-reviewers,Gijs,valentin
...
org.mozilla.geckoview_testrunner currently permanently crashes locally when running web-platform-tests jobs on Android.
This patch temporarily disables the chrome registration check until the underlying issue has been completely fixed.
Differential Revision: https://phabricator.services.mozilla.com/D135115
2022-01-05 18:48:28 +00:00
Masatoshi Kimura
0b7c5e9d92
Bug 1680139 - Stop re-escaping IDN blocklisted characters in download file names. r=necko-reviewers,dragana
...
Depends on D134401
Differential Revision: https://phabricator.services.mozilla.com/D134402
2021-12-23 03:34:14 +00:00
Ryan VanderMeulen
b2441af177
Backed out changeset 56ae8059453e (bug 1738984) to see if it fixes bug 1745043. a=me
2021-12-13 14:52:08 -05:00
Valentin Gosu
de5d44052d
Bug 1738984 - Prevent NSS initialization and channel creation during shutdown r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D133065
2021-12-07 22:52:20 +00:00
Manuel Bucher
fa3c90e6b4
Bug 1741825 - LinkHeader: test that consecutive links don't influence each other r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D132773
2021-12-03 15:11:15 +00:00
Manuel Bucher
be1948d4e0
Bug 1740688 - Extract parser for the Link header field r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D131498
2021-12-03 15:11:14 +00:00
Randell Jesup
8167318db4
Bug 1743895: Add names to all TaskQueues, remove no-name constructor r=nika,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D132638
2021-12-03 03:16:15 +00:00
Tim Huang
4c5c2f8b0e
Bug 1731982 - Part 7: 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
2021-11-25 13:11:32 +00:00
Haik Aftandilian
fc785ae725
Bug 1737854 - macOS 'Share' menu modifies URL such that shared page doesn't load r=necko-reviewers,mstange,valentin
...
Revert some of the fix for 1722758 so that only the URL ref component is re-encoded for NSURL compatibility. Other URL fields need additional work to be addressed in a follow up.
Update the set of characters re-encoded to be as minimal as possible and include missing characters.
Add tests to ensure encoding works as expected, not just that it is accepted by NSURL.
Differential Revision: https://phabricator.services.mozilla.com/D130445
2021-11-10 19:32:53 +00:00
Alexandru Michis
53e33238e3
Backed out 12 changesets (bug 1731982, bug 1736401) for causing crashes. a=backout
...
DONTBUILD
Backed out changeset ab85eef8a4fd (bug 1736401)
Backed out changeset 347ce2439936 (bug 1731982)
Backed out changeset fa0ff1505daa (bug 1731982)
Backed out changeset 5b1f2b0a5673 (bug 1731982)
Backed out changeset 4adc65d2f1a3 (bug 1731982)
Backed out changeset a8700204af07 (bug 1731982)
Backed out changeset 88bd00ed8d94 (bug 1731982)
Backed out changeset 80bd8c79b931 (bug 1731982)
Backed out changeset 58ca3a94fec0 (bug 1731982)
Backed out changeset 0b28570dea43 (bug 1731982)
Backed out changeset 23524ce67bb9 (bug 1731982)
Backed out changeset d29cc06a65db (bug 1731982)
2021-11-09 09:23:38 +02:00
Tim Huang
6fdd3127c8
Bug 1731982 - Part 7: 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
2021-11-08 14:30:55 +00:00
Bobby Holley
c778e97df2
Bug 1736431 - Allowlist URLs containing the string "backgroundtasks". r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D129327
2021-10-23 16:32:00 +00:00
Butkovits Atila
738bdd6e05
Merge autoland to mozilla-central. a=merge
2021-10-20 00:48:21 +03:00
Butkovits Atila
6d34d645b1
Backed out 11 changesets (bug 1731982, bug 1736401) for causing crashes in mozilla::dom::ClientHandle::Control. a=backout
...
Backed out changeset 83176c86784c (bug 1736401)
Backed out changeset 4826707af5b3 (bug 1731982)
Backed out changeset a748e43fada0 (bug 1731982)
Backed out changeset 49302f7705a4 (bug 1731982)
Backed out changeset 59a5860fd74d (bug 1731982)
Backed out changeset 1f7ec5f62c7c (bug 1731982)
Backed out changeset 3142414872de (bug 1731982)
Backed out changeset 363ae2df245d (bug 1731982)
Backed out changeset ae319f8182ac (bug 1731982)
Backed out changeset 23edbfc8e84a (bug 1731982)
Backed out changeset 5f35364352f0 (bug 1731982)
2021-10-19 22:23:12 +03:00
Niklas Goegge
924e94da15
Bug 1732052: Remove pref privacy.file_unique_origin r=ckerschb,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D126898
2021-10-19 12:57:34 +00:00
Tim Huang
030e2764f6
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
2021-10-19 06:33:09 +00:00
Cosmin Sabou
f9ed3a532a
Backed out 10 changesets (bug 1731982) for causing OS X performance test failures and crashes (Bug 1736436). a=backout DONTBUILD
...
Backed out changeset 48e6f591f699 (bug 1731982)
Backed out changeset 77907884b2fa (bug 1731982)
Backed out changeset a299a2d43ebe (bug 1731982)
Backed out changeset 005801e7cf91 (bug 1731982)
Backed out changeset ef71b02c40cc (bug 1731982)
Backed out changeset a52dd02f2b3f (bug 1731982)
Backed out changeset 50b14ef1eb4a (bug 1731982)
Backed out changeset 80641bdceb6a (bug 1731982)
Backed out changeset ada9e2008ca4 (bug 1731982)
Backed out changeset a208016e9953 (bug 1731982)
2021-10-18 22:18:08 +03:00
Tim Huang
f2f700e463
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
2021-10-18 12:20:34 +00:00
Cristian Tuns
8a0ca4f284
Backed out 10 changesets (bug 1731982) for causing hybrid bustages on nsCORSListenerProxy.obj CLOSED TREE
...
Backed out changeset a248413c22ec (bug 1731982)
Backed out changeset 1bd7de5d93a1 (bug 1731982)
Backed out changeset d028e1ce1313 (bug 1731982)
Backed out changeset 7db7537bbc24 (bug 1731982)
Backed out changeset 28c18d83906d (bug 1731982)
Backed out changeset 6258b4e10406 (bug 1731982)
Backed out changeset 68bf86b1459c (bug 1731982)
Backed out changeset b8990af2fca2 (bug 1731982)
Backed out changeset 153783261021 (bug 1731982)
Backed out changeset bc9c3abbb8f8 (bug 1731982)
2021-10-15 18:12:21 -04:00
Tim Huang
6763909ce0
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
2021-10-15 20:00:05 +00:00
Cristian Tuns
f4abb60bb1
Backed out 9 changesets (bug 1731982) for causing wpt failures on localStorage. CLOSED TREE
...
Backed out changeset bbeba8b14a2f (bug 1731982)
Backed out changeset 645cc214c608 (bug 1731982)
Backed out changeset 3a8e2f9c15e8 (bug 1731982)
Backed out changeset 208dd7c57311 (bug 1731982)
Backed out changeset 76a13a728f13 (bug 1731982)
Backed out changeset a6bfce877a86 (bug 1731982)
Backed out changeset 5fc4e33a8232 (bug 1731982)
Backed out changeset 353e3b3e020a (bug 1731982)
Backed out changeset b07167090923 (bug 1731982)
2021-10-13 10:47:25 -04:00
Tim Huang
d25bfd1f34
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
2021-10-13 11:18:55 +00:00
Noemi Erli
cfa8829156
Backed out 9 changesets (bug 1731982) for causing Bp-hybrid bustages CLOSED TREE
...
Backed out changeset 82bb76c2e531 (bug 1731982)
Backed out changeset 8240ef0e1771 (bug 1731982)
Backed out changeset f46f05792c6a (bug 1731982)
Backed out changeset 449c821bc56e (bug 1731982)
Backed out changeset cb813505b5a9 (bug 1731982)
Backed out changeset 06fad8cd9345 (bug 1731982)
Backed out changeset 4b8cf4756686 (bug 1731982)
Backed out changeset 5468bf77f732 (bug 1731982)
Backed out changeset 7800585e3d6a (bug 1731982)
2021-10-12 23:12:19 +03:00
Tim Huang
94551ab5d3
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
2021-10-12 18:55:21 +00:00
lyavor
b0a2f84e6b
Bug 1722489 - Evaluate HSTS before https-only in NS_ShouldSecureUpgrade. r=ckerschb,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D126238
2021-10-11 13:51:53 +00:00
Valentin Gosu
95d4f67755
Bug 1721448 - Add a max-length for all URLs r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D126214
2021-10-11 12:38:29 +00:00
Rob Wu
d43542c208
Bug 1722078 - Remove obsolete reference to app-extension-fields.properties r=Gijs,necko-reviewers,valentin
...
The file is no longer being loaded since the patch for bug 1729738.
Differential Revision: https://phabricator.services.mozilla.com/D127663
2021-10-07 08:59:25 +00:00
Csoregi Natalia
5daa43a6aa
Backed out changeset dbffee5cbf0d (bug 1722489) for failures on browser_iframe_test.js. CLOSED TREE
2021-10-06 00:34:43 +03:00
lyavor
37dc01ef22
Bug 1722489 - Evaluate HSTS before https-only in NS_ShouldSecureUpgrade. r=ckerschb,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D126238
2021-10-05 15:05:50 +00:00
Benjamin Peterson
edb1f747b4
Bug 1729843 - Remove vestigial plugin-related code from nsWebNavigationInfo. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D125026
2021-09-09 15:03:05 +00:00
Haik Aftandilian
e94f131613
Bug 1722758 - Patch 2 - Add a new encoding mode to be used for Apple NSURL compatibility r=necko-reviewers,valentin
...
Add a new encoding mode to be used to encode an already-encoded URL to be compatible with Apple's NSURL.
Add a function for creating an nsIURI with NSURL compatible encoding from a URL string.
Differential Revision: https://phabricator.services.mozilla.com/D122651
2021-08-20 18:54:03 +00:00
Gijs Kruitbosch
a13dc4839b
Bug 1723525 - remove dead references from site data settings dialogs r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D122749
2021-08-17 09:24:07 +00:00
Gijs Kruitbosch
2395db3d91
Bug 1721910 - make it obvious that android needs some toolkit theming, and reduce duplication there, r=agi,desktop-theme-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D122335
2021-08-16 13:15:21 +00:00
Mike Conley
18f5412917
Bug 1723729 - Remove tart.ico from broken chrome:// URI allowlist. r=Gijs,necko-reviewers,valentin
...
Depends on D122377
Differential Revision: https://phabricator.services.mozilla.com/D122378
2021-08-12 13:56:51 +00:00
Valentin Gosu
ef5d1a4b16
Bug 1722925 - Avoid unnecessary string copies by nsCString constructor r=necko-reviewers,kershaw CLOSED TREE
...
Since the Find method does not exist on nsACString, I had to use std::search
to find the "data:" substring in the spec.
Differential Revision: https://phabricator.services.mozilla.com/D122082
2021-08-12 07:40:58 +00:00