Masatoshi Kimura
b2472e0aeb
Bug 1687108 - Remove unused content policy types. r=ckerschb,remote-protocol-reviewers,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D102083
2021-01-19 09:42:13 +00:00
Masatoshi Kimura
12c9fd0669
Bug 1685900 - Split internal and external contentPolicyType. r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D101271
2021-01-15 12:07:16 +00:00
Narcis Beleuzu
30a5f83baa
Backed out changeset a52961071dcd (bug 1685900) for Build bustage in nsContentSecurityManager.cpp. CLOSED TREE
2021-01-15 04:04:37 +02:00
Masatoshi Kimura
666d7f8e2b
Bug 1685900 - Split internal and external contentPolicyType. r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D101271
2021-01-15 04:02:41 +02:00
Dorel Luca
922d64bb4f
Backed out changeset a52961071dcd (bug 1685900) for Build bustage in nsContentSecurityManager.cpp. CLOSED TREE
2021-01-15 02:45:34 +02:00
Masatoshi Kimura
fd94179ca1
Bug 1685900 - Split internal and external contentPolicyType. r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D101271
2021-01-14 20:44:54 +00:00
Simon Giesecke
fdd0be071c
Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika
...
Bug 1583109 introduced new function templates StringJoin and StringJoinAppend.
These are now used to replace several custom loops across the codebase that
implement string-joining algorithms to simplify the code.
Differential Revision: https://phabricator.services.mozilla.com/D98750
2020-12-17 14:58:18 +00:00
Csoregi Natalia
51401405eb
Backed out changeset 16d174e7c342 (bug 1583109) for bustage on nsReadableUtils.h. CLOSED TREE
2020-12-16 22:51:26 +02:00
Simon Giesecke
8db61da8b6
Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika
...
Bug 1583109 introduced new function templates StringJoin and StringJoinAppend.
These are now used to replace several custom loops across the codebase that
implement string-joining algorithms to simplify the code.
Differential Revision: https://phabricator.services.mozilla.com/D98750
2020-12-16 19:38:23 +00:00
Simon Giesecke
46908cfb51
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Andi-Bogdan Postelnicu
28641b48fa
Bug 1626555 - Add dom/security to the list of non-unified-build-compatible directories. r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D96427
2020-11-09 21:03:52 +00:00
Brindusan Cristian
4095108060
Backed out changeset 3a087ad91d30 (bug 1626555) for build bustages. CLOSED TREE
2020-11-09 21:09:33 +02:00
Andi-Bogdan Postelnicu
6081181e65
Bug 1626555 - Add dom/security to the list of non-unified-build-compatible directories. r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D96427
2020-11-09 17:57:01 +00:00
Jens Hausdorf
be213abd05
Bug 1660417 - Make sure CSP policy strings are logged as valid yaml r=freddyb,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D87841
2020-11-03 14:06:13 +00:00
Narcis Beleuzu
eebe75b41a
Backed out changeset 7aa5ac524911 (bug 1608074) for assertion failure on nsContentSecurityUtils.cpp. CLOSED TREE
2020-10-13 16:08:21 +03:00
julianwels
4be7e431a9
Bug 1608074 - Add assertion to make sure referrer header matches the computed referrer in referrerInfo r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D59314
2020-10-13 10:39:03 +00:00
Michael Kaply
2b2e5e0506
Bug 1450309 - Allow nSIContentPolicy to reject based on enterprise policy. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D91487
2020-10-03 00:02:19 +00:00
Cosmin Sabou
a13f011987
Backed out 2 changesets (bug 1450309) for wpt failures on reporting-navigation.https.html. CLOSED TREE
...
Backed out changeset 7fae6ea289bd (bug 1450309)
Backed out changeset 14c35856cea4 (bug 1450309)
2020-10-01 08:50:41 +03:00
Michael Kaply
1f898b3b76
Bug 1450309 - Allow nSIContentPolicy to reject based on enterprise policy. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D91487
2020-09-30 18:39:40 +00:00
Simon Giesecke
ab6f0a7137
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Sebastian Streich
5c6ed02a6f
Bug 1627944 - Restrict toplevel data uri's to non-doc creating or downloads r=ckerschb,annevk
...
Differential Revision: https://phabricator.services.mozilla.com/D86836
2020-09-22 16:59:25 +00:00
Jens Hausdorf
d08b138d2f
Bug 1660216 - Fix formatting of ContentSecurityManager logging r=freddyb,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D87731
2020-08-20 13:17:42 +00:00
Frederik Braun
3118a3b76e
Bug 1656647 - typo in ContentSecurityManager logging r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D85725
2020-08-03 07:38:47 +00:00
Jens Hausdorf
52a27c9837
Bug 1647722 - Make ContentSecurityManager logging easier to parse r=freddyb,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D82399
2020-07-21 17:44:19 +00:00
Frederik Braun
617d3006d9
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Nika Layzell
5f45e08c22
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Frederik Braun
25f09e861f
Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-08 13:11:57 +00:00
Bogdan Tara
e6199bc5fd
Backed out changeset 1e15fd6bbf25 (bug 1644671) for telemetry related bustages CLOSED TREE
2020-07-08 15:34:15 +03:00
Frederik Braun
91129e6988
Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-08 12:06:05 +00:00
Narcis Beleuzu
9dd242fd16
Backed out changeset 627f9b4fea56 (bug 1644671) for bustages on TelemetryEventData.h.stub . CLOSED TREE
2020-07-07 20:33:53 +03:00
Frederik Braun
9386db2b1e
Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-07 14:17:05 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Jonathan Kingston
3dfd41f522
Bug 1642808 - Remove whitelist from dom security. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D77949
2020-06-02 23:15:13 +00:00
Alexis Beingessner
7de69c24d2
Bug 1637727 - convert nsIOService prefs to StaticPrefs. r=KrisWright,necko-reviewers
...
converts:
* security.data_uri.block_toplevel_data_uri_navigations
* network.offline-mirrors-connectivity
Differential Revision: https://phabricator.services.mozilla.com/D77104
2020-05-28 18:23:25 +00:00
Frederik Braun
517b8c6989
Bug 1613609 - prototype patch with whitelist for sysrequest r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75064
2020-05-20 13:01:35 +00:00
Dorel Luca
fd6f1e4641
Backed out changeset be2d763a80d8 (bug 1613609) for making nightlies not being able to connecto to sites fi add-ons are installed. a=backout DONTBUILD
2020-05-20 06:35:48 +03:00
Frederik Braun
1fb29120be
Bug 1613609 - prototype patch with whitelist for sysrequest r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75064
2020-05-19 08:55:06 +00:00
Mihai Alexandru Michis
5401969a27
Backed out 2 changesets (bug 1613609) for causing bustages.
...
CLOSED TREE
Backed out changeset dd6e395dc342 (bug 1613609)
Backed out changeset 5bcb7b13a4ad (bug 1613609)
2020-05-18 16:38:58 +03:00
Frederik Braun
e37f268030
Bug 1613609 - prototype patch with whitelist for sysrequest r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75064
2020-05-18 10:59:12 +00:00
Csoregi Natalia
cd1d2be4b0
Backed out 2 changesets (bug 1613609) for failures on nsXPConnect.cpp. CLOSED TREE
...
Backed out changeset c593a7296df4 (bug 1613609)
Backed out changeset 72199fc4ea2b (bug 1613609)
2020-05-18 13:05:12 +03:00
Frederik Braun
7f7b21c67a
Bug 1613609 - prototype patch with whitelist for sysrequest r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D75064
2020-05-18 09:19:28 +00:00
Christoph Kerschbaumer
37db6fc017
Bug 1636900: Remove TYPE_XBL from nsIContentPolicy. r=remote-protocol-reviewers,emilio,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D74835
2020-05-13 06:53:28 +00:00
Frederik Braun
86b1dcf693
Bug 1613609 - allow requests with new loadinfo flag to succeeed r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D68391
2020-04-07 11:55:23 +00:00
Emilio Cobos Álvarez
46f64ba715
Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
...
Mostly a matter of:
rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'
And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).
Differential Revision: https://phabricator.services.mozilla.com/D69828
2020-04-06 18:57:36 +00:00
Cosmin Sabou
8ca4dd2b6f
Backed out 3 changesets (bug 1627707) for build bustages @ mozilla::net::LoadInfo.
...
Backed out changeset 65d6a90651ce (bug 1627707)
Backed out changeset 378ec30d9979 (bug 1627707)
Backed out changeset 058a19e11b06 (bug 1627707)
2020-04-06 20:07:04 +03:00
Emilio Cobos Álvarez
d828790f70
Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
...
Mostly a matter of:
rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'
And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).
Differential Revision: https://phabricator.services.mozilla.com/D69828
2020-04-06 16:00:43 +00:00
Sebastian Streich
d3c62706af
Bug 1622042 - Refactor NsContentUtils:Allowsl10n r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66633
2020-03-26 13:18:40 +00:00
Christoph Kerschbaumer
b96b600470
Bug 1188538: Ensure every protocol handler sets a valid security flag. r=bholley,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D67496
2020-03-20 08:25:18 +00:00
Stefan Hindli
bb21fc71f7
Backed out 4 changesets (bug 1622042) for causing AddonInstallException: Could not install add-on: c:\users\task_1584560140\appdata\local\temp\tmpbg9_h7.zip: ERROR_FILE_ACCESS: There was an error accessing the filesystem. CLOSED TREE
...
Backed out changeset 929043330599 (bug 1622042)
Backed out changeset b08cdd075e20 (bug 1622042)
Backed out changeset ca87f1c6b90b (bug 1622042)
Backed out changeset 27dbbb7cd590 (bug 1622042)
2020-03-18 22:49:23 +02:00
Sebastian Streich
db935b0263
Bug 1622042 - Refactor NsContentUtils:Allowsl10n r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66633
2020-03-18 16:00:40 +00:00