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

824954 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu ff04cde9bd Bug 1596845 - Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
Depends on D164347

Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-22 21:16:07 +00:00
Valentin Gosu c211b06b14 Bug 1596845 - Make custom about:neterror page for TRR mode3 DNS failures r=pbz,fluent-reviewers,settings-reviewers,flod
This changes about:neterror to show a specific error page when the DNS failure
occurs for a TRR mode3 page load. This offers the user more information about
the failure, and some options.

This page will be further improved at a later stage when we add a better
DNS over HTTPS settings page.

The page is visible when the browser is using DNS over HTTPS without fallback
to native DNS. To achieve this the user sets `network.trr.mode` to `3` then
loads a page such as `http://nonexistant.test`.

If a top level load's channel returns NS_ERROR_UNKNOWN_HOST we look at
whether the page was indeed loaded with an effectiveTRRMode == TRRONLY
(some loads are excluded from using TRR).
When that is true, we present the error page allowing the user to retry,
exclude the domain from TRR, or open the settings page.

Note: This initial implementation will not work if the
`network.dns.disablePrefetch` pref is set to true. In that case nsHttpChannel
does not get an OnLookupComplete callback, so it doesn't have the
effectiveTRRMode and trrSkipReason. This will be fixed in bug 1805372.

Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ

Depends on D164642

Differential Revision: https://phabricator.services.mozilla.com/D164347
2022-12-22 21:16:06 +00:00
Valentin Gosu f1763e870c Bug 1596845 - Pass full trr domain into content process r=acreskey,necko-reviewers,kershaw
Previosuly we'd only pass the `TRRService::ProviderKey()` into the content
process. But now we need the full domain for the error page in the content
process, so we now pass the full domain. The ChildDNSService now holds on
to the full domain, but calls into `TRRService` to update the key for
telemetry and returns that when necessary.

Depends on D164348

Differential Revision: https://phabricator.services.mozilla.com/D164642
2022-12-22 21:16:06 +00:00
Valentin Gosu b1e4e1e730 Bug 1596845 - Pass TRR skip reason to child channel r=necko-reviewers,kershaw
Moves the TRRSkipReasons to nsITRRSkipReason.idl so they are available to JS.

Depends on D164345

Differential Revision: https://phabricator.services.mozilla.com/D164348
2022-12-22 21:16:06 +00:00
Valentin Gosu 2ca88c649b Bug 1596845 - Pass effectiveTRRMode to HTTP child channel r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164345
2022-12-22 21:16:05 +00:00
Tom Schuster f5dbfefd07 Bug 1802904 - More logging to debug test failure. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165387
2022-12-22 20:53:20 +00:00
Ryan VanderMeulen b950e6cdb8 Bug 1806934 - Enable TSAN web-platform-tests-wdspec by default. r=webdriver-reviewers,jmaher,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D165370
2022-12-22 20:31:42 +00:00
Jim Blandy d50d1e6b18 Bug 1806780: Don't enable Vulkan WebGPU backend on OSX. r=teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D165341
2022-12-22 19:22:45 +00:00
alwu c74a2f66c2 Bug 1804770 - add a pref to control video wakelock. r=azebrowski
Differential Revision: https://phabricator.services.mozilla.com/D165324
2022-12-22 19:19:15 +00:00
fanie 20bc7ced74 Bug 1689631 - Renamed onabsolutedeviceorientation to ondeviceorientationabsolute. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D164964
2022-12-22 19:12:41 +00:00
Randell Jesup 00c1414f9c Bug 1806698: make --webtransport-h3 work in wpt tests r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D165181
2022-12-22 18:51:57 +00:00
Iain Ireland a304d6009b Bug 1805798: Downgrade 'control reaches end of non-void function' to warning r=sfink
In regexp-parser.cc, `MayContainStrings` switches on all the values of an enum class without a default case. V8 obviously isn't building with this as an error. Instead of sending a patch upstream every time this happens, it seems cleanest to treat this as a warning, not an error, in irregexp code.

Differential Revision: https://phabricator.services.mozilla.com/D165086
2022-12-22 18:45:11 +00:00
Iain Ireland 84a115258d Bug 1805798: Allow-list std::string in RegExpUnparser::VisitClassSetOperand r=sfink
V8 is creating a `std::string` in code that only runs under `--trace-regexp-parser`, which is indirectly calling `new`.

Differential Revision: https://phabricator.services.mozilla.com/D165085
2022-12-22 18:45:11 +00:00
Iain Ireland 3b2510989b Bug 1805798: Update special-case.cc r=sfink
This file is auto-generated in V8. It only changes if `gen-regexp-special-case.cc` is modified, which happens very rarely, so instead of adding an extra step to our build process, I just update it manually when necessary.

Differential Revision: https://phabricator.services.mozilla.com/D165084
2022-12-22 18:45:10 +00:00
Iain Ireland bc6e7066d6 Bug 1805798: Update zonelist r=sfink
Code taken from here: https://github.com/v8/v8/blob/main/src/zone/zone-list.h

Differential Revision: https://phabricator.services.mozilla.com/D165083
2022-12-22 18:45:10 +00:00
Iain Ireland 676658f322 Bug 1805798: Move v8 flags into JitOptions r=sfink
V8's equivalent of JitOptions were previously global variables, but they've been replaced with a system more similar to what we've got. We can rewrite the shim layer to use JitOptions directly.

Differential Revision: https://phabricator.services.mozilla.com/D165082
2022-12-22 18:45:09 +00:00
Iain Ireland c704245da5 Bug 1805798: Stub out /v support r=sfink
V8 added engine support for the new `/v` flag. We have bug 1713657 open for that. In the meantime, we can add just enough support to the shim to compile this code, even if we aren't using it yet.

Differential Revision: https://phabricator.services.mozilla.com/D165081
2022-12-22 18:45:09 +00:00
Iain Ireland c6d68b2f69 Bug 1805798: Update irregexp to b51e75a608217811a8488cd0e5c2dd1d222fc6b6 r=sfink
This patch is the result of running `./mach vendor js/src/irregexp/moz.yaml`.

Differential Revision: https://phabricator.services.mozilla.com/D165080
2022-12-22 18:45:08 +00:00
Mozilla Releng Treescript c01596e819 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> d3223ff5a4e875c5e4b44be19dd67b51e59db89a
de -> 53ae08cd3039cb3f63705af343f5645f61102d22
el -> 6b53abe8b72ea7d750dbf784579cebe0ac1371f8
es-AR -> 6ce77177a0fd660aef24192bf6fadb9aa0762780
hy-AM -> a075352276013a92775628cd0461456217622317
pt-BR -> e8c5832e42ed415dcaf7ed3f27ca85bc3a447362
sc -> 5dab211119cd4589cf3a2e6eb16433dfadce325a
sl -> d87de81b45f400cd59b48f61e0f32766803eb43c
tr -> 7a2c24e44f1b6c57049fdcf8bdb3b41f460f7b10
zh-TW -> 0760005c4f0b562bd22a07caba16e47f31fe0b5a
2022-12-22 19:09:59 +00:00
Cosmin Sabou b0844a16d6 Backed out changeset 399888cb68ba (bug 1806694) for causing webtransport wpt failures. CLOSED TREE 2022-12-22 20:52:03 +02:00
Iulian Moraru 43d29dd465 Bug 1806944 - Set image-set test to intermittent on windows, linux and android. a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D165401
2022-12-22 16:00:55 +00:00
Shane Hughes db34c0a3fe Bug 1806095 - Fix oversights in about:welcome progress bar. r=emcminn
Avoid an unnecessary hook trigger and clean up the handling of the start
screen behavior.

Differential Revision: https://phabricator.services.mozilla.com/D165063
2022-12-22 18:17:32 +00:00
Ben Hearsum 0971fe4405 Bug 1806654: uninstall msix packages at the end of test runs r=releng-reviewers,gbrown
This worked well on Try, where I had some additional code to query the installed packages after running the uninstall -- that confirmed that Firefox was indeed uninstalled. There's still certain edge case where Firefox may remain -- mostly notably if the script crashes or otherwise exits in a way where the `uninstall` step is not run. These are probably uncommon enough not to worry about for now, though.

I'm not particularly happy that the `uninstall` step is being run and skipped for most platforms. I attempted to do this the "right" way by specifying either `actions` for these tests, or an additional command line arguments. With the former, adding `MOZHARNESS_ACTIONS` support to generic worker payloads resulted in a ton of unexpected changes to tests (eg: Android tests suddenly had explicit actions specified in a way that seemed it would break them). With the latter, I was unable to get `mozharness.extra-options` to support being keyed by anything without breaking one thing or the other (there's lots of transforms that append to it - and I couldn't find a place that I could resolve it being keyed by variant without busting one of them).

In the end, we do a bunch of things like this already, so I guess it's fine even if not ideal.

Differential Revision: https://phabricator.services.mozilla.com/D165394
2022-12-22 17:34:49 +00:00
Iulian Moraru 9d4228aac1 Backed out changeset bbdb6fab7a69 (bug 1790615) for causing spidermonkey build bustages. CLOSED TREE 2022-12-22 19:43:49 +02:00
Bryan Thrall e07623dc64 Bug 1790615 - Abort stencil creation on encoding failure r=arai
I considered removing the `succeededOut` parameter, since none of the callers
handle failure differently, but then `serializeStencil()` and
`deserializeStencil()` would not be as symmetric. It would also remove the
ability in the future for the caller failure handling to be different.

Differential Revision: https://phabricator.services.mozilla.com/D165348
2022-12-22 16:56:12 +00:00
Andreas Farre 95de092629 Bug 1745645 - Set the value for HasActivePeerConnections early. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D165400
2022-12-22 16:53:54 +00:00
Tooru Fujisawa 8cae5dd362 Bug 1805645 - Use LifoAlloc instead of JSContext as parameter type of irregexp::CheckPatternSyntax. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D165000
2022-12-22 16:44:15 +00:00
Tooru Fujisawa 2bbd154cc7 Bug 1805142 - Part 6: Remove JSContext from BytecodeEmitter. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D164562
2022-12-22 16:41:39 +00:00
Tooru Fujisawa c09ddcf53a Bug 1805142 - Part 5: Remove JSContext parameter from BytecodeEmitter::emitPrivateMethodInitializers. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D164561
2022-12-22 16:41:39 +00:00
Tooru Fujisawa 44e78c952d Bug 1805142 - Part 4: Remove JSContext parameter from ScopeContext::searchInEnclosingScope. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D164560
2022-12-22 16:41:39 +00:00
Tooru Fujisawa 58a60819b3 Bug 1805142 - Part 3: Remove JSContext from EmitterScope::dump. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D164559
2022-12-22 16:41:38 +00:00
Tooru Fujisawa 825f71e2c8 Bug 1805142 - Part 2: Remove JSContext from NameFunctions. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D164558
2022-12-22 16:41:38 +00:00
Tooru Fujisawa c7118e5e6e Bug 1805142 - Part 1: Remove JSContext from ParserAtomTable::{toPrintableString,toQuotedString}. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D164557
2022-12-22 16:41:37 +00:00
Cieara Meador 4be225d135 Bug 1779122 - Add PiP video timestamp r=niklas,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D163529
2022-12-22 16:29:47 +00:00
Thomas Wisniewski 6870b2f624 Bug 1805251 - Update webcompat tests and add initial shim tests; r=jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164502
2022-12-22 16:27:34 +00:00
Thomas Wisniewski 912cdfed57 Bug 1805251 - Add support for testing SmartBlock shims to the webcompat test framework; r=jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164500
2022-12-22 16:27:34 +00:00
Marco Bonardo 804dfdf01a Bug 1618602 - Stop using negative frecency values. r=daisuke
Negative frecency values have the defect of pushing down results in ranking
until the score is recalculated, thus recalculations must happen quickly, even
if they are expensive.
Since we plan to recalculate on idle and in chunks, it's better to preserve the
original frecency value until the recalculation can happen.

The initial frecency value when adding new entries to the database can still
be -1, it will be recalculated when either a bookmark or visit are added. That
should be the only acceptable negative value to indicate a new entry.
Frecency = 0 is still an indication the page's frecency should not be calculated
and may be associated with error pages or place: queries.

Original patch by Daisuke Akatsuka.

Differential Revision: https://phabricator.services.mozilla.com/D164929
2022-12-22 16:07:53 +00:00
Randell Jesup 0896d559e1 Bug 1806694: Support WebTransport constructor options r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165182
2022-12-22 15:51:32 +00:00
Byron Campen [:bwc] 1e39264465 Bug 1800136: Fix gap between PC.close() and the storage of its final stats in PeerConnectionCtx. r=ng
Ensures that:
1) We never have stats report in a still-registered PC _and_ the stats for
   closed PCs.
2) We never have a stats report disappear between when a PC is closed, and when
   it deregisters.
3) If a stats report appears in WebrtcGlobalInformation as closed, a call to
   ClearAllStats will ensure that this stats report does not reappear later
   when the PC dereigsters.

Also simplifies things a bit.

Differential Revision: https://phabricator.services.mozilla.com/D162652
2022-12-22 15:29:02 +00:00
Byron Campen [:bwc] 0efa8a54b5 Bug 1800136: Make RTCRtpSender::GetStats get ICE stats. r=ng
Also fix bugs where we would get duplicate ICE stats. This mostly mattered to
WebrtcGlobalInformation since RTCStatsReportInternal does not automatically
remove duplicate ids like RTCStatsReport (RTCStatsReport is maplike).

Differential Revision: https://phabricator.services.mozilla.com/D162322
2022-12-22 15:29:02 +00:00
Byron Campen [:bwc] f7f381897c Bug 1800136: Add tests for duplicate stats ids in WebrtcGlobalInformation. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D162651
2022-12-22 15:29:02 +00:00
Byron Campen [:bwc] 40f9da9da8 Bug 1800136: Test-cases for ICE candidate stats. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D162321
2022-12-22 15:29:01 +00:00
Iulian Moraru 3f2e95db79 Backed out changeset 216cda008304 (bug 1805774) for causing bc failures on browser_quickactions.js. CLOSED TREE 2022-12-22 18:16:21 +02:00
ffxbld 07f8e9babd No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D165389
2022-12-22 14:54:32 +00:00
Kershaw Chang 2caa92f702 Bug 1774572 - Handle the case when the Http/2 server doesn't support websocket, r=edgul
Differential Revision: https://phabricator.services.mozilla.com/D165275
2022-12-22 13:16:24 +00:00
Kershaw Chang 77a257df89 Bug 1774572 - Enable websocket over http2, r=edgul
Differential Revision: https://phabricator.services.mozilla.com/D165274
2022-12-22 13:16:24 +00:00
Sasaki Keiya 6efba9f817 Bug 1804193 - extract glyph rasterizer as independent lib r=gfx-reviewers,nical,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D164859
2022-12-22 10:47:44 +00:00
Emilio Cobos Álvarez 2c11f3e1cf Bug 1638500 - Wait for actual value change before checking value. r=Jamie
My patch in bug 1805414 makes this fail in a way that's perma, and it
seems it is because we're not waiting for the actual value change to
happen.

Differential Revision: https://phabricator.services.mozilla.com/D165238
2022-12-22 10:10:32 +00:00
Jonathan Kew 27fe73e0a8 Bug 1806844 - Use lazier initialization for the macOS system font family. r=gfx-reviewers,lsalzman
This should marginally improve content-process startup for processes that don't immediately
need to use the system font. No actual change in behavior, just taking the initialization
of the system-font faces out of the startup path.

Differential Revision: https://phabricator.services.mozilla.com/D165386
2022-12-22 09:52:29 +00:00
Iulian Moraru a3886ee2d9 Bug 1804359 - fix for build bustages related to uuid part 2. CLOSED TREE 2022-12-22 12:27:14 +02:00