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

110 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski a4ff84a172 Bug 1849641 - log a console message and use a more descriptive error code when HTTP response status line cannot be parsed; r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186705
2023-08-23 21:41:19 +00:00
Cristian Tuns 83c55337a3 Backed out changeset c187cb4839c0 (bug 1849641) for causing Gtest failures in TestHttpResponseHead CLOSED TREE 2023-08-23 14:34:19 -04:00
Thomas Wisniewski b400c852ad Bug 1849641 - log a console message and use a more descriptive error code when HTTP response status line cannot be parsed; r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186705
2023-08-23 17:37:12 +00:00
Robert Longson 332b093789 Bug 1676651 - don't warn to console if a cookie is deleted r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D175563
2023-04-28 14:33:34 +00:00
Sean Feng e62365a145 Bug 1820192 - Add a hint of ORB blocking to developer console r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172263
2023-03-13 15:39:38 +00:00
Sean Feng 6181fdcbf8 Bug 1785331 - Allow partially implemented ORB to be used in Nightly r=emilio,smaug,necko-reviewers,valentin
This patch starts to actually blocking opaque responses
for most type of the resources that are defined in the spec.
There are still pieces missing such as blocking JSON responses,
and this is why it's called partially implemented.

This patch was originally written by farre, and I made some
modifications based on it.

Depends on D155128

Differential Revision: https://phabricator.services.mozilla.com/D155129
2022-10-27 19:18:11 +00:00
Tom Schuster 934b379383 Bug 1763073 - Add telemetry (and messaging) for SameSite cookies blocked due to redirects. r=freddyb,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D143034
2022-06-15 14:51:16 +00:00
Frederik Braun 30ca834b74 Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb
Given that we only support samesite lax/strict/none in our storage schema,
it's useful to introduce a default value, as required by the spec.
However, that would it hard to distinguish between none/lax when we switch
the default.
So, instead of doing that we use the peculiarities of our current schema
to our advantage: There's a "sameSite" attribute and a "rawSameSite"
attribute, where the latter is the literal value we received from the
server. With this patch, we'll interpret the "sameSite" attribute
based on the laxByDefault pref. This also has the advantage that various
front-end code (e.g., in DevTools) is always reading the "sameSite"
value of nsICookies.

Differential Revision: https://phabricator.services.mozilla.com/D137460
2022-04-05 08:20:25 +00:00
Tom Schuster 44e7ca5fb7 Bug 1748693 - Remove unused cookie rejection strings. r=freddyb,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D141774
2022-03-23 11:37:20 +00:00
Manuel Bucher 4e258cd1ce Bug 1747253 - Restore still in use APIDeprecationWarning translation r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D135336
2022-01-11 15:41:04 +00:00
Valentin Gosu 13ab902ec7 Bug 1730494 - Show error in webconsole when resource is blocked by CORP headers r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D125392
2021-09-16 08:31:03 +00:00
Valentin Gosu 7c670aecf4 Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 13:08:12 +00:00
Brindusan Cristian 2a324428d6 Backed out changeset 8fea79dcd428 (bug 1708125) for causing xpcshell failures in test_DownloadCore.js.
CLOSED TREE
2021-05-31 15:28:19 +03:00
Valentin Gosu 02335617c8 Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 07:33:29 +00:00
Dorel Luca 0a5ef97272 Backed out changeset 73abb8b1b4b5 (bug 1708125) for xpcshell failures in browser/components/urlbar/tests/unit/test_avoid_stripping_to_empty_tokens.js. CLOSED TREE 2021-05-07 12:15:35 +03:00
Valentin Gosu bf24e6a36f Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-07 08:20:14 +00:00
Paul Zuehlcke 0379f315c7 Bug 1693000 - Updated CookiePartitionedForeign console message to refer to State Partitioning. r=timhuang,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D105343
2021-02-16 19:50:18 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Honza Bambas b984b89632 Bug 1654556 - Log also "failed the samesite tests" cookie rejection reason, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D84555
2020-07-23 14:48:12 +00:00
Bogdan Tara 24dcc81896 Backed out changeset 29ae67e7f8d5 (bug 1654556) for browser_webconsole_warning_group_storage_isolation.js failures CLOSED TREE 2020-07-23 15:20:30 +03:00
Honza Bambas 71af5acb52 Bug 1654556 - Log also "failed the samesite tests" cookie rejection reason, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D84555
2020-07-23 09:45:28 +00:00
Honza Bambas 1dd3107c82 Bug 1596741 - Emit warning to console when rejecting to set cookie, r=baku,flod
Differential Revision: https://phabricator.services.mozilla.com/D83649
2020-07-20 10:32:06 +00:00
Bogdan Tara 6b8e469ce3 Backed out changeset 0cc074b94631 (bug 1596741) for assertion failure on CookieLogging.cpp CLOSED TREE 2020-07-18 10:02:39 +03:00
Honza Bambas d4dd583612 Bug 1596741 - Emit warning to console when rejecting to set cookie, r=baku,flod
Differential Revision: https://phabricator.services.mozilla.com/D83649
2020-07-18 05:23:54 +00:00
Csoregi Natalia b70d90ce05 Backed out changeset 72e7c3e8393e (bug 1596741) as by request. CLOSED TREE 2020-07-17 19:00:15 +03:00
Honza Bambas a1c623c01c Bug 1596741 - Emit warning to console when rejecting to set cookie, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D83649
2020-07-17 14:26:02 +00:00
Andrea Marchesini 3c1b71a6e4 Bug 1651618 - Use cookie 'SameSite' attribute with capital 'S' everywhere, r=flod,fluent-reviewers,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82872
2020-07-09 20:40:15 +00:00
Nihanth Subramanya 0b44a1b2ab Bug 1645896 - Add a console log origins that have their cookies partitioned by dFPI. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D80675
2020-06-25 05:51:29 +00:00
Razvan Maries 592b80d333 Backed out changeset 7ff5210dae5e (bug 1645896) for build bustages. CLOSED TREE 2020-06-24 13:39:43 +03:00
Nihanth Subramanya 6be693b933 Bug 1645896 - Add a console log origins that have their cookies partitioned by dFPI. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D80675
2020-06-24 10:11:45 +00:00
Gijs Kruitbosch 19220a3149 Bug 1644863 - fix trailing whitespace and windows line endings in locale files, r=fluent-reviewers,flod,Pike
Differential Revision: https://phabricator.services.mozilla.com/D79203
2020-06-17 22:46:22 +00:00
Narcis Beleuzu 2301168947 Backed out changeset cf9b81801abc (bug 1640117) for dt failures on browser_webconsole_trackingprotection_errors.js . CLOSED TREE 2020-06-05 17:14:38 +03:00
Taegeon Lee 6b7bd763ae Bug 1640117 Change message in console for blocking contents from content blocking to enhanced tracking protection. r=nchevobbe,dimi
Differential Revision: https://phabricator.services.mozilla.com/D78470
2020-06-05 11:15:13 +00:00
Andrea Marchesini 6254482164 Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-02 13:50:32 +00:00
Csoregi Natalia e960b9f449 Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini 8325f09f3c Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-02 09:15:31 +00:00
Razvan Maries 79fe28f0d6 Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Andrea Marchesini 3b653684fe Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-01 16:49:01 +00:00
Noemi Erli e40be0aa72 Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini bfdca98faf Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-01 15:17:31 +00:00
Dorel Luca 9574e25c80 Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini 814f65058b Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-01 10:29:48 +00:00
Liang-Heng Chen 58783cf00a Bug 1628942 - replace `tracker` wording by `site`; r=englehardt
Differential Revision: https://phabricator.services.mozilla.com/D74644
2020-05-13 21:03:56 +00:00
Liang-Heng Chen 2b70a56ef5 Bug 1616585 - add heuristic for visited redirection; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D68988

--HG--
extra : moz-landing-system : lando
2020-04-09 12:42:59 +00:00
Andrea Marchesini 2f43df007a Bug 1293067 - Implement a cookie limit warning, r=mayhemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D67329

--HG--
extra : moz-landing-system : lando
2020-03-25 11:30:45 +00:00
Cosmin Sabou 22c2e8d92c Backed out 2 changesets (bug 1293067) for failures on browser_oversize.js.
CLOSED TREE

Backed out changeset 5df9d39b0b98 (bug 1293067)
Backed out changeset 8ed41aa3ed4f (bug 1293067)
2020-03-25 13:24:19 +02:00