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

25575 Коммитов

Автор SHA1 Сообщение Дата
Iulian Moraru 151633bf92 Backed out changeset 44247957cb7a (bug 1857593) for causing build bustages on nsHttpChannel.cpp. CLOSED TREE 2023-10-18 15:44:25 +03:00
Benjamin VanderSloot 62081e7036 Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D191095
2023-10-18 12:05:05 +00:00
Marc Seibert 39cc41e155 Bug 1853418 - Prepare netwerk tests.r=dao,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190556
2023-10-18 10:11:07 +00:00
Valentin Gosu 28d717a5d9 Bug 1855174 - Process xpcshell node output in realtime r=jmaher,necko-reviewers,kershaw
Spawned nodejs servers sometimes print output to stdout or stderr.
While it's not strictly necessary to display, it's sometimes useful for
debugging, but it's problematic that we only dump the output when killing
the node server.

After landing D189212 this becomes even more problematic, as killing the
process via os.killpg means the file descriptors are already closed.

This patch makes it so for each started server we also spawn a new thread
that reads from stdout and stderr. This way the output is present in the
logs at the correct time.

Depends on D189212

Differential Revision: https://phabricator.services.mozilla.com/D189213
2023-10-18 10:07:19 +00:00
Valentin Gosu 5712d32553 Bug 1772329 - Force kill node process and subprocesses in xpcshell tests at the end of the test r=jmaher,necko-reviewers,kershaw
Added the start_new_session=True argument to Popen so that the node instance gets its own pgid.
On POSIX platforms the server shutdown will now be done using os.killpg() instead of process.terminate()

Differential Revision: https://phabricator.services.mozilla.com/D189212
2023-10-18 10:07:18 +00:00
Kershaw Chang 826802ef8d Bug 1858757 - Don't coalesce WebTransport connections, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D191162
2023-10-18 08:55:25 +00:00
Mirko Brodesser 45832ddae3 Bug 1839315: part 5) Add links to spec for parsing the Link header fields a HTTP header contains. r=necko-reviewers,valentin
Otherwise it's hard to understand what's supposed to happen there.

Depends on D190666

Differential Revision: https://phabricator.services.mozilla.com/D190667
2023-10-18 08:43:37 +00:00
edgul 27e306d932 Bug 1844815 - Added cookie db cleanup for old non-ipv4 urls with hostnames ending in a number. r=valentin,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184520
2023-10-17 22:09:10 +00:00
Tim Huang 414ea70e79 Bug 1824222 - Populate the OverriddenFingerprintingSettings to the loadInfo when opening channels. r=tjr,anti-tracking-reviewers,pbz,necko-reviewers,kershaw
We populate the OverriddenFingerprintingSettings to the loadInfo when updating
AntiTracking Info for the channel. This happens when we open the channel
in the parent process, so we have every info we need to get the
granular overrides for the channel.

Differential Revision: https://phabricator.services.mozilla.com/D185013
2023-10-17 22:02:28 +00:00
Tim Huang 97022a04c1 Bug 1824222 - Add an OverriddenFingerprintingSettings attribute to nsILoadInfo. r=tjr,necko-reviewers,jesup
This patch adds a new attribute called OverriddenFingerprintingSettings to
nsILoadInfo. The field will be used to decide the granular fingerprinting
protection override of the corresponding channel.

The OverriddenFingerprintingSettings will only get populated if
there is one defined for the context of the channel. Otherwise, a value
of Nothing indicates no granular overrides are present for the channel..

Differential Revision: https://phabricator.services.mozilla.com/D185011
2023-10-17 22:02:27 +00:00
Randell Jesup 9f9fe42709 Bug 759819: Teach 3 necko classes to release listeners after OnStopRequest r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D189368
2023-10-17 18:29:14 +00:00
Norisz Fay 98c14a6434 Backed out changeset 993429ad8ddd (bug 759819) for causing bustage on nsCOMPtr.h CLOSED TREE 2023-10-17 19:18:47 +03:00
Randell Jesup 94171e5806 Bug 759819: Teach 3 necko classes to release listeners after OnStopRequest r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D189368
2023-10-17 12:34:21 +00:00
Kershaw Chang da249929c1 Bug 1706377 - Always create new connection after network change, r=necko-reviewers,valentin
The basic concept here is adding a pending list in ConnectionEntry and put connections in it when VerifyTraffic() is called.
By doing this, we will always create new connections after a network change event. For the old connections, which might be still alive after network change, we put them into the pending list.
The connections in the pending list will keep working until their transactions are done.

Differential Revision: https://phabricator.services.mozilla.com/D189523
2023-10-17 12:32:42 +00:00
serge-sans-paille 65ae75234f Bug 1857516 - Get rid of deprecated imp python module in favor of importlib r=saschanaz CLOSED TREE
Following the official migration guide from
https://docs.python.org/3/whatsnew/3.12.html#imp

Differential Revision: https://phabricator.services.mozilla.com/D190465
2023-10-17 09:17:47 +00:00
Cristina Horotan ea9336a2ca Backed out 5 changesets (bug 1851992) for causing multiple failures
Backed out changeset d28399b3d947 (bug 1851992)
Backed out changeset 95e4df69007a (bug 1851992)
Backed out changeset fa61d4e76827 (bug 1851992)
Backed out changeset 79969d9eb5cd (bug 1851992)
Backed out changeset 03c17255f1af (bug 1851992)
2023-10-17 14:48:23 +03:00
Norisz Fay 1aa4e4dfed Backed out changeset 7f8e4fcfcbfa (bug 1857516) for causing web platform test failures CLOSED TREE 2023-10-17 13:33:51 +03:00
serge-sans-paille 2043e40f57 Bug 1857516 - Get rid of deprecated imp python module in favor of importlib r=saschanaz
Following the official migration guide from
https://docs.python.org/3/whatsnew/3.12.html#imp

Differential Revision: https://phabricator.services.mozilla.com/D190465
2023-10-17 09:17:47 +00:00
sunil mayya b0059a0212 Bug 1851992 - send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D188757
2023-10-17 08:27:49 +00:00
sunil mayya f350089afd Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl
Differential Revision: https://phabricator.services.mozilla.com/D187833
2023-10-17 08:27:49 +00:00
sunil mayya 4cd69947e4 Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to send OMT data stop notification to thread retargetable stream listeners. r=necko-reviewers,jesup,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187668
2023-10-17 08:27:48 +00:00
dylan 3897ff544b Bug 1853744 - Stripped the last dot in NormalizeIPv4 and ValidateIPv4Number no longer changes length if last character is dot. r=valentin,necko-reviewers,edgul
Differential Revision: https://phabricator.services.mozilla.com/D189975
2023-10-16 20:34:53 +00:00
Benjamin VanderSloot 30e326cf21 Bug 1742141 - GPC header should be a singleton - r=jewilde,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D189653
2023-10-16 14:03:36 +00:00
Francesco Lodolo (:flod) 7afa84ec9c Bug 1859259 - Fix incorrect variable placeholder in StrictUrlProtocolSetter, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D191064
2023-10-16 12:13:12 +00:00
Kershaw Chang 179a4792c5 Bug 1858657 - Set mShutdown to true to avoid crashing, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190790
2023-10-16 08:05:19 +00:00
Sylvestre Ledru 1e776756dd Bug 1856795 - ride along: use = default; on some recently modified files r=emilio
More on:
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

Command:
L=$(hg export -r tip|grep +++|cut -d/ -f2-)
./mach static-analysis check --checks="-*, modernize-use-equals-default" --fix $L

Differential Revision: https://phabricator.services.mozilla.com/D191016
2023-10-15 15:29:03 +00:00
Sylvestre Ledru d0f6c7fc66 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-15 15:29:02 +00:00
Cristina Horotan 6a90f5eded Backed out 2 changesets (bug 1856795) for causing build bustage at BasicEvents.h CLOSED TREE
Backed out changeset 1d98b028923a (bug 1856795)
Backed out changeset eae2ac93e17c (bug 1856795)
2023-10-14 21:42:14 +03:00
Sylvestre Ledru c164bd9937 Bug 1856795 - ride along: use = default; on some recently modified files r=emilio
More on:
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

Command:
L=$(hg export -r tip|grep +++|cut -d/ -f2-)
./mach static-analysis check --checks="-*, modernize-use-equals-default" --fix $L

Differential Revision: https://phabricator.services.mozilla.com/D191016
2023-10-14 17:34:27 +00:00
Sylvestre Ledru cc8a0ee742 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-14 17:34:26 +00:00
Andrew Creskey 79af9f75bb Bug 1858256 - Add glean upload performance telemetry r=necko-reviewers,valentin
Adding glean upload throughput probes for android coverage.
We will briefly continue to collect the legacy telemetry HTTP_UPLOAD_BANDWIDTH_MBPS (a keyed histogram) while live experiments depend on it.

Differential Revision: https://phabricator.services.mozilla.com/D190698
2023-10-13 17:15:20 +00:00
Tom Marble 0cb91fe33e Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
edgul 0c17cf448b Bug 1851426 - Add pref to reland protocol setter to be more restrictive. r=twisniewski,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188762
2023-10-12 14:33:41 +00:00
edgul 4e5d1773a6 Bug 1851426 - Relanding URL: protocol setter needs to be more restrictive around file (bug 1347459). r=kershaw,twisniewski,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188518
2023-10-12 14:33:41 +00:00
Frederik Braun 7291dac470 Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
Depends on D179794

Differential Revision: https://phabricator.services.mozilla.com/D179795
2023-10-11 17:49:42 +00:00
stransky 013049350a Bug 1854449 [Linux] Migrate DbusWifiScanner to DBus/GIO r=emilio,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190307
2023-10-11 08:58:22 +00:00
Kershaw Chang e8b892b9bc Bug 1852924 - Fill the stream's buffer with data before calling ProcessOutput, r=necko-reviewers,jesup
Note that this patch only improves the upload performance a bit.
We should ensure the stream's buffer is maximally filled before calling ProcessOutput to create packets.

Differential Revision: https://phabricator.services.mozilla.com/D190572
2023-10-11 07:37:37 +00:00
Mark Banner 28b01ddf72 Bug 1858146 - Make more global properties available for sjs files. r=necko-reviewers,jesup
There are a couple of example removals to show it works, bug 1858148 will handle the rest.

Differential Revision: https://phabricator.services.mozilla.com/D190603
2023-10-10 21:38:57 +00:00
Chris Peterson 022596d83c Bug 1806690 - Remove "rv:109.0" UA workaround for IE11. r=necko-reviewers,geckoview-reviewers,valentin,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D190395
2023-10-10 16:22:47 +00:00
Kershaw Chang ff5a7836c1 Bug 1857217 - Understand the IPC delays introduced by socket process, r=acreskey,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190182
2023-10-10 15:09:18 +00:00
Cristian Tuns 5fabc0ee57 Backed out 6 changesets (bug 1812192) for causing browser_schemeless.js failures. CLOSED TREE
Backed out changeset 3d07a92324d0 (bug 1812192)
Backed out changeset 9c2a1ff6c90d (bug 1812192)
Backed out changeset fa6784f8b0f4 (bug 1812192)
Backed out changeset 0f39aba7e4d5 (bug 1812192)
Backed out changeset ef7219327a10 (bug 1812192)
Backed out changeset 9833b559342e (bug 1812192)
2023-10-10 10:02:25 -04:00
Cristian Tuns 5365de024b Backed out changeset 1f39b0b5d125 (bug 1854449) for causing build bustages in DbusWifiScanner.cpp CLOSED TREE 2023-10-10 07:41:11 -04:00
stransky 6db1120c6b Bug 1854449 [Linux] Migrate DbusWifiScanner to DBus/GIO r=emilio,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190307
2023-10-10 11:05:38 +00:00
Emilio Cobos Álvarez 25c0d10932 Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.

I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).

Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
Frederik Braun aed55ecb55 Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
Depends on D179794

Differential Revision: https://phabricator.services.mozilla.com/D179795
2023-10-10 08:43:00 +00:00
Anna Yeddi d719228bc2 Bug 1854522 - Temporarily fail-if one Tier 2 a11y_checks for Core Necko. r=necko-reviewers,valentin
We are working on [enabling Tier 2 a11y-checks to ensure our products have basic accessibility built-in (bug 1692110)](https://bugzilla.mozilla.org/show_bug.cgi?id=1692110) and before that, we need to prepare the existing code base. While we triage and investigate existent tests that would fail once the a11y-checks are enabled in the CI, we are going to fail-if the failing tests altogether and then handle each one of them individually.

This task is to add `fail-if` condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved.

Related bugs:
- Disabling tests: meta bug 1848402
- Investigation and remediation for components with disabled tests: meta bugs 1848394 and 1854227, component-specific bug 1854523
- Explore capturing click events for a11y_checks: bug 1692110

Depends on D188920

Differential Revision: https://phabricator.services.mozilla.com/D188921
2023-10-09 18:20:18 +00:00
Cristian Tuns 6b9650b822 Backed out 30 changesets (bug 1854447, bug 1855491, bug 1854646, bug 1854520, bug 1854528, bug 1854506, bug 1854502, bug 1854443, bug 1854538, bug 1854525, bug 1854660, bug 1854514, bug 1854460, bug 1854625, bug 1854228, bug 1854517, bug 1854533, bug 1692110, bug 1854636, bug 1849021, bug 1854512, bug 1854522, bug 1854509, bug 1854452, bug 1854536, bug 1854531) for causing multiple tier 2 failures on a11y-checks. CLOSED TREE
Backed out changeset 5714b7239b70 (bug 1849021)
Backed out changeset 91e5d7de3484 (bug 1849021)
Backed out changeset cc3142b909f6 (bug 1854660)
Backed out changeset 76d2a8ae9c19 (bug 1854646)
Backed out changeset 36460a147684 (bug 1854636)
Backed out changeset c7529a962a8c (bug 1854625)
Backed out changeset 791f9b03ea96 (bug 1854538)
Backed out changeset bd3f3cb434a5 (bug 1854536)
Backed out changeset 16f4f5bdcaa7 (bug 1855491)
Backed out changeset 6258bab20196 (bug 1854533)
Backed out changeset 29dca16eee2e (bug 1854531)
Backed out changeset 3a69d2c3f562 (bug 1854528)
Backed out changeset 0c63a9ea8b34 (bug 1854525)
Backed out changeset 5795bb6187a5 (bug 1854522)
Backed out changeset 7d4a123a432f (bug 1854520)
Backed out changeset ec95287bd702 (bug 1854517)
Backed out changeset 9914c1481f0d (bug 1854514)
Backed out changeset 25d85e656905 (bug 1854512)
Backed out changeset 828657f2ab73 (bug 1854509)
Backed out changeset 9d8b2e14c375 (bug 1854506)
Backed out changeset 1b3ee1e46e12 (bug 1854502)
Backed out changeset 37c2ec0851dc (bug 1854460)
Backed out changeset c2a60a8fc2d3 (bug 1854452)
Backed out changeset 744a163f2bd1 (bug 1854447)
Backed out changeset 1a9629dae7d5 (bug 1854443)
Backed out changeset c3d5c1ba2a84 (bug 1854228)
Backed out changeset dcd05518b004 (bug 1692110)
Backed out changeset 1c65a4cb618c (bug 1692110)
Backed out changeset 603b891147bd (bug 1692110)
Backed out changeset 53e2fac79d84 (bug 1692110)
2023-10-07 14:43:05 -04:00
Narcis Beleuzu 06df5eb7f4 Backed out 2 changesets (bug 1851426) for bc failure on browser_misused_characters_in_strings.js . CLOSED TREE
Backed out changeset 0f0a9e88f81a (bug 1851426)
Backed out changeset da824de73805 (bug 1851426)
2023-10-07 02:50:09 +03:00
Anna Yeddi 5168d6701a Bug 1854522 - Temporarily disable one Tier 2 a11y_checks for Core Necko. r=necko-reviewers,valentin
We are working on [enabling Tier 2 a11y-checks to ensure our products have basic accessibility built-in (bug 1692110)](https://bugzilla.mozilla.org/show_bug.cgi?id=1692110) and before that, we need to prepare the existing code base. While we triage and investigate existent tests that would fail once the a11y-checks are enabled in the CI, we are going to skip the failing tests altogether and then handle each one of them individually.

This task is to skip with `fail-if` condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved.

Related bugs:
- Disabling tests: meta bug 1848402
- Investigation and remediation for components with disabled tests: meta bugs 1848394 and 1854227, component-specific bug 1854523
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188921
2023-10-06 18:11:35 +00:00
edgul 5a5248a0c2 Bug 1851426 - Add pref to reland protocol setter to be more restrictive. r=twisniewski,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188762
2023-10-06 16:04:32 +00:00
edgul ca97748eb9 Bug 1851426 - Relanding URL: protocol setter needs to be more restrictive around file (bug 1347459). r=kershaw,twisniewski,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188518
2023-10-06 16:04:31 +00:00
Kershaw Chang f40f7742bd Bug 1857153 - Only create qlog folder in parent process, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190149
2023-10-05 19:48:31 +00:00
Kershaw Chang c5999e857d Bug 1857153 - Add steps for enabling QLOG, r=necko-reviewers,valentin DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D190147
2023-10-05 19:47:44 +00:00
Sean Feng 2714359424 Bug 1852870 - Make devtools stop decompress decompressed content r=farre,ochameau,necko-reviewers,devtools-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188499
2023-10-05 18:51:26 +00:00
Joel Maher 138d83af91 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-05 11:58:59 +00:00
dylan d5a355d241 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-04 19:42:57 +00:00
Norisz Fay 8d9aaf93b0 Backed out 2 changesets (bug 1853245) for causing python failure CLOSED TREE
Backed out changeset d09e9295477f (bug 1853245)
Backed out changeset 54a1341a95d6 (bug 1853245)
2023-10-04 23:31:21 +03:00
Gregory Pappas b5e625fdb8 Bug 1052909 - Remove network.websocket.auto-follow-http-redirects pref r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189875
2023-10-04 16:21:45 +00:00
Joel Maher da6575a322 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-04 15:59:49 +00:00
Alexandre Lissy 877d80b058 Bug 1856359 - Respect MOZ_CRASHREPORTER_SHUTDOWN for Utility process r=gsvelto,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189824
2023-10-04 15:42:48 +00:00
Sean Feng 1c0616f8c1 Bug 1855838 - Allow JS validation failed requests to pass without data instead of raising errors r=farre,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189585
2023-10-03 13:53:44 +00:00
Sylvestre Ledru 4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Chris Peterson 45772aeede Bug 1855349 - Check for usrsctp updates at the start of each Nightly release cycle. r=jesup
Depends on D189329

Differential Revision: https://phabricator.services.mozilla.com/D189330
2023-10-02 21:57:39 +00:00
ffxbld 4fb745dae5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D189768
2023-10-02 13:07:06 +00:00
Norisz Fay 338171a737 Backed out 2 changesets (bug 1156659) for causing dt failures on browser_net_throttle.js CLOSED TREE
Backed out changeset af64e5a0109a (bug 1156659)
Backed out changeset 7e9b86bce76b (bug 1156659)
2023-10-02 16:11:21 +03:00
Kershaw Chang ad2e075a71 Bug 1855978 - Use uuid as a part of qlog file name, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D189652
2023-10-02 11:41:47 +00:00
dylan 3b39108bc7 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-02 04:13:43 +00:00
Cristian Tuns bea2af2d92 Backed out changeset cd324cfaf459 (bug 759819) for causing crashes in the network stack CLOSED TREE 2023-09-30 04:39:30 -04:00
Thomas Wisniewski 68100bf812 Bug 1855650 - Back out changeset bbd42656d00d (bug 580353) for causing unexpected breakage; r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189599
2023-09-29 07:25:27 +00:00
Mike Hommey 83f4904aca Bug 1855631 - Upgrade bindgen to 0.68.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189457
2023-09-29 00:06:10 +00:00
Chris Peterson 7711a4cea3 Bug 1855349 - Apply usrsctp patches. r=webrtc-reviewers,bwc
Depends on D189328

Differential Revision: https://phabricator.services.mozilla.com/D189329
2023-09-28 23:09:30 +00:00
Chris Peterson dbd81527cc Bug 1855349 - Rebase usrsctp patches. r=webrtc-reviewers,bwc
Depends on D189327

Differential Revision: https://phabricator.services.mozilla.com/D189328
2023-09-28 23:09:29 +00:00
Chris Peterson 7c90190c85 Bug 1855349 - Update usrsctp to a0cbf4681474fab1e89d9e9e2d5c3694fce50359. r=webrtc-reviewers,bwc
Depends on D189326

Differential Revision: https://phabricator.services.mozilla.com/D189327
2023-09-28 23:09:29 +00:00
Chris Peterson a5a8d0cbd1 Bug 1855349 - Make usrsctp's restore_mod.sh compatible with macOS's find. r=webrtc-reviewers,bwc
Differential Revision: https://phabricator.services.mozilla.com/D189326
2023-09-28 23:09:28 +00:00
Jan Varga c458754592 Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D189226
2023-09-28 20:46:07 +00:00
Randell Jesup 82d24beb59 Bug 759819: Teach 3 necko classes to release listeners after OnStopRequest r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D189368
2023-09-28 19:21:54 +00:00
ffxbld dbbd7e8b7c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D189479
2023-09-28 14:00:09 +00:00
Natalia Csoregi 056a94168f Backed out changeset 615616c77191 (bug 1772329) for causing xpcshell failures. CLOSED TREE 2023-09-28 13:09:59 +03:00
Valentin Gosu 10e8f63703 Bug 1772329 - Force kill node process and subprocesses in xpcshell tests at the end of the test r=jmaher,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189212
2023-09-28 09:03:59 +00:00
Natalia Csoregi cc63d3049a Backed out 2 changesets (bug 1855174, bug 1772329) for causing xpcshell failures. CLOSED TREE
Backed out changeset 45571d960e8a (bug 1855174)
Backed out changeset 0606434c0441 (bug 1772329)
2023-09-28 11:16:59 +03:00
Valentin Gosu 82aa574239 Bug 1855174 - Process xpcshell node output in realtime r=jmaher,necko-reviewers,kershaw
Spawned nodejs servers sometimes print output to stdout or stderr.
While it's not strictly necessary to display, it's sometimes useful for
debugging, but it's problematic that we only dump the output when killing
the node server.

After landing D189212 this becomes even more problematic, as killing the
process via os.killpg means the file descriptors are already closed.

This patch makes it so for each started server we also spawn a new thread
that reads from stdout and stderr. This way the output is present in the
logs at the correct time.

Depends on D189212

Differential Revision: https://phabricator.services.mozilla.com/D189213
2023-09-28 07:31:16 +00:00
Valentin Gosu 64d4f92504 Bug 1772329 - Force kill node process and subprocesses in xpcshell tests at the end of the test r=jmaher,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189212
2023-09-28 07:31:15 +00:00
Valentin Gosu e99a02e001 Bug 1854389 - Allow inspecting the innerChannel of an ObliviousHttpChannel r=Gijs,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D189122
2023-09-27 12:13:24 +00:00
Valentin Gosu 6e44a3e179 Bug 1553105 - Make URL.origin return "null" if protocol doesn't have the URI_HAS_WEB_EXPOSED_ORIGIN flag r=nika,necko-reviewers,kershaw
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D188720
2023-09-27 10:29:17 +00:00
Cosmin Sabou f9a78f449a Backed out changeset c4a317778310 (bug 1553105) for causing build bustages on nsContentUtils.cpp. CLOSED TREE 2023-09-27 13:25:14 +03:00
Valentin Gosu 2a9f09daff Bug 1553105 - Make URL.origin return "null" if protocol doesn't have the URI_HAS_WEB_EXPOSED_ORIGIN flag r=nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D188720
2023-09-27 09:55:57 +00:00
Narcis Beleuzu 38b805025d Merge mozilla-central to autoland 2023-09-27 06:52:08 +03:00
Narcis Beleuzu f8a9eed699 Merge autoland to mozilla-central. a=merge 2023-09-27 06:45:58 +03:00
Randell Jesup 7488358a82 Bug 1848833: Clean up mRedirectedCacheKeys r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188744
2023-09-27 02:50:33 +00:00
Joel Maher 99abb50b8d Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Sandor Molnar e22024e42c Backed out 2 changesets (bug 1156659) for causing multiple dt failures on browser_jsterm_evaluation_context_selector_targets_update/browser_jsterm_file_load_save_keyboard_shortcut/browser_jsterm_focus_reload/etc CLOSED TREE
Backed out changeset 72676017aaf3 (bug 1156659)
Backed out changeset c5e205051938 (bug 1156659)
2023-09-26 19:54:00 +03:00
dylan da3e3497c1 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-09-26 15:33:34 +00:00
dylan 31d2a54de2 Bug 1853723 - removed ssh scheme check from nsNetUtil so ssh uses DefaultURI. r=valentin,necko-reviewers,edgul
Differential Revision: https://phabricator.services.mozilla.com/D188759
2023-09-26 15:21:35 +00:00
sunil mayya bce0a53cb7 Bug 1820807 - Open redirected channel for auth retries in OnStopRequest. r=valentin,kershaw,necko-reviewers
Depends on D182698

Differential Revision: https://phabricator.services.mozilla.com/D188582
2023-09-25 21:14:17 +00:00
sunil mayya 4c719e836d Bug 1820807 - redirect channel for auth retries. r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D182698
2023-09-25 21:14:17 +00:00
Randell Jesup 8eec2ce197 Bug 1840160: Handle failed channels in ContinueVerification() r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188993
2023-09-25 14:34:47 +00:00
Cristian Tuns 66ae587f22 Backed out 2 changesets (bug 1820807) for causing leak failures CLOSED TREE
Backed out changeset 4e90d1ca661c (bug 1820807)
Backed out changeset 115ae91a6425 (bug 1820807)
2023-09-25 11:35:40 -04:00
Kershaw Chang 153cfc2d10 Bug 1854900 - Add null check for mConnection, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D189102
2023-09-25 11:49:26 +00:00
sunil mayya 52126fbd06 Bug 1820807 - Open redirected channel for auth retries in OnStopRequest. r=valentin,kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188582
2023-09-25 09:32:18 +00:00
sunil mayya 135b6867f0 Bug 1820807 - redirect channel for auth retries. r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D182698
2023-09-25 09:32:17 +00:00
Manuel Bucher 438123356a Bug 1853116 - Early Hints: don't preload fonts when gfx.downloadable_fonts.enabled false r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D188231
2023-09-21 15:35:52 +00:00
Paul Zuehlcke e5762669e5 Bug 1854028 - Update BounceTrackingStorageObserver cookie check and remove nsICookieNotification isThirdPartyCookie. r=bvandersloot,cookie-reviewers,anti-tracking-reviewers,timhuang
For the BounceTrackingStorageObserver, instead of passing in a third-party flag
we can simply check if the changed cookie is partitioned or not.

Differential Revision: https://phabricator.services.mozilla.com/D188732
2023-09-21 14:42:32 +00:00
ffxbld a63d3b667e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D188811
2023-09-21 13:11:18 +00:00
Kershaw Chang d72dd36929 Bug 1784261 - Add telemetry to understand the reason of connection closure, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188132
2023-09-21 08:59:03 +00:00
edgul c9eda14998 Bug 1802057 - Block the following characters from use in the cookie name in the cookie string: 0x3B (semi-colon), 0x3D (equals), and 0x7F (del) r=dveditz,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182373
2023-09-20 17:50:23 +00:00
Andreas Farre db4483685e Bug 1852213 - Track who has the differing flag. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D188722
2023-09-20 13:15:24 +00:00
Peter Van der Beken c49b5c3f78 Bug 1690111 - Use new TypedArray APIs for creating a container with a copy of the data. r=necko-reviewers,farre,kershaw
Depends on D152496

Differential Revision: https://phabricator.services.mozilla.com/D152497
2023-09-20 09:42:02 +00:00
Peter Van der Beken 08dd6a2c2b Bug 1690111 - Improve nsIRandomGenerator APIs. r=mccr8,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D185067
2023-09-20 09:41:58 +00:00
Gijs Kruitbosch d47bf96cd5 Bug 1852395 - make OHTTPConfigManager available outside of nightly as shopping code needs it, r=jhirsch,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187859
2023-09-19 08:44:03 +00:00
Andrew Creskey 6dcd9db55e Bug 1843384 - Crash in [@ shutdownhang | mozilla::net::nsSocketTransportService::SetOffline] r=valentin,necko-reviewers
We avoid blocking the main thread by allocating the PollableEvent outside the mutex. Still has the potential to hang the socket thread, but the main thread remains responsive.

Differential Revision: https://phabricator.services.mozilla.com/D188512
2023-09-18 21:09:34 +00:00
Sandor Molnar 102eaf288c Backed out changeset 373bc48d5325 (bug 1784261) for causing build bustages on netwerk/protocol/http/nsHttpConnection.cpp 2023-09-19 02:36:39 +03:00
Kershaw Chang d46e106ab2 Bug 1784261 - Add telemetry to understand the reason of connection closure, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188132
2023-09-18 14:44:18 +00:00
ffxbld c7a8ee1ee3 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D188462
2023-09-18 12:19:54 +00:00
Paul Zuehlcke 415dbaf618 Bug 1839918 - Avoid returning IPC failures where possible in RecvSetCookies to avoid crashes. r=bvandersloot,necko-reviewers,jesup
Depends on D186215

Differential Revision: https://phabricator.services.mozilla.com/D188329
2023-09-18 11:55:10 +00:00
Paul Zuehlcke 67c904d08b Bug 1839918 - Use PHttpChannel for SetCookies calls from child channels. r=bvandersloot,necko-reviewers,cookie-reviewers,valentin
Depends on D186045

Differential Revision: https://phabricator.services.mozilla.com/D186340
2023-09-18 11:55:10 +00:00
Paul Zuehlcke 392e706ba1 Bug 1839918 - Create SetCookies variant for document.cookie on PWindowGlobal. r=bvandersloot,cookie-reviewers,valentin
Using PWindowGlobal for SetCookies calls from content to parent process means we can get
the BrowsingContext the cookies are set for. The current implementation in PCookieService
drops this relationship.
I'm leaving in the old SetCookies call for cases where the inner window is null. This
happens for some of the cookie tests.

Depends on D185303

Differential Revision: https://phabricator.services.mozilla.com/D186045
2023-09-18 11:55:09 +00:00
Paul Zuehlcke 6e479f1af4 Bug 1839918 - Pass BrowsingContext ID and third-party flag through CookieService. r=bvandersloot,cookie-reviewers,edgul
Depends on D185302

Differential Revision: https://phabricator.services.mozilla.com/D185303
2023-09-18 11:55:09 +00:00
Paul Zuehlcke 0c249b591f Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
Depends on D185301

Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-18 11:55:09 +00:00
Paul Zuehlcke ed81c02fbd Bug 1839918 - Refactor "cookie-changed" notifications to use nsICookieNotification. r=extension-reviewers,cookie-reviewers,sessionstore-reviewers,bvandersloot,edgul,robwu
Differential Revision: https://phabricator.services.mozilla.com/D185300
2023-09-18 11:55:08 +00:00
dylan d75caaf72b Bug 1586941 - Removed network.dns.skipTRR-when-parental-control-enabled pref. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188395
2023-09-18 08:25:55 +00:00
edgul 29f608721d Bug 1723456 - Fixing test breakage. r=valentin,necko-reviewers,extension-reviewers,credential-management-reviewers,robwu,dimi,pbz,Gijs,places-reviewers,adw
Differential Revision: https://phabricator.services.mozilla.com/D181274
2023-09-15 20:38:48 +00:00
edgul efaf34ff55 Bug 1723456 - Reject non-IPv4 hostnames ending in numbers r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D179620
2023-09-15 20:38:47 +00:00
Andrew Osmond 31921ad4d8 Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=necko-reviewers,tnikkel,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188276
2023-09-15 19:36:34 +00:00
Randell Jesup b80b17d4d2 Bug 1840516: Add diagnostic asserts for CookieJar r=necko-reviewers,cookie-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187487
2023-09-15 18:00:34 +00:00
Cosmin Sabou 00e0ca2c08 Backed out changeset 106a8fb08a87 (bug 1641389) for causing bc failures on browser_persist_image_accept.js. 2023-09-15 17:42:46 +03:00
sunil mayya 432ff25d62 Bug 1848763 - update ntlm connection reset tests. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187425
2023-09-15 12:37:55 +00:00
Andrew Creskey cd0406091a Bug 1835709 - Add a profiling marker to httpChannelParent::DoAsyncOpen r=necko-reviewers,kershaw,julienw
While tracking when the AsyncOpen message arrives in the parent process we are also testing if we can use additional markers, associated with a channel id, to add more fine-grained details to the Network track.

Differential Revision: https://phabricator.services.mozilla.com/D179394
2023-09-15 12:32:36 +00:00
Andrew Osmond 82946e5ce7 Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=necko-reviewers,tnikkel,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188276
2023-09-15 11:57:53 +00:00
jackyzy823 b7ee6e1e72 Bug 1853203 - Allow non-ASCII string in username/password of proxy info. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188272
2023-09-15 11:22:13 +00:00
sunil mayya d15b5eb695 Bug 1853025 - send Caps parameter in PHttpTransaction::OnStartRequest message instead of PHttpTransaction::OnStopRequest message. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D188114
2023-09-15 10:18:02 +00:00
Cosmin Sabou 0a1616968d Merge mozilla-central to autoland. 2023-09-15 12:46:03 +03:00
Cosmin Sabou 253125d194 Backed out 3 changesets (bug 1820807, bug 1853025, bug 1848763) for causing frequent network-related startup crashes (bug 1853231). a=backout
Backed out changeset 92d80b858050 (bug 1848763)
Backed out changeset c08cba545d2c (bug 1853025)
Backed out changeset 2fae28575ca8 (bug 1820807)
2023-09-15 12:33:19 +03:00
Marco Bonardo 70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar 950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo 61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Harshit Sohaney 9559563c34 Bug 1835913 - Deprecating RejectForeignAllowList. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187286
2023-09-14 15:41:40 +00:00
Manuel Bucher 6759c84685 Bug 1853141 - Early Hints: enable module test case in browser_103_asset.js r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D188243
2023-09-14 13:34:55 +00:00
Valentin Gosu dcfa54910f Bug 1850273 - Avoid WARNING message from NS_ENSURE_TRUE(mRequest) in nsBaseChannel::RetargetDeliveryTo r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D188239
2023-09-14 12:36:50 +00:00
sunil mayya 3dfa50a776 Bug 1848763 - update ntlm connection reset tests. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187425
2023-09-13 22:38:58 +00:00
Andrew Creskey aa287f4e06 Bug 1843384 - Crash in [@ shutdownhang | mozilla::net::nsSocketTransportService::SetOffline] r=valentin,necko-reviewers
We abort the re-initialization of the socketTransportService during shutdown to prevent a deadlock.

Differential Revision: https://phabricator.services.mozilla.com/D187915
2023-09-13 21:22:13 +00:00
sunil mayya 48ee387d7a Bug 1853025 - send Caps parameter in PHttpTransaction::OnStartRequest message instead of PHttpTransaction::OnStopRequest message. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D188114
2023-09-13 20:11:01 +00:00
sunil mayya 45ae220912 Bug 1820807 - redirect channel for auth retries. r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D182698
2023-09-13 20:11:00 +00:00
Tom Schuster f2c9b9e900 Bug 1851802 - Make mixed content upgrade for audio/video/image individually togglable. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D187782
2023-09-13 11:27:12 +00:00
Mark Banner 07a6921e17 Bug 1851797 - Remove nsIScriptableUnicodeConverter convertToByteArray and convertToInputStream. r=jfkthame,perftest-reviewers,application-update-reviewers,AlexandruIonescu,bytesized,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D187548
2023-09-13 08:38:19 +00:00
Andreas Farre fa87352be2 Bug 1852213 - Add crash annotation to record differing load flags. r=jjaschke,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187969
2023-09-12 13:52:55 +00:00
Cosmin Sabou 8102964c4d Merge mozilla-central to autoland. CLOSED TREE 2023-09-11 18:43:11 +03:00
Cosmin Sabou de07b3c524 Backed out changeset 11fddb3ea9c0 (bug 1820807) for causing xpcshell failures on test_proxy-failover_canceled.js. CLOSED TREE 2023-09-11 18:10:57 +03:00
Cosmin Sabou 680b4364c7 Backed out 13 changesets (bug 1690111) for causing fetch related crashes.
Backed out changeset 5f2c25d194ad (bug 1690111)
Backed out changeset 76c408bcd053 (bug 1690111)
Backed out changeset 6d0649fdafff (bug 1690111)
Backed out changeset c1330b5e8c43 (bug 1690111)
Backed out changeset 5fa36d8fd2a5 (bug 1690111)
Backed out changeset daf7d747853a (bug 1690111)
Backed out changeset f70e09a7f5c6 (bug 1690111)
Backed out changeset 40c6d6eed7f8 (bug 1690111)
Backed out changeset 692f2a759573 (bug 1690111)
Backed out changeset 7140866dd9f6 (bug 1690111)
Backed out changeset 2865fe682139 (bug 1690111)
Backed out changeset 9dcd2416f8a5 (bug 1690111)
Backed out changeset 9c411bf84079 (bug 1690111)
2023-09-11 17:55:24 +03:00
sunil mayya 7fe95fadf7 Bug 1820807: redirect channel for auth retries. r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D182698
2023-09-11 13:59:51 +00:00
Cosmin Sabou 28bc51699a Backed out 9 changesets (bug 1839918) for causing a top crash as in Bug 1852357. a=backout
Backed out changeset 1c438df525c7 (bug 1839918)
Backed out changeset 6e3d7fdfda3f (bug 1839918)
Backed out changeset 087b27593538 (bug 1839918)
Backed out changeset 302d12c12083 (bug 1839918)
Backed out changeset 750e0796c1ad (bug 1839918)
Backed out changeset 3949d9b400d4 (bug 1839918)
Backed out changeset 707021ebfd23 (bug 1839918)
Backed out changeset fa9a6af80526 (bug 1839918)
Backed out changeset 5aa3b2f1b5ec (bug 1839918)
2023-09-11 16:42:08 +03:00
Randell Jesup 7b0685f6d7 Bug 1836353 - make mStartedReading an Atomic r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187484
2023-09-11 12:58:59 +00:00
Peter Van der Beken 176d24acb3 Bug 1690111 - Use new TypedArray APIs for creating a container with a copy of the data. r=necko-reviewers,farre,kershaw
Depends on D152496

Differential Revision: https://phabricator.services.mozilla.com/D152497
2023-09-11 12:52:20 +00:00
Peter Van der Beken 78f126e4be Bug 1690111 - Improve nsIRandomGenerator APIs. r=mccr8,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D185067
2023-09-11 12:52:18 +00:00
Malte Juergens 83723019a1 Bug 1847918 - Limit `nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` to HTTPS-First r=freddyb
`nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` is currently only used by HTTPS-First. It is used for fixing upgrade-downgrade loops and when loading history entries, as when we already know if HTTPS-First succeeded there or not, we have no need for trying to upgrade again and can disable HTTPS-First. With the changes introduced by Bug 1839612, `nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` also applies to HTTPS-Only, which is a problem because disabling HTTPS-Only for history entries will result in them potentially being loaded insecurely without the user setting an exception. As a solution this patch just applies `nsILoadInfo::HTTPS_ONLY_EXEMPT_NEXT_LOAD`, the flag being set when `nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` is set, when HTTPS-First is enabled, and renames both flags to reflect that behavior.

Differential Revision: https://phabricator.services.mozilla.com/D185829
2023-09-11 12:14:30 +00:00
stransky 38f9f16b30 Bug 1852503 [Linux] Fall back to dbus_gmain_set_up_connection() handler r=emilio,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187875
2023-09-11 10:22:54 +00:00
Sandor Molnar f98cd9c6a1 Backed out changeset a568bdb6eac3 (bug 1836353) for causing bustages in netwerk/base/nsMIMEInputStream.cpp CLOSED TREE 2023-09-09 06:46:46 +03:00
Randell Jesup 8f769f6df7 Bug 1836353 - make mStartedReading an Atomic r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187484
2023-09-09 02:04:29 +00:00
Andreas Farre 43bbc29900 Bug 1852213 - Add crash annotation to record differing load flags. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D187752
2023-09-08 15:37:12 +00:00
dylan 757097532f Bug 1848874 - Removed network.dns.limit_253_chars pref. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D186573
2023-09-08 09:43:05 +00:00
dylan cbee8deaf8 Bug 1815914 - Allow IPv4 number parser to parse 0x as 0. r=necko-reviewers,kershaw,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D182934
2023-09-08 09:42:05 +00:00
Andrew Creskey d465a8510e Bug 1851908 - Add a preference to specify neqo's congestion control algorithm r=necko-reviewers,kershaw
We want to experiment with NewReno so expose this via pref.

Differential Revision: https://phabricator.services.mozilla.com/D187602
2023-09-07 18:51:47 +00:00
Kershaw Chang 58f7387a5d Bug 1851679 - Handle queuing of streams properly, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187542
2023-09-07 08:28:21 +00:00
Paul Zuehlcke 235769e14c Bug 1839918 - Use PHttpChannel for SetCookies calls from child channels. r=bvandersloot,necko-reviewers,cookie-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D186340
2023-09-07 08:25:55 +00:00
Paul Zuehlcke 59f59ebf3a Bug 1839918 - Create SetCookies variant for document.cookie on PWindowGlobal. r=bvandersloot,cookie-reviewers,valentin
Using PWindowGlobal for SetCookies calls from content to parent process means we can get
the BrowsingContext the cookies are set for. The current implementation in PCookieService
drops this relationship.
I'm leaving in the old SetCookies call for cases where the inner window is null. This
happens for some of the cookie tests.

Differential Revision: https://phabricator.services.mozilla.com/D186045
2023-09-07 08:25:55 +00:00
Paul Zuehlcke b78b89ca42 Bug 1839918 - Pass BrowsingContext ID and third-party flag through CookieService. r=bvandersloot,cookie-reviewers,edgul
Differential Revision: https://phabricator.services.mozilla.com/D185303
2023-09-07 08:25:55 +00:00
Paul Zuehlcke c50bea95cc Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-07 08:25:55 +00:00
Paul Zuehlcke 938915596e Bug 1839918 - Refactor "cookie-changed" notifications to use nsICookieNotification. r=extension-reviewers,cookie-reviewers,sessionstore-reviewers,bvandersloot,edgul,robwu
Differential Revision: https://phabricator.services.mozilla.com/D185300
2023-09-07 08:25:54 +00:00
Andrew Creskey cacc5b7471 Bug 1850880 - Remove metrics expiring in Firefox 120: networking.http_content_onstart/stop r=necko-reviewers,valentin
We are pivoting our OMT strategy and so these expiring probes will not provide additional value.

Differential Revision: https://phabricator.services.mozilla.com/D187503
2023-09-06 14:21:17 +00:00
stransky 51575a6cd1 Bug 1532281 [Linux] Remove dbus-glib code from DbusWifiScanner r=emilio,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187434
2023-09-05 11:42:42 +00:00
Mike Hommey 9331b9fb07 Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw
For some reason, its value in the Google style we use is 80... except
for Objective-C, where it's 100, which led to things like:
https://hg.mozilla.org/mozilla-central/rev/31bf68247e6e
https://hg.mozilla.org/mozilla-central/rev/64ceb33533a4.

There's probably a discussion to have about whether 80 is the right
limit, but since it's what's used for everything except ObjC, let's roll
with it.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D187409
2023-09-05 11:23:01 +00:00
Stanca Serban 17fb8bac17 Backed out changeset 50b448b2d902 (bug 1532281) for causing Linux build bustages. CLOSED TREE 2023-09-05 11:38:18 +03:00
stransky 60dc5e2272 Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
2023-09-05 08:14:21 +00:00
serge-sans-paille e56675ede1 Bug 1845449 - get rid of global constructor in netwerk/protocol/http/nsHttp.h r=necko-reviewers,kershaw,valentin
Create a new type of nsHttpAtom, namely nsHttpAtomLiteral. This type is
constexpr-constructible and holds a non-owning reference to its name,
which must have global lifetime.

As a side effect, slightly rework nsHttpAtom interface to replace the
dangerous implicit conversion to const char* by a bool operator and test it.

Differential Revision: https://phabricator.services.mozilla.com/D184557
2023-09-04 14:17:42 +00:00
Andreas Farre 518e4b2d17 Bug 1851007 - Add multipart/x-mixed-replace as an exception to ORB. r=smaug
Streaming mjpeg uses 'multipart/x-mixed-replace' as content type, and
we don't succeed in sniffing that as jpeg data.

Differential Revision: https://phabricator.services.mozilla.com/D187368
2023-09-04 13:07:27 +00:00
Kershaw Chang 6a1cd1d896 Bug 1850367 - Add telemetry for the availability of HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D186956
2023-09-04 09:21:47 +00:00
Narcis Beleuzu 93e972c03d Backed out changeset 81f023cd4619 (bug 1845449) for bustages on HttpWinUtils.cpp . CLOSED TREE 2023-09-04 10:48:57 +03:00
serge-sans-paille 9cad2b0e62 Bug 1845449 - get rid of global constructor in netwerk/protocol/http/nsHttp.h r=necko-reviewers,kershaw,valentin
Create a new type of nsHttpAtom, namely nsHttpAtomLiteral. This type is
constexpr-constructible and holds a non-owning reference to its name,
which must have global lifetime.

As a side effect, slightly rework nsHttpAtom interface to replace the
dangerous implicit conversion to const char* by a bool operator and test it.

Differential Revision: https://phabricator.services.mozilla.com/D184557
2023-09-04 07:10:15 +00:00
Kershaw Chang 00f1c6a53b Bug 1838406 - Add probes for channel completion time, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D180941
2023-09-04 06:31:47 +00:00
Andrew Creskey baa6cd2868 Bug 1850892 - Remove expiring probe HTTP_PRELOAD_IMAGE_STARTREQUEST_DELAY r=necko-reviewers,valentin
We are working on an alternative approach to improving OnStart/OnStop request timing, and so will remove this probe because it's no longer as relevant and the implementation touchs many classes and methods.

Differential Revision: https://phabricator.services.mozilla.com/D187233
2023-09-01 14:45:06 +00:00
Thomas Wisniewski 3ee54e1c07 Bug 1850954 - Back out URL protocol spec-compliant restrictions added in bug 1347459 for causing webcompat issues; r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187221
2023-09-01 12:20:46 +00:00
Valentin Gosu 12c531e8fb Bug 1851038 - Make TRRServer extend NodeHTTP2Server r=necko-reviewers,kershaw
It became apparent that TRRServer was forwarding adb ports but not releasing
them at the end of the test, possibly leading to port exhaustion when running
Android tests.
Since NodeHTTP2Server already implements this correctly, it makes sense to
simply make TRRServer extend NodeHTTP2Server and just implement the bits that
are different.

Differential Revision: https://phabricator.services.mozilla.com/D187260
2023-09-01 11:03:31 +00:00
Valentin Gosu fa0318972d Bug 1851038 - Use NodeHTTPServer in test_http_server_timing.js instead of reimplementing it r=necko-reviewers,kershaw
It became apparent that the custom NodeServer handler in
test_http_server_timing.js wasn't releasing forwarded adb ports.
Since NodeHTTPServer already does this correctly, we should use NodeHTTPServer
in test_http_server_timing.js instead of reimplementing this functionality.

Differential Revision: https://phabricator.services.mozilla.com/D187259
2023-09-01 11:03:31 +00:00
Randell Jesup 8f84afb9b3 Bug 1816925: Implement WebTransport SendOrder at the DOM level r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178491
2023-08-31 20:51:49 +00:00
Natalia Csoregi f09dafe309 Backed out changeset cd2b009cdee4 (bug 1816925) for causing bustage on Http3Session.cpp. CLOSED TREE 2023-08-31 21:38:14 +03:00
Randell Jesup 0d5b60fd40 Bug 1816925: Implement WebTransport SendOrder at the DOM level r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178491
2023-08-31 17:58:51 +00:00
Kershaw Chang c3e6e48f85 Bug 1758155 - Fix mingwclang build, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D186450
2023-08-31 11:45:05 +00:00
Kershaw Chang 50d42b6dc3 Bug 1758155 - PBackground clenup, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D185032
2023-08-31 11:45:05 +00:00
Kershaw Chang da7bf5ad67 Bug 1758155 - Make PWebSocketConnection a toplevel actor, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D185031
2023-08-31 11:45:04 +00:00
Kershaw Chang bda80165c9 Bug 1758155 - Remove some PSM actos from PBackground, r=keeler,nika,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D182996
2023-08-31 11:45:04 +00:00
Kershaw Chang a3445b4bca Bug 1758155 - Make PMediaTransport and PBackgroundDataBridge toplevel actors, r=nika,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D182995
2023-08-31 11:45:04 +00:00
Dana Keeler 101100dc72 Bug 1401466 - make the client auth certificate selection dialog tab modal r=jschanck,necko-reviewers,bolsson,kershaw,valentin
Previously, the client authentication certificate selection dialog could show
up unexpectedly. Because it was modal, it would prevent user interaction with
the browser. It could even get in a state where the dialog couldn't be
interacted with, and neither could anything else, so the entire browser would
be locked and the user would have to quit and restart.

This patch associates a top-level outer content window ID (called "browserId"
in networking code) with each NSSSocketControl. When a peer asks for a client
authentication certificate, the NSSSocketControl can use the ID to find the
relevant tab and open a tab-modal dialog, which allows other browser UI to be
interacted with.

Some loads cannot be associated with browser tabs, and so the implementation
falls back to opening a window-modal dialog on the most recently active window.
This is still better than the previous implementation, since the dialog is
connected to a window rather than being its own separate dialog.

Differential Revision: https://phabricator.services.mozilla.com/D183775
2023-08-30 03:05:35 +00:00
Cosmin Sabou 29d8a2cb52 Backed out changeset 16c71fac6426 (bug 1401466) for causing SocketControl related fuzzing build bustages. CLOSED TREE 2023-08-30 00:37:21 +03:00
Dana Keeler 8ee5ec3bbb Bug 1401466 - make the client auth certificate selection dialog tab modal r=jschanck,necko-reviewers,bolsson,kershaw,valentin
Previously, the client authentication certificate selection dialog could show
up unexpectedly. Because it was modal, it would prevent user interaction with
the browser. It could even get in a state where the dialog couldn't be
interacted with, and neither could anything else, so the entire browser would
be locked and the user would have to quit and restart.

This patch associates a top-level outer content window ID (called "browserId"
in networking code) with each NSSSocketControl. When a peer asks for a client
authentication certificate, the NSSSocketControl can use the ID to find the
relevant tab and open a tab-modal dialog, which allows other browser UI to be
interacted with.

Some loads cannot be associated with browser tabs, and so the implementation
falls back to opening a window-modal dialog on the most recently active window.
This is still better than the previous implementation, since the dialog is
connected to a window rather than being its own separate dialog.

Differential Revision: https://phabricator.services.mozilla.com/D183775
2023-08-29 20:47:45 +00:00
Jonathan Kew 4507c87b9e Bug 1845552 - patch 2 - Don't return a malformed-URL error if the label is empty in StringPrepForDNS processing; just let the caller deal with that. r=necko-reviewers,valentin
Depends on D186866

Differential Revision: https://phabricator.services.mozilla.com/D186867
2023-08-29 09:20:05 +00:00
Jonathan Kew 74bf676eba Bug 1845552 - patch 1 - Don't let the presence of an invalid-hyphen error (which may be ignored during StringPrepForDNS) mask the presence of other (non-ignorable) types of error in the URL. r=necko-reviewers,valentin
This change gives us 46 new passes on the IdnaTestV2 test collection, with just 6 failures remaining
(to be resolved by the next patch).

Differential Revision: https://phabricator.services.mozilla.com/D186866
2023-08-29 09:20:05 +00:00
Gregory Pappas a784bd19f1 Bug 1842326 - Remove network.auth.use_new_parse_realm and network.auth.allow_multiple_challenges_same_line prefs r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D186639
2023-08-28 20:51:47 +00:00
Mark Banner 4c0d6044cb Bug 1850244 - Fix remaining ESLint no-shadow issues in netwerk/test. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D186880
2023-08-28 13:30:37 +00:00
ffxbld 805f3396f5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D186931
2023-08-28 12:11:51 +00:00
Mark Banner 85099bfa3e Bug 1849873 - Fix some ESLint no-shadow issues in netwerk/test. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D186717
2023-08-25 11:22:00 +00:00
Natalia Csoregi 08d431b93d Backed out changeset 7338770d735a (bug 1849873) for causing failures on test_brotli_http.js. CLOSED TREE 2023-08-24 19:43:52 +03:00