Christoph Kerschbaumer
6bc25cbfd9
Bug 1353608: Make test_frameNavigation.html work with fission enabled r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D105297
2021-02-16 14:14:22 +00:00
Christoph Kerschbaumer
6692f87581
Bug 1542194: Update blocked-uri in CSP reporting by treating frame naviations as redirects r=freddyb,dveditz,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D103697
2021-02-11 09:09:17 +00:00
Mihai Alexandru Michis
d5b753448d
Backed out changeset 4ffa919d35f9 (bug 1687364) as requested by kershaw.
...
CLOSED TREE
2021-02-10 16:47:51 +02:00
Cosmin Sabou
d8118867b5
Backed out changeset 0abd871c4920 (bug 1542194) for xpcshell failures on test_ext_contentscript_triggeringPrincipal.js. CLOSED TREE
2021-02-09 21:57:05 +02:00
Christoph Kerschbaumer
2b003274b2
Bug 1687342: Blocked-URI in CSP reports should be URI before redirects with ref removed r=freddyb,dveditz
...
Differential Revision: https://phabricator.services.mozilla.com/D103450
2021-02-09 18:42:03 +00:00
Christoph Kerschbaumer
d14708a4c5
Bug 1542194: Update blocked-uri in CSP reporting by treating frame naviations as redirects r=freddyb,dveditz
...
Differential Revision: https://phabricator.services.mozilla.com/D103697
2021-02-09 18:41:59 +00:00
Jan Varga
89ca2a95fb
Bug 1690515 - Add missing do_get_profile calls to appropriate tests; r=dom-workers-and-storage-reviewers,necko-reviewers,sg,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D103886
2021-02-09 05:30:57 +00:00
Kershaw Chang
22a60154b9
Bug 1685942 - Only fallback to original conn info when network error happens r=necko-reviewers,valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D102703
2021-02-08 11:46:51 +00:00
Kershaw Chang
5c2914628b
Bug 1687364 - Authorization header can't be wildcarded for Access-Control-Allow-Headers r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D102932
2021-02-02 18:39:32 +00:00
Tom Ritter
692a5351d2
Bug 1688800: Carve out more edge cases for javascriptLoad restrictions, and let Telemetry ride the trains r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D103043
2021-01-29 13:35:31 +00:00
Kris Maglione
9ab2b48df3
Bug 1685801: Part 3 - Remove BrowserUtils.makeURI and makeFileURI. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101483
2021-01-28 20:58:24 +00:00
Brindusan Cristian
b33ce66d55
Backed out changeset 2ade9dd19ad1 (bug 1688800) for build bustages at nsContentSecurityUtils.cpp. CLOSED TREE
2021-01-28 23:26:05 +02:00
Tom Ritter
fc87a63477
Bug 1688800: Carve out more edge cases for javascriptLoad restrictions, and let Telemetry ride the trains r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D103043
2021-01-28 20:40:40 +00:00
Mihai Alexandru Michis
040e2ea5d0
Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
...
CLOSED TREE
Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Kris Maglione
d7b8eeedcc
Bug 1685801: Part 3 - Remove BrowserUtils.makeURI and makeFileURI. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101483
2021-01-28 05:25:10 +00:00
Butkovits Atila
7decdccbdc
Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
...
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
70ccb5bca1
Bug 1685801: Part 3 - Remove BrowserUtils.makeURI and makeFileURI. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101483
2021-01-28 03:32:33 +00:00
Valentin Gosu
d2046a6e97
Bug 1687618 - Remove browser.cache.cache_isolation r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D102711
2021-01-26 10:32:07 +00:00
smolnar
4bdd1a3ecd
Backed out 5 changesets (bug 1687618) for causing mochitest failures in browser_networkIsolation. CLOSED TREE
...
Backed out changeset afb6bcdbdf4f (bug 1687618)
Backed out changeset b67677b3f710 (bug 1687618)
Backed out changeset 0cb1cb5bf7a8 (bug 1687618)
Backed out changeset 5308d27acd05 (bug 1687618)
Backed out changeset 984a9f8e8b5e (bug 1687618)
2021-01-26 11:36:32 +02:00
Valentin Gosu
7c1e084192
Bug 1687618 - Remove browser.cache.cache_isolation r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D102711
2021-01-26 07:52:33 +00:00
Dimi Lee
09d83a6839
Bug 1589074 - Fix dom mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D88552
2021-01-25 13:26:55 +00:00
Dimi Lee
a777fb5474
Bug 1589074 - Set referrer policy default to strict-origin-when-cross-origin. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D88547
2021-01-25 13:26:36 +00:00
Butkovits Atila
69babd862d
Backed out 11 changesets (bug 1589074) for causing failures on test_DownloadCore.js.
...
Backed out changeset 10e37ec238ee (bug 1589074)
Backed out changeset a306f2483d73 (bug 1589074)
Backed out changeset b7a0d73a2885 (bug 1589074)
Backed out changeset da996dc79d5d (bug 1589074)
Backed out changeset 3cffd4570c8e (bug 1589074)
Backed out changeset 9fe67741eb5a (bug 1589074)
Backed out changeset e8e6d9a6b90d (bug 1589074)
Backed out changeset 78df7f0ccb31 (bug 1589074)
Backed out changeset 712f147c5a41 (bug 1589074)
Backed out changeset f093f3c48807 (bug 1589074)
Backed out changeset 454beae0f635 (bug 1589074)
2021-01-25 14:57:00 +02:00
Dimi Lee
6940624a72
Bug 1589074 - Fix dom mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D88552
2021-01-22 08:48:00 +00:00
Dimi Lee
bb1e1baac7
Bug 1589074 - Set referrer policy default to strict-origin-when-cross-origin. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D88547
2021-01-22 08:47:37 +00:00
Masatoshi Kimura
54c1b8dee1
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
a29e207781
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
0322452233
Backed out changeset a52961071dcd (bug 1685900) for Build bustage in nsContentSecurityManager.cpp. CLOSED TREE
2021-01-15 04:04:37 +02:00
Masatoshi Kimura
b384f14cde
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
9ed19e2828
Backed out changeset a52961071dcd (bug 1685900) for Build bustage in nsContentSecurityManager.cpp. CLOSED TREE
2021-01-15 02:45:34 +02:00
Masatoshi Kimura
87e50835c4
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
Andi-Bogdan Postelnicu
e161d1f5a1
Bug 1685580 - fix non-unified
build issue caused by Bug 1662138. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D101200
2021-01-08 19:24:54 +00:00
Masatoshi Kimura
64e86892a9
Bug 1683464 - Improve nsCSPParser::directiveName. r=ckerschb
...
This function converts between enums and strings over and over. It is
sufficient to call CSP_StringToCSPDirective only once.
Differential Revision: https://phabricator.services.mozilla.com/D100183
2021-01-07 15:19:23 +00:00
Masatoshi Kimura
4b3e1792af
Bug 1683464 - Remove InternalContentPolicyTypeToExternalOrWorker. r=ckerschb
...
Now this function is used just to create a parameter to
CSP_ContentTypeToDirective.
Differential Revision: https://phabricator.services.mozilla.com/D100182
2021-01-07 15:19:05 +00:00
Masatoshi Kimura
3f402bfcc4
Bug 1683464 - Reduce nsContentPolicyType usage. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D100181
2021-01-07 15:18:52 +00:00
Masatoshi Kimura
ada333728d
Bug 1683464 - Remove aIsPreload. r=ckerschb
...
The only effect of this parameter is suppressing the violation reports and it
is redundant because aSendViolationReports is present.
Differential Revision: https://phabricator.services.mozilla.com/D100180
2021-01-07 15:18:19 +00:00
Sebastian Streich
9f99b10883
Bug 1662138 - Do not rely on Type::SaveAs for MCB download check r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D88865
2021-01-07 12:19:27 +00:00
Daniel Holbert
ac4480af11
Bug 1685231: Fix the typo "ot" in various code-comments (to "to", "of", or "not"). r=mccr8
...
DONTBUILD because this is a comment-only change and hence doesn't affect
behavior at all.
I ran across this typo in nsPageFrame.cpp, and figured I might as well grep for
it and fix it more comprehensively. And while I'm at it, I also fixed some
neighboring instances of a duplicated word around a linebreak, in
nsXMLContentSerializer.h.
Differential Revision: https://phabricator.services.mozilla.com/D100852
2021-01-06 04:54:51 +00:00
Razvan Maries
6a4eb25b10
Backed out 4 changesets (bug 1683464) for multiple perma failures. CLOSED TREE
...
Backed out changeset a5d315c017d0 (bug 1683464)
Backed out changeset 5f91001e4923 (bug 1683464)
Backed out changeset 1b7fe904e8af (bug 1683464)
Backed out changeset eb1c479fddca (bug 1683464)
2021-01-05 16:47:22 +02:00
Masatoshi Kimura
a37aa9ff1e
Bug 1683464 - Improve nsCSPParser::directiveName. r=ckerschb
...
This function converts between enums and strings over and over. It is
sufficient to call CSP_StringToCSPDirective only once.
Depends on D100182
Differential Revision: https://phabricator.services.mozilla.com/D100183
2021-01-05 12:24:00 +00:00
Masatoshi Kimura
0fa6b4d30c
Bug 1683464 - Remove InternalContentPolicyTypeToExternalOrWorker. r=ckerschb
...
Now this function is used just to create a parameter to
CSP_ContentTypeToDirective.
Depends on D100181
Differential Revision: https://phabricator.services.mozilla.com/D100182
2021-01-05 12:22:22 +00:00
Masatoshi Kimura
dfb97ca7cf
Bug 1683464 - Reduce nsContentPolicyType usage. r=ckerschb
...
Depends on D100180
Differential Revision: https://phabricator.services.mozilla.com/D100181
2021-01-05 12:21:46 +00:00
Masatoshi Kimura
672dd7fa13
Bug 1683464 - Remove aIsPreload. r=ckerschb
...
The only effect of this parameter is suppressing the violation reports and it
is redundant because aSendViolationReports is present.
Depends on D100179
Differential Revision: https://phabricator.services.mozilla.com/D100180
2021-01-05 12:19:10 +00:00
Masatoshi Kimura
44274c030b
Bug 1683464 - Remove aMimeTypeGuess from nsIContentSecurityPolicy::ShouldLoad. r=ckerschb
...
This parameter is unused.
Depends on D100178
Differential Revision: https://phabricator.services.mozilla.com/D100179
2021-01-04 17:05:01 +00:00
Sebastian Streich
4e9a38f624
Bug 1676221 - Add UX nits to unblock UI r=ckerschb,Gijs
...
Show save dialogue
***
Automaticly show Panel On Block
***
Keep Open/Save Dialogue with open panel
***
Keep User choise in downloadsView
***
Add Unblock option to Unblock panel
***
lint
***
add test
Differential Revision: https://phabricator.services.mozilla.com/D96448
2020-12-18 15:30:33 +00:00
Simon Giesecke
9758d919eb
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
Butkovits Atila
a5ae3506b7
Backed out changeset 234ae5cb0ff8 (bug 1676221) for causing leaks. CLOSED TREE
2020-12-17 10:54:31 +02:00
Sebastian Streich
ac54bcd9d6
Bug 1676221 - Add UX nits to unblock UI r=ckerschb,Gijs
...
Show save dialogue
***
Automaticly show Panel On Block
***
Keep Open/Save Dialogue with open panel
***
Keep User choise in downloadsView
***
Add Unblock option to Unblock panel
***
lint
***
add test
Differential Revision: https://phabricator.services.mozilla.com/D96448
2020-12-16 22:55:12 +00:00
Masatoshi Kimura
3424a95ee0
Bug 1682103 - Make nsContentPolicyType a CEnum type. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D99580
2020-12-16 11:36:47 +00:00
Csoregi Natalia
d8c9489b13
Backed out changeset 16d174e7c342 (bug 1583109) for bustage on nsReadableUtils.h. CLOSED TREE
2020-12-16 22:51:26 +02:00