Граф коммитов

1794 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 05ab468b46 Backed out changeset 388c153da388 (bug 1656296) for causing default process leaks. CLOSED TREE 2020-08-19 21:58:03 +03:00
Sebastian Streich b578e23a52 Bug 1656296 - Pass Blocked Downloads to the DownloadsUI r=ckerschb,Gijs
***

***
Added Better Testing

Differential Revision: https://phabricator.services.mozilla.com/D85439
2020-08-19 17:58:57 +00:00
Narcis Beleuzu 0e759593c7 Backed out changeset 1b7eb33c8ec9 (bug 1656296) for bc failure on browser_test_mixed_content_download.js . CLOSED TREE 2020-08-19 16:39:33 +03:00
Sebastian Streich a797186639 Bug 1656296 - Pass Blocked Downloads to the DownloadsUI r=ckerschb,Gijs
***

***
Added Better Testing

Differential Revision: https://phabricator.services.mozilla.com/D85439
2020-08-19 12:45:55 +00:00
Csoregi Natalia ff0a68004d Backed out changeset 7cad986c81a5 (bug 1605305) for failures on test_trr.js. CLOSED TREE 2020-08-18 23:38:17 +03:00
Akihiko Odaki 7f71e11e00 Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 16:32:43 +00:00
Razvan Maries 44ae0cd57e Backed out changeset 1047cef8519b (bug 1605305) for perma failures on test_trr.js. CLOSED TREE 2020-08-18 17:39:29 +03:00
Akihiko Odaki 77429bc942 Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 13:15:27 +00:00
julianwels c2daadfdc6 Bug 1658594: Simplified HTTPS-Only checks for CORS and mixed content r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D86820
2020-08-17 16:35:09 +00:00
Mihai Alexandru Michis 96d8ee8908 Backed out changeset 6b495a62f535 (bug 1658594) for causing failures in test_cors_mixedcontent.html
CLOSED TREE
2020-08-14 18:43:43 +03:00
julianwels e1d3e25de2 Bug 1658594: Simplified HTTPS-Only checks for CORS and mixed content r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D86820
2020-08-14 14:49:02 +00:00
Christoph Kerschbaumer 085e06de67 Bug 1658265: HTTPS-Only - Simplify LogMessage and exempt certain loads from being logged to the console. r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D86918
2020-08-14 00:22:59 +00:00
Christoph Kerschbaumer 86017275d2 Bug 1642387: Prevent HTTPS-Only timeouts by sending http request in the background with a 3000ms delay. If that http request returns before the upgraded request, it's an indicator the https request will result in a timeout and we show the error... r=mattwoodrow,dragana,JulianWels
...page instead. r=dragana

Differential Revision: https://phabricator.services.mozilla.com/D85300
2020-08-12 12:57:22 +00:00
Emilio Cobos Álvarez 0c03ba166c Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku
We've shipped it on by default since 74 (bug 1617219).

Differential Revision: https://phabricator.services.mozilla.com/D86665
2020-08-12 10:57:04 +00:00
Christoph Kerschbaumer f372af4995 Bug 1658244: Allow view-background-image to open a data: URI by setting a flag on the loadinfo r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86592
2020-08-11 13:41:54 +00:00
Frederik Braun 6c85c74f16 Bug 1655716 - Introduce TYPE_INTERNAL_FETCH_PRELOAD and use in HTMLLinkElement::AsValueToContentPolicy() - r=emilio,mayhemer,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85980
2020-08-11 12:33:14 +00:00
Christoph Kerschbaumer 2372c28caf Bug 1658283: HTTPS-Only: Simplify ShouldUpgradeWebSocket. r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D86539
2020-08-11 11:19:28 +00:00
Razvan Maries b755f7fdb0 Backed out 2 changesets (bug 1642387) for perma failures on browser_errorpage_timeout.js. CLOSED TREE
Backed out changeset f09be3d0ab1b (bug 1642387)
Backed out changeset 5349b1df5595 (bug 1642387)
2020-08-10 21:04:03 +03:00
Christoph Kerschbaumer a91ff39f2f Bug 1642387: Prevent HTTPS-Only timeouts by sending http request in the background with a 500ms delay. If that http request returns before the upgraded request, it's an indicator the https request will result in a timeout and we show the error... r=mattwoodrow,dragana,JulianWels
...page instead. r=dragana

Differential Revision: https://phabricator.services.mozilla.com/D85300
2020-08-10 16:34:39 +00:00
Frederik Braun 7c16ddcc54 Bug 1655714 - Add TYPE_INTERNAL_FRAME_MESSAGEMANAGER_SCRIPT and use in TryCacheLoadAndCompileScript(), r=kmag
The main point of this change is to not use TYPE_OTHER in `TryCacheLoadAndCompileScript()`,
for extra clarity, we're not using a catch-all TYPE_INTERNAL_SCRIPT.
This is why the changeset introduces a new type TYPE_INTERNAL_FRAME_MESSAGEMANAGER_SCRIPT
which in itself adds lots of changes to various files.

Differential Revision: https://phabricator.services.mozilla.com/D85977
2020-08-10 09:04:37 +00:00
Christoph Kerschbaumer e99c9c8e77 Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-10 08:51:44 +00:00
Bogdan Tara 492ec9ba2f Backed out changeset c20c383af4db (bug 1657583) for http related failures CLOSED TREE 2020-08-07 17:13:37 +03:00
Frederik Braun c2034cbebd Bug 1657208 - add test case for null & empty url strings r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85968
2020-08-07 13:15:04 +00:00
Christoph Kerschbaumer 080bd94e56 Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-07 12:50:31 +00:00
Bogdan Tara 3bc4fa6d50 Backed out changeset 5a2241b01c82 (bug 1657583) for DocumentLoadListener.cpp related bustage CLOSED TREE 2020-08-07 14:58:47 +03:00
Christoph Kerschbaumer b6387305a4 Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-07 11:27:56 +00:00
Christoph Kerschbaumer 394ac42d42 Bug 1657348: Simplify CouldBeHttpsOnlyError within docshell. r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D86009
2020-08-05 15:18:01 +00:00
Simon Giesecke 96f3e7e019 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Emilio Cobos Álvarez 2334b31709 Bug 1652271 - Fix IPC serialization of FeaturePolicy in presence of attribute-enabled features. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D83848
2020-08-04 09:02:31 +00:00
Marcos Cáceres c40f16142f Bug 1653199 - Add web-share permission policy r=ckerschb
Restrict navigator.share() to web-share permission policy

Differential Revision: https://phabricator.services.mozilla.com/D83903
2020-08-04 05:30:35 +00:00
Noemi Erli 381fca9783 Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke 032d2ac9d3 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Frederik Braun 4b0aa44482 Bug 1656647 - typo in ContentSecurityManager logging r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85725
2020-08-03 07:38:47 +00:00
Sebastian Streich 530412c9cf Bug 1655719 - Make Type:SaveAsDownload subject to mixedContentBlocking r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85267
2020-07-30 12:26:49 +00:00
Sebastian Streich 9644a40740 Bug 1558394 - Block downloads in sandboxed iframes r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D67351
2020-07-29 11:50:09 +00:00
Frederik Braun 887dadabf0 Bug 1648764 - map chromescripts into their own internal contentpolicytype r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D81336
2020-07-24 11:52:02 +00:00
Christoph Kerschbaumer 396052a4f9 Bug 1653455: Enable test_resource_upgrade.html for fission and xorigin. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D84486
2020-07-24 08:21:41 +00:00
Tim Huang 3d49931ee6 Bug 1647825 - Part 3: Add a test for the blocking reporting. r=ckerschb,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D82333
2020-07-22 15:12:39 +00:00
Simon Giesecke e443211b53 Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D83771
2020-07-22 15:12:10 +00:00
Jens Hausdorf 05355d48f8 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
Bogdan Tara f501f298c3 Backed out changeset e4b17772c446 (bug 1653199) for test_featureList.html failures CLOSED TREE 2020-07-21 02:27:55 +03:00
Marcos Cáceres 44767c82af Bug 1653199 - Add web-share permissions policy r=ckerschb
Adds "web-share" permissions policy

Differential Revision: https://phabricator.services.mozilla.com/D84121
2020-07-20 07:35:33 +00:00
Marcos Cáceres e81cf9e516 Bug 1640086 - Add "gamepad" permission policy as self r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D81651
2020-07-20 03:08:23 +00:00
Sebastian Streich af8c105fc0 Bug 1450853 - Use Generic Error for 3rdparty MediaElement r=ckerschb,smaug
***
Add test

Differential Revision: https://phabricator.services.mozilla.com/D80080
2020-07-16 12:03:38 +00:00
Sebastian Streich de873529c5 Bug 1544705 - Re-Allow empty content for CSP-hashing r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D83533
2020-07-16 12:23:08 +00:00
Frederik Braun a7153982e8 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
Sebastian Streich 3e517e1e7b Bug 1651733 - Set mcb-download blocking true in tests r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D83363
2020-07-14 14:41:41 +00:00
Razvan Maries b434fc9008 Backed out changeset 6b518e88bdf9 (bug 1450853) for perma failures on empty-samples.webm. CLOSED TREE 2020-07-14 15:26:22 +03:00
Sebastian Streich 9a66f3e9e3 Bug 1450853 - Use Generic Error for 3rdparty MediaElement r=ckerschb,smaug
***
Add test

Differential Revision: https://phabricator.services.mozilla.com/D80080
2020-07-14 11:16:24 +00:00
Emilio Cobos Álvarez ff86a1d84e Bug 1608358 - Fix allowfullscreen check to check for feature policy. r=baku
We can clean up this code once the feature policy pref goes away, but
meanwhile this should do the right thing.

Differential Revision: https://phabricator.services.mozilla.com/D82976
2020-07-13 21:15:54 +00:00