Commit graph

851778 commits

Author SHA1 Message Date
Makoto Kato
d8a2fdf7da Bug 1719535 - Part 5. Add ICU4X based segmenter modules. r=TYLin,jfkthame
Depends on D167673

Differential Revision: https://phabricator.services.mozilla.com/D167675
2023-08-07 06:23:48 +00:00
Makoto Kato
80aa728f71 Bug 1719535 - Part 4. Add ICU4X Data Provider. r=platform-i18n-reviewers,dminor,sylvestre
ICU4X will be used by ECMA-402 implementation at future. So we should link it
to SpiderMonkey instead of libxul only.

Depends on D178157

Differential Revision: https://phabricator.services.mozilla.com/D167673
2023-08-07 06:23:48 +00:00
Makoto Kato
d34f218bae Bug 1719535 - Part 3. Remove config/external/icu4x. r=platform-i18n-reviewers,dminor
No longer use postdata since we can use backed data provider.

Depends on D178156

Differential Revision: https://phabricator.services.mozilla.com/D178157
2023-08-07 06:23:47 +00:00
Makoto Kato
dac2cb31e6 Bug 1719535 - Part 2. Add customized icu_testdata crate in tree. r=TYLin
When using baked data provider in icu_capi, it uses icu_testdata crate.
But we add customized baked data as patched icu_testdata.

Depends on D167670

Differential Revision: https://phabricator.services.mozilla.com/D178156
2023-08-07 06:23:44 +00:00
Makoto Kato
b24c1342e2 Bug 1719535 - Part 1. Update ICU4X data generator script. r=TYLin,platform-i18n-reviewers,gregtatum
Generate baked data in intl/icu4x_data/data/baked, instead of postcard since ICU4X 1.2 can use custom baked data without modifying icu_capi.

Differential Revision: https://phabricator.services.mozilla.com/D167670
2023-08-07 06:23:43 +00:00
Daisuke Akatsuka
95f52e646d Bug 1847275: Change MDN brand name to 'MDN Web Docs' r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185514
2023-08-07 06:12:58 +00:00
Nicolas Chevobbe
a47c941d4b Bug 1845723 - [devtools] Add fail-if annotation for a11y test on browser_inspector_highlighter-cssshape_offset-path.js. r=devtools-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D185141
2023-08-07 05:39:31 +00:00
Thomas Wisniewski
f60ba09057 Bug 1453318 - Disallow responses when a response header value contains 0x00; r=kershaw,sunil,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185160
2023-08-07 05:34:19 +00:00
Masayuki Nakano
e4d8451468 Bug 1845904 - Make PresShell::EventHandler::HandleEventWithCurrentEventInfo stop flushing pending notifications if a query content event does not require that r=emilio
We've already known that `WidgetQueryContentEvent` is dispatched at initializing
a popup menu on macOS (bug 1530188).  Therefore, I made the dispatcher under
`widget/cocoa` set `WidgetQueryContentEvent::mNeedLayoutFlush` to `false` to
avoid to flush pending things in `ContentEventHandler`, but
`PresShell::EventHandler` does it.

Differential Revision: https://phabricator.services.mozilla.com/D185264
2023-08-07 05:24:20 +00:00
Hubert Boma Manilla
20b0941b28 Bug 1824658 - [devtools] Resend requests should inherit principals r=jdescottes,sefeng,devtools-reviewers
Switch the securityFlags of the new or resend requests to inherit the principals

Differential Revision: https://phabricator.services.mozilla.com/D185029
2023-08-07 04:49:47 +00:00
Hubert Boma Manilla
db30b37fd3 Bug 1844204 - [devtools] Move the damp test app from github to MC r=perftest-reviewers,devtools-reviewers,nchevobbe,kshampur
This patch pulls in the code from https://github.com/codehag/debugger-talos-example into the `app` folder.

The code structure is also now slightly different. There are now two folders, which `app` and `app-build`

The code in the `app` folder should now be where any further changes are made, this then gets built into `app_build` folder
which is used for the tests.

The idea is that the code in the `app-build` folder should not be changed manually, but it is rather always built
from `app`. See the readme for details.

Differential Revision: https://phabricator.services.mozilla.com/D184455
2023-08-07 04:44:51 +00:00
Iulian Moraru
3b2efb9273 Backed out changeset 675cf3cb3d33 (bug 1397646) for causing mochitest failures on test_fetch_basic_http.html. CLOSED TREE 2023-08-07 07:46:50 +03:00
Thomas Wisniewski
ae64997bee Bug 1397646 - return empty statusText for HTTP2 fetches and XMLHttpRequests; r=kershaw,necko-reviewers,sunil
Differential Revision: https://phabricator.services.mozilla.com/D184527
2023-08-07 04:00:31 +00:00
Iulian Moraru
15248c3ea7 Backed out changeset a86a27857ef6 (bug 1453318) for causing multiple wpt failures. CLOSED TREE 2023-08-07 06:42:15 +03:00
Timothy Nikkel
1a15b46e51 Bug 1847149. Make PathBuilderD2D::Arc handle all start and end angles properly. r=lsalzman
This steals some code from ArcToBezier https://searchfox.org/mozilla-central/rev/fb43eb3bdf5b51000bc7dfe3474cbe56ca2ab63c/gfx/2d/PathHelpers.h#127 so that the start and end angle are within 2*Pi and so that they are in the correct numerical order depending if we are sweeping clockwise or anticlockwise. This makes calculations easier. Specifically it makes the determination of arc size (more or less than Pi) work below. This replaces some code which tried to do something similar but did not account for all cases.

Differential Revision: https://phabricator.services.mozilla.com/D185517
2023-08-07 02:05:30 +00:00
Thomas Wisniewski
f68eec7bff Bug 1453318 - Disallow responses when a response header value contains 0x00; r=kershaw,sunil,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185160
2023-08-07 02:02:19 +00:00
Masayuki Nakano
9bc06ad568 Bug 1232918 - Map Windows Logo keys in Win/Linux to Meta and rename OSLeft/OSRight to MetaLeft/MetaRight r=smaug,webdriver-reviewers,jdescottes,media-playback-reviewers,karlt
When we implement `KeyboardEvent.key`, its value for Windows Logo key was
declared as `OS`, but now the spec declares it as `Meta`.

When we implement `KeyboardEvent.code`, its value for Windows Logo keys in
Win/Linux and Command keys in macOS are declared as `OSLeft`/`OSRight`, but
now the spec declares them as `MetaLeft`/`MetaRight`.

This patch remaps and renames them.

Differential Revision: https://phabricator.services.mozilla.com/D183481
2023-08-07 01:03:58 +00:00
Masayuki Nakano
0f39d7eda7 Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs
On Windows, Windows logo key was mapped to "OS" modifier, and on Linux,
it's same and the key is called "Super" and "Hyper".  That conformed to the
older UI Events spec.

However, UI Events declares that they should be mapped to "Meta" now and Chrome
handles it as the spec in Windows and Linux.  Therefore, we should align the
behavior to them.

Note that we've treated the legacy "Meta" modifier on Linux as DOM "Meta"
modifier state, and we'll keep this as-is because in Sun/Solaris keyboard
layout, they keys are mapped to the legacy "Meta".

Finally, the following check only `IsMeta()` but not `IsOS()`.  I think that
they should've checked `IsOS()` too.  Therefore, they will behave differently
in Windows and Linux.
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/base/Element.cpp#3287-3288
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3762-3764
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3796-3806
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLLabelElement.cpp#127-128
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/widget/gtk/nsGtkKeyUtils.cpp#1461-1462

Note that `KEY_NAME_INDEX_OS` will be removed in the patch for bug 1232918.

Differential Revision: https://phabricator.services.mozilla.com/D183480
2023-08-07 01:03:58 +00:00
Michael Froman
582cef2b31 Bug 1846590 - move SetCaptureAndroidVM declaration from libwebrtc video_capture.h to our VideoEngine.cpp r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185076
2023-08-07 00:10:01 +00:00
Michael Froman
801812b85f Bug 1846875 - remove redundant divide by zero protection in libwebrtc's merge.cc r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185236
2023-08-06 23:53:12 +00:00
Gijs Kruitbosch
f9dae92b0f Bug 1847080 - use packaging/appearance as the expected key for packaging content, r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D185434
2023-08-06 20:13:52 +00:00
Mozilla Releng Treescript
806fb0e7ed no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> c959ca8ac3cb6588ecb6d29e0d15135877799768
es-AR -> 0d3f54365c403f7824cc1a2cadec5190e97d337a
gn -> 201eddca5bd6e44fb43afaef0f40f9a9760e5e12
hu -> 002ae199a8061861e40e6600dd4205f248c19429
kk -> e13b35f54ff8775db552779e777b7e82b50fb410
ru -> cbc18c190bada87ec2d14eeb02a8e73628943c29
si -> 902567205c2e8632888d712c0ee6344ab51600cf
sk -> b255a1ff7bc942f3680b264be0a9dfe0d6d0f6b2
sv-SE -> 31aaf46f00064513cf48e6ffcacee4621ca190a9
2023-08-06 19:07:09 +00:00
Mozilla Releng Treescript
4f0fedbf34 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
fur -> 1a70bb15d5a3f0ee4d50238da2336f9a5ab708b9
ia -> f9d787a2c1b9f351e47923e9edf9aacfb0784d05
pt-BR -> 51fed5ea0cee0d38dc366280a3f6ee2bada62eb2
2023-08-06 07:03:28 +00:00
Mozilla Releng Treescript
3134462782 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 3c493984790438046390bb6da1694f5ad428fc10
af -> aea13f09fb051dec263d383552c54067942436cd
an -> b63facaca07eec70c302907c3a424256c445a93b
ar -> bf3eb9f047ce7ab29cd1e0065fccbd3155ed9793
ast -> 86ea7d83b88f9f3ab6fd8a611f12cd447af0bec7
az -> 205cb91e178f697cd3823342b0ab5e5db04fd04d
be -> eb24e362a0c9bb9599cf348cfe3c1d12d7819579
bg -> 433ba4af4e6b626256c1810be9de0bebeea82221
bn -> 4d8ff4fea67df86755de707d7aadbc5c5a238ac8
bo -> 42f95ae54a242d1a49621d4786224af77cdca739
br -> ee62ce0bf6750283a6b01a5e1c2debe9a71562bf
brx -> b2a3992272717d5f9e9673a2a630e424ac8d7750
bs -> d3bfaf96931ab21fe371f550a68b87cd0b9114b5
ca -> 3962b213b5ff212036b607ee9d1a5ffc43001109
ca-valencia -> 5493e7746af4664cf1f00ba3a862b12eae3b0ad6
cak -> 9e982085b89d27c0ccc6028ed4b87fcdebd1d821
ckb -> f0a3c49e40257af9111958c3e57826cacc40ad71
cs -> 1e4ca47e79885276f34f5d22b2f250454eb3a424
cy -> 994d31ed21499d3cd974affc6fa1d9ce39295d6d
da -> c8ebb41b00f09af7b3e02cfe7dacc6e6b0aa0d26
de -> f336f8ed5ce4464f4e615f304ac74f09f7493deb
dsb -> 38f7fe4b9a604af12ea3893fd19cf2c1d350c4ef
el -> 71c4a26e579388c21cd1a679eac7333c4fe11627
en-CA -> b29927fe509bb53c50891c2338a07825d5e435bc
en-GB -> 8d41aa1bf8842c624d00527bb9660f4af4f48219
eo -> 640ec8ef6a23ca4a6e37fbce91150dfb69b259c1
es-AR -> 1a62f746ec0b668468e8e18cb5a4f832e2d79c8d
es-CL -> 7359fc6387b3a4a055ce17a5f5087a109b91d02f
es-ES -> 9963571a23ec216aafa84159f9654eeec1a70c34
es-MX -> 517c2863f61649b1708ccfc6cb8f424730033ca1
et -> 9a182afe5982e4f401ad7a7f0ff6421080e0d906
eu -> 1c559da8f69fdb997faa7b4572158046d5321f9b
fa -> c35059ecf2ec57e4ac0134e6f4698e62cc5ac38e
ff -> 7bd6d3899e7adf63a9e15ab7320611fc01fd62e5
fi -> 3dd929dd6a0c9a847a80520756f4b5bdbe510938
fr -> acc7c57ee946e0f33b24bd4275525f6a37e6aede
fur -> 45ce8cad45066c139eebfa72b40b4b7eb71873d1
fy-NL -> 780008735102a4be49a182231781689717df3357
ga-IE -> df1ef26d69d77f3daf6d4bd432b0fab222c99f2f
gd -> d69c1a55667fd2929c2587d8f47f7184c7ba64b6
gl -> b09b55452fe81b69b9ab7ac9a9b4f092e9aa6515
gn -> e305bc1e28bdb97fb79bfc05b2a48aab0ded41e3
gu-IN -> a420d95e065f49689a61d4ba4d07ff3738f9da96
he -> 4ae2f7fa839851e7cdc32747e45bd57139a603da
hi-IN -> d887de870e624c669993f336299eb47ee7797113
hr -> 44eab14ce835ebd4d3ef7b7d6e775f76b497c500
hsb -> 7dd5df9802d26d19de5f4075f1cb1fd878c6e710
hu -> 016ad26c32e73d9f0d0e66a61e5b09168a4f0037
hy-AM -> d5c3c747fd017d3e575bd37fe631a5a3d31f563d
hye -> e62b3608502bb86ac78dfe076ad61c33525f66b9
ia -> 1eba98c36e0a1611e62f355936908f2ae130a748
id -> 8fef439030774892d0f4b06b4a6f4433297a1470
is -> 060535c5413883f72ab509a6df822caa8d45c903
it -> 72caa5b824b6335caeabb5db3cc3dd67a30cfa96
ja -> fadc2f6681a5a85c7815b3788248f0860dc300c5
ja-JP-mac -> 484df3d123468f25161d62151585571a489d58ca
ka -> 04566be789e801faa2e963482400269d651eeb92
kab -> 5831b2f97f85712e342916ac2b0fd43ab0c5e5db
kk -> 5143a1b3ca07ff49493ec7c08a141b9f3bf04394
km -> 7accb9861d2960a7a37418aa16d87f94c6508fbe
kn -> f18cb0f59521dd35dd108af223160bd4abed0f1c
ko -> 0c10e3cf971865ae8802eb3b62aa4ea646d48e46
lij -> b708e2b40a86b0c7c60f1455422c6f00ff39eb28
lo -> 7cddf97298b0a0e3427a1dc8d31688914e32b49f
lt -> 8097aa508078a5e5973f8ac2b83b66863b3cc284
ltg -> d5868316f8386376ecd9acef3ca81099e4bd5248
lv -> 5ee9f69d401e5fd14aab8850a362291589de5fd1
meh -> 637916d1125f97df170c4b036d99326778398a69
mk -> 8071c758a4c503941b58685857f31a626ed8a397
mr -> 61db2500580ac8b82591fd0032a3a67bb273852e
ms -> c9de3c7825a7b12153c7571683fb63dd2471b2e0
my -> fe62778d86ab96f4f1325bd9740061b84f779c18
nb-NO -> f1ab45e55f689a9a296396d42e002273038bf03d
ne-NP -> 75299e27c807f8f62ac6769610e78df4397bc305
nl -> 32d9fb6197adcc4b1a4b80753b6c34158eb9bc46
nn-NO -> 7272fa089aa80bb94eecf8c0c08227679ac7bc92
oc -> dab48a3908231a4ae0509af8e6b6c319e5796af2
pa-IN -> 202fc8c18aef810e89d1cb95188e8e3fb06e232c
pl -> 9e6a5f66fd0a50da7a5a398b6b8cb6ed74fffa09
pt-BR -> dff7838833115c4a9b71a4408fff8e32d713757e
pt-PT -> 5545bbdb13d49207d247980917d2b0303fa8f6d9
rm -> 3f64a83cb1266e70771274749599766a0b1a8d86
ro -> 5354a0e35676e879dd4016c1a1afeaf8615aa56c
ru -> f8c9d2cd20e1082929464f66bf49feac5eee5c38
sat -> ee608799cfa89dc49785b4109024710946a8bbae
sc -> 79674c7a155c6dd76df6138737b09774cd22f07d
scn -> 05d182b0c70e61ebb9e0d0a055042d69f3f9644b
sco -> a69636263bbc6d1ab72677fede741d570414614a
si -> 7f013f76d9b5f93492c023d8ef0bbc1d363f2329
sk -> 36ab583a38890868951abd5570ceb4420dc0881f
skr -> 74a5133ff1a3c7b5f3fcd6d6768f501f67c40744
sl -> 9ba443f67a1842bed5fe98049685e7a8dc617144
son -> c35e3ceee96cc2fa7e2bba7d813d4607a03007d4
sq -> 71d244638fe0148db79b9d5b86b0d7a361f89477
sr -> c4e68e984823e4019345d3e134b05d56c9f44073
sv-SE -> ad7375dc8b6be1ef8bafff291c404b8e6398ce7b
szl -> 2b5bc6ff833d919e12bac3705c4c50c63ab1d9d5
ta -> 6fe1afda81165b98c840a096dbbad23149df7a9f
te -> be3ab26a30b62e0d507e6a0c7b88a8bc33001670
tg -> a29814e42b082abc681a3940911bc4c6aa0e5ec5
th -> 333d9af6f88011ffee27f4b8a743f01fd32f6070
tl -> 87fed4eb9b46a64bf23ade99c1ef80341beb5b1e
tr -> dc2af3619fec3a9e99d490c46f43d6c3b11780e1
trs -> 7d5b516a56334dfcdcc6bf5b9f1f58b6662762be
uk -> 7a96503a7f5309aca2cc157185846ed3e7491a69
ur -> 6299ec4c0bd0dda67b0b75c092a7ccb03f42fa41
uz -> 41e331b7be28e771dc1eb7f8bf8b3eeee1557cdc
vi -> 6c9507d505614c50345be04427e2448b6918bfe6
wo -> e6e4e949763625436e4ea9dc3285bc99244e6d9d
xh -> 211474747d97c50e41a4c1442ad85e725ce689db
zh-CN -> 2b440b08b8e7b7d43898cf6a386acca7301dd198
zh-TW -> 9b69e916af6077396a12fc68ee6dd6c8fe9bf5ab
2023-08-05 18:59:38 +00:00
Gijs Kruitbosch
fb43eb3bdf Bug 1842252 - use correct destruction callback and improve handling of hiding the sidebar, r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D185310
2023-08-05 16:12:02 +00:00
Gijs Kruitbosch
ae9e50d278 Bug 1842252 - use about page for shopping tests instead of chrome URL, r=shopping-reviewers,kpatenio,jhirsch
Depends on D184166

Differential Revision: https://phabricator.services.mozilla.com/D185050
2023-08-05 16:12:01 +00:00
Gijs Kruitbosch
9eaf7d0576 Bug 1842252 - add integration test for shopping, r=shopping-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D184166
2023-08-05 16:12:01 +00:00
Mike Kaply
aa9bfa1c41 Bug 1847242 - Show backup icon if we don't have one. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185447
2023-08-05 12:04:29 +00:00
Stanca Serban
09cbde2480 Backed out 3 changesets (bug 1842252) for causing mochitests failures in browser_shopping_urlbar.js.
Backed out changeset a39a276eba75 (bug 1842252)
Backed out changeset a9ddfdc1aeb0 (bug 1842252)
Backed out changeset 0974a625881c (bug 1842252)
2023-08-05 14:43:35 +03:00
Gijs Kruitbosch
cd68a40879 Bug 1842252 - use correct destruction callback and improve handling of hiding the sidebar, r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D185310
2023-08-05 10:30:26 +00:00
Gijs Kruitbosch
eb81778550 Bug 1842252 - use about page for shopping tests instead of chrome URL, r=shopping-reviewers,kpatenio,jhirsch
Depends on D184166

Differential Revision: https://phabricator.services.mozilla.com/D185050
2023-08-05 10:30:26 +00:00
Gijs Kruitbosch
ccfa5fa56e Bug 1842252 - add integration test for shopping, r=shopping-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D184166
2023-08-05 10:30:25 +00:00
Mark Banner
12b89c5f24 Bug 1847246 - Remove remaining parts of browser.search.hiddenOneOffs preference. r=search-reviewers,settings-reviewers,mcheang
Differential Revision: https://phabricator.services.mozilla.com/D185444
2023-08-05 09:21:56 +00:00
Makoto Kato
ccf77507b4 Bug 1845651 - Part 2. Convert OpenMAX DL assembler to clang compatible. r=padenot
Newer Android NDK has no GNU assembler, so I convert OpenMAX DL in Gecko to
clang compatible assembler.

Gecko's OpenMAX DL is imported from Cromium tree, but it is removed from
Chromium (https://crbug.com/917355). So there is no upstream code now.

Also, if using MOZ_LIBAV_FF on arm32 build, MOZ_LIBAV_FF is slower than
OpenMAX DL.

Convolution reverb - https://padenot.github.io/webaudio-benchmark/index.html
- OpenMAX DL ... 16x
- MOZ_LIBAV_FF ... 13x

Depends on D184717

Differential Revision: https://phabricator.services.mozilla.com/D184719
2023-08-05 07:16:21 +00:00
Makoto Kato
98a5909e60 Bug 1845651 - Part 1. Remove unused OpenMAX DL assembler files. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D184717
2023-08-05 07:16:20 +00:00
Mozilla Releng Treescript
05ba0e11c3 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cak -> fd30b8b5916128983e6a28efeeb018ecad06b246
eu -> 3f459cb1ef02a4e8176e74fe2b7a7331f4d442a5
ia -> 1134b58943d41b193bdd504b11559afe6cade1bf
tr -> 033c81b3cca85036af7fca47b4c6a9079c2587c1
2023-08-05 07:01:19 +00:00
Sandor Molnar
c013e80601 Backed out 2 changesets (bug 1846854) for causing assertion failures in dom/media/mediasink/AudioSinkWrapper.cpp CLOSED TREE
Backed out changeset 6a1c7d4ba6be (bug 1846854)
Backed out changeset aa233991f9ea (bug 1846854)
2023-08-05 05:53:30 +03:00
Lee Salzman
ebbda1906f Bug 1847244 - Finish plumbing will-read-frequently through WindowRenderer. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D185451
2023-08-05 01:05:47 +00:00
Haik Aftandilian
3b85c18362 Bug 1845793 - Remove 10.12 - 10.14 Sandbox Policy Checks r=spohl
Remove sandboxing rules and conditional code only needed on 10.14 and earlier.

Differential Revision: https://phabricator.services.mozilla.com/D184776
2023-08-04 23:32:43 +00:00
Randell Jesup
b8af5a77f1 Bug 1841290: implement 'cleanly' parameter for WebTransport session shutdown r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182603
2023-08-04 23:19:44 +00:00
Karl Tomlinson
5e676e91dd Bug 1846854 test async AudioSink init with end of audio r=padenot
Also remove a comment from AsyncInitFailureWithSyncInitSuccess that was left
over from a earlier iteration of that test but is no longer relevant,
and remove an unnecessary 0.5 -> 0.0 volume transition.

Depends on D185397

Differential Revision: https://phabricator.services.mozilla.com/D185398
2023-08-04 23:02:57 +00:00
Sandor Molnar
f0fc62f087 Backed out changeset b463b9cd8aef (bug 1846036) for causing failures in toolkit/components/passwordmgr/test/mochitest/test_prompt.html CLOSED TREE 2023-08-05 02:15:47 +03:00
Karl Tomlinson
91a7cecc8f Bug 1846854 call GetPosition() before deciding whether a new AudioSink is needed r=padenot
This avoids a crash where mEndedPromiseHolder was resolved in GetPosition() as
well in OnAudioEnded().

GetPosition() calls DropAudioPacketsIfNeeded() if necessary so the additional
call is removed.

The GetPosition() call is avoided when mAudioSink is set to avoid
mLastClockSource side-effects, which I don't fully understand.

Differential Revision: https://phabricator.services.mozilla.com/D185397
2023-08-04 21:50:01 +00:00
Emilio Cobos Álvarez
82ccf35f3d Bug 1800897 - Don't fire resize events along before/afterprint. r=dholbert
This partially backs out bug 774398.

This code was added to match what Chromium was doing, but it seems (per
discussions with Chromium engineers) that:

 * Resize event listener in Chromium never changed
   innerWidth/innerHeight. That doesn't match my recollection from bug
   774398, but it's true now in Chrome stable, at least.

 * Chromium canary no longer fires a resize event
   (https://crbug.com/1076867).

 * WebKit doesn't fire resize either.

So let's get rid of this, which also causes some correctness issues with
some iframes, and keep just the media query listeners firing.

Differential Revision: https://phabricator.services.mozilla.com/D185404
2023-08-04 21:37:41 +00:00
Tiaan Louw
891c4741c0 Bug 1844333 - Clamp and normalize color values to appropriate ranges. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D183983
2023-08-04 21:19:28 +00:00
Erik Nordin
aa47958aa1 Bug 1847150 - Add more TranslationsTelemetry event keys for translation_request r=gregtatum
Adds a few more event keys to the translation_request event,
such as the top preferred language, and the detected document
language tag.

Differential Revision: https://phabricator.services.mozilla.com/D185387
2023-08-04 20:13:17 +00:00
Erik Nordin
17379e8547 Bug 1847150 - Add more TranslationsTelemetry event keys for panel open r=gregtatum
Adds a few more event keys to the panel open event, such as the
detected document language tag, and whether the panel was opened
automatically or manually.

Differential Revision: https://phabricator.services.mozilla.com/D185386
2023-08-04 20:13:17 +00:00
Robin Steuber
26fca30949 Bug 1830368 - Fix app.update.log.file r=nalexander,application-update-reviewers
This fix ended up being a lot more involved than I hoped because one of the issues with the current code is that it currently tries to open two handles to the same file by just opening the file twice. Which is not the interface works. So I fixed this by centralizing the file access by splitting all of the update logging out into its own module.

Differential Revision: https://phabricator.services.mozilla.com/D184869
2023-08-04 20:03:15 +00:00
Perry McManis
0d723a5b47 Bug 1845822 - Instrument the shopping opt-out settings r=chutten,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184770
2023-08-04 20:00:16 +00:00
Perry McManis
25dee14b4a Bug 1846610 - update glean metrics tags r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D185089
2023-08-04 20:00:16 +00:00