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

22788 Коммитов

Автор SHA1 Сообщение Дата
Kershaw Chang 34f9cb2633 Bug 1727180 - Call XRE_InitCommandLine for xpcshell, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D124890
2021-11-02 16:01:10 +00:00
Iulian Moraru bcd7d6fd66 Backed out 23 changesets (bug 1729455) for causing multiple build bustages. CLOSED TREE
Backed out changeset eb27a22d5419 (bug 1729455)
Backed out changeset 0744d68b8c94 (bug 1729455)
Backed out changeset 052a33acc2e4 (bug 1729455)
Backed out changeset 6911243d9ae0 (bug 1729455)
Backed out changeset 0473c7cfd344 (bug 1729455)
Backed out changeset 9b44714d7fce (bug 1729455)
Backed out changeset b04e243f4ab5 (bug 1729455)
Backed out changeset d112b90b7c05 (bug 1729455)
Backed out changeset 40008e4f1c1f (bug 1729455)
Backed out changeset 5a3ecc96a699 (bug 1729455)
Backed out changeset 3e8ac168ee3d (bug 1729455)
Backed out changeset 0cfae6f33c35 (bug 1729455)
Backed out changeset e8d24be16e22 (bug 1729455)
Backed out changeset eb07a028bc43 (bug 1729455)
Backed out changeset 11637120b0cc (bug 1729455)
Backed out changeset 7f7c9f002087 (bug 1729455)
Backed out changeset 080188fa01cf (bug 1729455)
Backed out changeset f058fbb8662e (bug 1729455)
Backed out changeset 907da0f267fd (bug 1729455)
Backed out changeset 8e036b0931e3 (bug 1729455)
Backed out changeset cfcd4d853484 (bug 1729455)
Backed out changeset 99267b6d193f (bug 1729455)
Backed out changeset a2cee9ad6c6c (bug 1729455)
2021-11-02 18:10:53 +02:00
Andreas Pehrson 2d04fbf93c Bug 1729455 - Modularize RTCStatsTimestampMaker::GetNow(). r=ng,bwc
This is needed in order to provide precision reduction on timestamps from
libwebrtc. Similarly useful for providing a clock adapter so libwebrtc can use
our clock.

Differential Revision: https://phabricator.services.mozilla.com/D125715
2021-11-02 14:35:54 +00:00
Norisz Fay 47a4e47af2 Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE
Backed out changeset 4d3532da5652 (bug 1729640)
Backed out changeset 9ec5346cf9d9 (bug 1729640)
Backed out changeset 43dd05680186 (bug 1729640)
Backed out changeset f44a8f37d84c (bug 1729640)
Backed out changeset 66376bee8cef (bug 1729640)
Backed out changeset c7ffe85380d7 (bug 1729640)
Backed out changeset ae9c5de3902a (bug 1729640)
2021-11-02 16:33:01 +02:00
Dimi fc57da5280 Bug 1729640 - P1. Extend AddHighValuePermission to support 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission. r=necko-reviewers,farre,kershaw
This patch:
1. adds two 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission
2. moves 'AddHighValuePermission' from HttpBaseChannel to ProcessIsolation
   to support more high-value permission type.

Differential Revision: https://phabricator.services.mozilla.com/D127101
2021-11-02 13:47:47 +00:00
Anne van Kesteren b066868aed Bug 1736689 - Postpone OPAQUE_RESPONSE_BLOCKING expiry. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D129846
2021-11-02 11:42:04 +00:00
Sebastian Hengst d21e359bd2 Merge autoland to mozilla-central. a=merge 2021-11-01 22:58:34 +01:00
Sebastian Hengst e1d59e5c59 Bug 1736627 - disable test_http3_large_post_telemetry.js temporarily until telemetry probe got extended. a=Aryx 2021-11-01 19:23:12 +01:00
ffxbld 77b1c7801c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130015
2021-11-01 16:11:24 +00:00
Kershaw Chang 541d91f0ba Bug 1703933 - Avoid racing on mIsHttp3Used, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D130006
2021-11-01 11:51:31 +00:00
Andrew McCreight 0cbe58f388 Bug 1736689 - Disable browser_opaque_response_blocking_telemetry.js in Nightly for now. r=aryx
The telemetry that this is testing expires in 96. We can reenable the test
when we reenable the telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D129851
2021-10-28 17:12:16 +00:00
Sean Feng 5283aecc5d Bug 1468476 - Make soft reload only force validates top level document r=necko-reviewers,nika,dragana,asuth
Currently, soft reload uses the `VALIDATE_ALWAYS` flag to not only
force revalidate the top level document, but also subresources.
This causes content to be refetched from the web even if there
are caches that are still valid and can be used.

Chrome already has such behaviour to not revalidate all resources.

Differential Revision: https://phabricator.services.mozilla.com/D122270
2021-10-28 16:11:56 +00:00
ffxbld e156d378d8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D129802
2021-10-28 13:15:42 +00:00
somdatta 7f3ac3954b Bug 271386- Make some functions private in nsHttpResponseHead r=necko-reviewers,kershaw
Make the following functions private because they are only used in nsHttpResponseHead.cpp for compiler optimization-
GetDateValue,GetAgeValue,GetMaxAgeValue,GetExpiresValue.
GetLastModifiedValue cannot be made private since it is being used in CachePushChecker.cpp and ParseDateHeader is already private.

Differential Revision: https://phabricator.services.mozilla.com/D129664
2021-10-28 11:07:55 +00:00
Sean Feng 98962cf9f6 Bug 1735644 - Use TimeStamp::Now() as AsyncOpenTime for DocumentChannel r=nika,valentin,necko-reviewers
Currently `AsyncOpenTime` is generated when DocumentChannel is
created, rather than being set in the `AsyncOpen` function. This is
mysterious and the reason for doing it this way is unclear.

I noticed a discrepancy while comparing the test result for
`nav2_test_redirect_server.html`. When I run it locally, the
value of `redirectStart` was 0.05 for me in Firefox and 1.5 in Chrome,
which turned out AsyncOpenTime was being used, and it didn't look like
it was set to the correct value.

I think we should use `TimeStamp::Now()` instead which appeals to be
more accurate.

Differential Revision: https://phabricator.services.mozilla.com/D129549
2021-10-28 00:37:15 +00:00
Alexandru Michis 363dc1e112 Backed out 3 changesets (bug 1732792, bug 1733481) for causing talos crashes in ConditionVariableImpl and xpcshell failures in test_remote_settings_utils.js.
CLOSED TREE

Backed out changeset 309190b4a49d (bug 1732792)
Backed out changeset 600e6dfd7436 (bug 1732792)
Backed out changeset 834441a08cc0 (bug 1733481)
2021-10-27 22:37:07 +03:00
Noemi Erli 0ac4387461 Backed out 2 changesets (bug 1734573) per developer's request CLOSED TREE
Backed out changeset 7d7d9674f18f (bug 1734573)
Backed out changeset 0e5afef7d074 (bug 1734573)
2021-10-27 21:43:19 +03:00
Shane Caraveo b683ebea88 Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-27 16:16:50 +00:00
Valentin Gosu 6b419daeb0 Bug 1702529 - Pass NetAddr pointers to rust instead of a serialization r=necko-reviewers,dragana
It seems that the serialization generated by inet_ntop_internal via
getnameinfo is sometimes wrong, returning `?` instead of serializing the
IP we pass in.
It's also inefficient to keep passing the serialization to and from rust
code - instead it's much easier to just pass a pointer to the NetAddr
union and build a proper SocketAddr instance on the rust side from
from the bytes instead of parsing the serialization

Differential Revision: https://phabricator.services.mozilla.com/D129489
2021-10-27 15:28:41 +00:00
Cristian Tuns d766fa0f20 Backed out changeset ba94ff2a7696 (bug 1702529) for causing build bustages. CLOSED TREE 2021-10-27 07:07:17 -04:00
Valentin Gosu 609bf1922f Bug 1702529 - Pass NetAddr pointers to rust instead of a serialization r=necko-reviewers,dragana
It seems that the serialization generated by inet_ntop_internal via
getnameinfo is sometimes wrong, returning `?` instead of serializing the
IP we pass in.
It's also inefficient to keep passing the serialization to and from rust
code - instead it's much easier to just pass a pointer to the NetAddr
union and build a proper SocketAddr instance on the rust side from
from the bytes instead of parsing the serialization

Differential Revision: https://phabricator.services.mozilla.com/D129489
2021-10-27 10:44:46 +00:00
Valentin Gosu f2f9847964 Bug 1733356 - Fix non-unified build errors in netwerk/test/gtest/ r=necko-reviewers,kershaw
Depends on D129500

Differential Revision: https://phabricator.services.mozilla.com/D129501
2021-10-27 08:52:26 +00:00
Valentin Gosu 2650af618b Bug 1733356 - Fix non-unified build errors in netwerk/socket/ r=necko-reviewers,kershaw
Depends on D129499

Differential Revision: https://phabricator.services.mozilla.com/D129500
2021-10-27 08:52:26 +00:00
Valentin Gosu 1415006c21 Bug 1733356 - Fix non-unified build errors in netwerk/url-classifier/ r=necko-reviewers,kershaw
Depends on D129498

Differential Revision: https://phabricator.services.mozilla.com/D129499
2021-10-27 08:52:25 +00:00
Valentin Gosu d65c56a554 Bug 1733356 - Fix non-unified build errors in netwerk/streamconv/converters/ r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D129498
2021-10-27 08:52:25 +00:00
Marian-Vasile Laza 84fc0a136f Backed out changeset 3882acd862fc (bug 1733481) for causing build bustages on HttpBaseChannel.cpp. CLOSED TREE 2021-10-27 01:37:32 +03:00
Shane Caraveo 863c48338b Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-26 20:32:52 +00:00
Gijs Kruitbosch 7089834427 Bug 1737859 - migrate docs for the http server, r=mconley DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129550
2021-10-26 20:27:06 +00:00
Alexandre Lissy 4e04ec89a3 Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D123186
2021-10-26 19:42:03 +00:00
Kershaw Chang 6f8690e393 Bug 1734573 - Add a new activity type to report proxy response header, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127824
2021-10-26 19:39:27 +00:00
Narcis Beleuzu 331a8b2a4f Backed out changeset 054e0b5325a3 (bug 1733481) for xpcshell failures on /test_failover_retry.js CLOSED TREE 2021-10-26 21:57:33 +03:00
Shane Caraveo 5b177fc77d Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-26 18:16:38 +00:00
Marian-Vasile Laza f8576fec48 Backed out changeset fe716ee1a126 (bug 1723505) for causing build bustages. CLOSED TREE 2021-10-26 20:45:47 +03:00
Alexandre Lissy 14420a3ffc Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D123186
2021-10-26 17:14:13 +00:00
Sandor Molnar 799be2330b Backed out changeset 5a4d9d296d42 (bug 1733481) for causing xpc failures in unit/test_failover_retry. CLOSED TREE 2021-10-26 18:39:07 +03:00
Shane Caraveo 15e1356e3b Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-26 14:41:11 +00:00
Hannah Peuckmann 09b6c3a033 Bug 1567443 - Added flag for indicating secure Chrome UI in nsIAboutModule. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-26 13:32:31 +00:00
criss 7c13c79ea0 Backed out 2 changesets (bug 1734573) for causing failures on browser_net_brotli.js. CLOSED TREE
Backed out changeset 1b2194a0e1ec (bug 1734573)
Backed out changeset 51a00e9f45a3 (bug 1734573)
2021-10-26 15:02:41 +03:00
Kershaw Chang 6d485bbb43 Bug 1723946 - Avoid racing on sSocketProcessChild, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D129502
2021-10-26 11:22:56 +00:00
Kershaw Chang b02f15305b Bug 1734573 - Add a new activity type to report proxy response header, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127824
2021-10-26 11:21:43 +00:00
Valentin Gosu 44713199ad Bug 1436503 - Check if pointer is null r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D129479
2021-10-26 08:04:13 +00:00
Benjamin VanderSloot f9d8931809 Bug 1661151 - The Storage Access API should automatically reject access for cookie policies that don't allow cross-site storage access r=anti-tracking-reviewers,timhuang
Add a test to validate behavior on non-tracking first-party requests
    Add tests to ensure we don't say we are granting storage access to third parties with cookiePolicies that forbid it
    Add check near the top of Document::HasStorageAccess to immediately return false when cookiePolicy is REJECT.
    Add check near the top of Document::RequestStorageAccess to reject when cookiePolicy is REJECT.
    Add check in Document::RequestStorageAccess to reject when the cookie policy forbids third party cookies
        Note, BEHAVIOR_LIMIT_FOREIGN is treated like BEHAVIOR_REJECT_FOREIGN, just like in ContentBlocking::ShouldAllowAccessFor
    Add comparable checks to the priveleged version of RequestStorageAccess

This also resolves Bug 1661152

Differential Revision: https://phabricator.services.mozilla.com/D129278
2021-10-25 23:20:39 +00:00
Valentin Gosu 29d1532e4f Bug 1160000 - Fix netwerk/test/unit/xpcshell.ini lint warnings r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129032
2021-10-25 14:45:36 +00:00
Valentin Gosu 743ea2c322 Bug 1160000 - Fix up NTLM tests r=necko-reviewers,dragana
I just got the previously added tests to run properly.
While it would be nice to make them clean and modern I think it's not
worth the additional effort - just increasing the code coverage should
be enough.

Differential Revision: https://phabricator.services.mozilla.com/D129008
2021-10-25 14:45:36 +00:00
Gary Lockyer 7f1b02ae84 Bug 1160000 - Add xpcshell-tests for NTLM authentication r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129007
2021-10-25 14:45:35 +00:00
Valentin Gosu 44e308670b Bug 1733274 - Skip CORP check for TYPE_SAVEAS_DOWNLOAD r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129395
2021-10-25 14:03:20 +00:00
Alexandru Michis 7fce88a578 Backed out changeset 57d260450dce (bug 1661151) for causing wpt failures in hasStorageAccess().
CLOSED TREE
2021-10-25 14:26:30 +03:00
Benjamin VanderSloot a453788892 Bug 1661151 - The Storage Access API should automatically reject access for cookie policies that don't allow cross-site storage access r=anti-tracking-reviewers,timhuang
Add a test to validate behavior on non-tracking first-party requests
    Add tests to ensure we don't say we are granting storage access to third parties with cookiePolicies that forbid it
    Add check near the top of Document::HasStorageAccess to immediately return false when cookiePolicy is REJECT.
    Add check near the top of Document::RequestStorageAccess to reject when cookiePolicy is REJECT.
    Add check in Document::RequestStorageAccess to reject when the cookie policy forbids third party cookies
        Note, BEHAVIOR_LIMIT_FOREIGN is treated like BEHAVIOR_REJECT_FOREIGN, just like in ContentBlocking::ShouldAllowAccessFor
    Add comparable checks to the priveleged version of RequestStorageAccess

This also resolves Bug 1661152

Differential Revision: https://phabricator.services.mozilla.com/D129278
2021-10-25 10:49:32 +00:00
Cristian Tuns 0b4f04d43f Backed out changeset 177e6f28d348 (bug 1567443) for causing mochitest failures on browser_check_identity_state.js. CLOSED TREE 2021-10-25 06:45:43 -04:00
Hannah Peuckmann 06382f1212 Bug 1567443 - Using nsIAboutModule flag instead of regex to indicate secure about page. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-25 09:34:06 +00:00