Commit graph

834485 commits

Author SHA1 Message Date
Marian-Vasile Laza
703b1846fd Backed out 2 changesets (bug 1720941) for web-platform tests failures. CLOSED TREE
Backed out changeset f7fed5fde8b7 (bug 1720941)
Backed out changeset a211d76a5e01 (bug 1720941)
2023-03-16 02:14:02 +02:00
Marian-Vasile Laza
3cfa044456 Backed out changeset de233af59c21 (bug 1822433) for wpt failures on scroll-snap-type-on-root-element.html. 2023-03-16 01:55:48 +02:00
Marian-Vasile Laza
b1bb1b3c9b Backed out changeset 160ac6b5f726 (bug 1813481) for assertion failure on nsCSSRenderingGradients.cpp. 2023-03-16 01:50:39 +02:00
Dão Gottwald
4692815ff1 Bug 1818356 - Clean up --panel-description-color and --panel-disabled-color. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D172270
2023-03-15 22:28:01 +00:00
Randell Jesup
9dafe649b4 Bug 1818998: Convert nsSocketTransportService polling arrays to nsTArrays r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171043
2023-03-15 22:13:36 +00:00
Randell Jesup
49f9b9c493 Bug 1720594: Add an Assertion r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D170965
2023-03-15 22:13:36 +00:00
Otto Länd
0251e95403 Bug 1817592, 1822205: apply code formatting via Lando
# ignore-this-changeset
2023-03-15 22:38:25 +00:00
Eitan Isaacson
07ecb9af4d Bug 1822205 - collectionItemInfo.rowIndex should be 0 based in Android. r=Jamie,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D172504
2023-03-15 22:09:32 +00:00
Eitan Isaacson
f98e3aa593 Bug 1817592 - Do not match and ignore subtrees on list items in android nav. r=Jamie,geckoview-reviewers,m_kato
We did this to give more semantic information when swiping through
read-only list items. This doesn't work when there are actionable
children in the list item. Chrome never navigates by list items, so we
shouldn't bother to either.

Differential Revision: https://phabricator.services.mozilla.com/D172503
2023-03-15 22:09:31 +00:00
Kershaw Chang
87691494bf Bug 1820424 - Cleanup WebTransportSessionProxy, r=jesup,necko-reviewers
The asseration failure happened because we queued "OnIncomingStreamAvailableInternal" event and call it after "OnStopRequest". Before the event got invoked, the session can be already closed, so we hit the assertion.

Differential Revision: https://phabricator.services.mozilla.com/D172667
2023-03-15 22:07:23 +00:00
Kershaw Chang
03939f3481 Bug 1822471 - Handle Http3WebTransportSession::mSendState properly, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172648
2023-03-15 22:07:22 +00:00
Karl Tomlinson
1c4704d106 Bug 1804352 add blocking speaker selection permissions to about:preferences#privacy r=fluent-reviewers,desktop-theme-reviewers,flod,dao,pbz
This patch adds support only for BLOCK permissions because ALLOW permissions
are double-keyed and will be included via a subsequent patch.

Support for a global BLOCK permission is not added here because of
inconsistencies in the way this interacts with device-specific ALLOW
permissions.

Differential Revision: https://phabricator.services.mozilla.com/D170303
2023-03-15 22:07:23 +00:00
Karl Tomlinson
e922fe04fb Bug 1804352 show label instead of menulist when there would be a single site permission status option r=pbz
as is the situation for speaker selection.

Differential Revision: https://phabricator.services.mozilla.com/D170302
2023-03-15 22:07:23 +00:00
Karl Tomlinson
cbda1e22d7 Bug 1804352 remove unnecessary _handleCapabilityChange() r=pbz
The effects of this have been removed since a buildPermissionsList() call was
added to handle potential sorting by status/capability in
https://hg.mozilla.org/mozilla-central/rev/d032ead9b6db3d5332255059ce6555b1e79fec0d#l2.39

Depends on D170300

Differential Revision: https://phabricator.services.mozilla.com/D170301
2023-03-15 22:07:22 +00:00
Karl Tomlinson
cc4cf34a53 Bug 1804352 remove unused l10Id property on Permission r=settings-reviewers,Gijs
This has been unused since
https://hg.mozilla.org/mozilla-central/rev/3beeaf20f46a008adf54b279090bbb1e0bcf67d3#l4.258

Differential Revision: https://phabricator.services.mozilla.com/D170300
2023-03-15 22:07:22 +00:00
anayo
89898ae544 Bug 1814427 - Replace linkMoreTroubleshooting xul anchor with moz-support-link r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D172221
2023-03-15 22:06:28 +00:00
az
c6b7f0a9a5 Bug 1813223 - Print data from every column in nested tables in about:support r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D168164
2023-03-15 22:01:56 +00:00
Nika Layzell
0acdb79a3f Bug 1810619 - Part 2: Get the content window from client.openWindow on geckoview, r=geckoview-reviewers,m_kato
While writing part 1 of this patch, I noticed that the geckoview code
for client.openWindow was returning the outer chrome window's
BrowsingContext rather than the BrowsingContext of the primary content
frame when opening a pop-up window. This meant that the native code
would fail to start navigating the pop-up window (as it would try to
navigate the chrome window which is not allowed).

It turns out the tests were still passing because the geckoview code was
actually starting the load itself, though with the wrong options and
properties. In this patch I remove that call to load a URI from the Java
code, and fix the code in ClientOpenWindowUtils to return the content
BrowsingContext instead of the chrome one.

Differential Revision: https://phabricator.services.mozilla.com/D171756
2023-03-15 21:57:04 +00:00
Nika Layzell
d564908035 Bug 1810619 - Part 1: Be more precise in named lookup code, r=smaug,geckoview-reviewers,m_kato
This makes various changes to the named lookup/navigation code to make
them more precise, and avoid issues which could happen if a window is
closed while script is still executing.

This also should improve handling for inactive windows in some cases, by
more frequently working off of the WindowContext tree rather than the
BrowsingContext tree.

As part of these changes, some behaviour was changed around e.g. the
file URI exception to avoid the deprecated nsIPrincipal::GetURI method.
I don't believe the behaviour should have changed in a meaningful way.

Differential Revision: https://phabricator.services.mozilla.com/D171755
2023-03-15 21:57:03 +00:00
Bobby Holley
13cee562c0 Bug 1822691 — Bump cargo-vet to b31b5428709583d0de0fa1b54d88624fd04f8a50. r=nika,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172727
2023-03-15 21:52:06 +00:00
Daisuke Akatsuka
af6aa328d5 Bug 1822210: Check wheather the view is opening when recording r=mak
Differential Revision: https://phabricator.services.mozilla.com/D172098
2023-03-15 21:51:12 +00:00
Olivia Hall
06a7820749 Bug 1820218 - Adjust Test Expectations for window.print for Android r=smaug
In bug 1659818,  window.print is enabled for Nightly in Android.
This bug adjusts testing expectations for Android.

Differential Revision: https://phabricator.services.mozilla.com/D172123
2023-03-15 21:23:12 +00:00
Olivia Hall
41785a703d Bug 1659818 - Android window.print Implemented for Nightly r=emilio,m_kato,geckoview-reviewers
This bug implements and opens window.print() for Android in Nightly.
Adds "GeckoView:DotPrintRequest" and "GeckoView:DotPrintFinish" events.
GeckoView:DotPrintRequest requests a PDF of the current window.print
page for Android to print. GeckoView:DotPrintFinish releases the static
browser clone created by window.print. PDF generation was additionally
adjusted to get the expected canonical browser context when printing
iframes.

Differential Revision: https://phabricator.services.mozilla.com/D171159
2023-03-15 21:23:12 +00:00
Dale Harvey
0596ced492 Bug 1819867 - Remove partner code to be updated.
Differential Revision: https://phabricator.services.mozilla.com/D172723
2023-03-15 21:15:21 +00:00
Daisuke Akatsuka
98bfbb9494 Bug 1821660: Avoid showing result view to make the same behavior every time. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D172393
2023-03-15 21:15:01 +00:00
Hiroyuki Ikezoe
ae7c6b87c6 Bug 1822433 - Snap to the scroll destination in the case of intended-end-position scroll operation if there's no snap target points. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D172627
2023-03-15 21:12:59 +00:00
Tiaan Louw
a7a28cf7a6 Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed.  We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.

As this is the last part intended to be released for the new [color-4]
changes, I've also enabled the changes on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D170208
2023-03-15 21:10:43 +00:00
Glenn Watson
6e6cfd149f Bug 1822436 - Remove offset from WR border-image implementation r=gfx-reviewers,lsalzman
It's not needed, as Gecko incorporates it in to the border-image rect.

Differential Revision: https://phabricator.services.mozilla.com/D172636
2023-03-15 20:51:37 +00:00
Mike Hommey
f16ddf3bf5 Bug 1822462 - Use TARGET_C{,XX}FLAGS consistently between platforms. r=firefox-build-system-reviewers,andi
In some cases, TARGET_CC/TARGET_CXX are ignored by build scripts.
For consistency, also use TARGET_CFLAGS/TARGET_CXXFLAGS for Linux.

Differential Revision: https://phabricator.services.mozilla.com/D172646
2023-03-15 20:50:12 +00:00
Marian-Vasile Laza
f800c98231 Backed out changeset 954ebee9baae (bug 1816859) for bc failures on browser_togglePolicies.js. CLOSED TREE 2023-03-15 23:10:14 +02:00
Marian-Vasile Laza
fc37f993c4 Backed out changeset c24f7a077e5f (bug 1813108) for mochitest failures on test_ext_action.html. 2023-03-15 23:08:08 +02:00
Mike Hommey
2baef56ab0 Bug 1820947 - Use "new style" sysroot when building Android compiler-rt. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172073
2023-03-15 20:44:02 +00:00
Mike Hommey
eaca1f3dd4 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-15 20:44:02 +00:00
Mike Hommey
63bff39aa5 Bug 1820947 - Don't enable valgrind support in Android ASan builds. r=decoder
I think the flag was cargo-culted from the linux builds, but only worked
kind of accidentally: the Android NDK doesn't provide the valgrind
header, but as we weren't using a sysroot, we ended up picking the
system one, which kinda sorta works ok. Unfortunately, now that we are
switching to using a sysroot, the valgrind header can't be picked that
way anymore. I don't think this has an impact on ASan itself.

Differential Revision: https://phabricator.services.mozilla.com/D172507
2023-03-15 20:30:01 +00:00
Marian-Vasile Laza
d9dcca62c0 Backed out changeset 82ff06193160 (bug 1822436) for wr wrench bustages. CLOSED TREE 2023-03-15 22:34:35 +02:00
Erich Gubler
07d5552a55 Bug 1720941, part 2: tests(ci): now do the actual vendoring r=webgpu-reviewers,taskgraph-reviewers,jmaher,jimb
After implementing vendoring in part 1, it's time to run it! This patch was broken out from part 1 to isolate very tedious portion of the review. Most of this patch is composed of:

1. Generated CTS test files from part 1.
2. A massive wall of test expectation management acknowledging current passes and failures. Currently, Linux and Windows are expected to pass with these noted failures. Many, but not all, current failures on MacOS are recorded.

Differential Revision: https://phabricator.services.mozilla.com/D169953
2023-03-15 20:13:45 +00:00
Erich Gubler
af02a85436 Bug 1720941, part 1: build(ci): integrate WebGPU CTS into CI r=webgpu-reviewers,taskgraph-reviewers,jmaher,jimb
Vendor in WebGPU CTS so that we can run it against our implementation of WebGPU. This patch includes:

1. Some linting configuration tweaks, to silence issues that weren't straightforward to fix in CTS upstream.
2. Some WPT runner configuration to enable preferences, and skip MacOS testing altogether (since it's not targeted by our current work).
3. A new Rust binary crate that, when run from a development environment:
    1. Creates a vendored copy of WebGPU CTS in `<gecko>/dom/webgpu/tests/cts/checkout/`.
    2. Generates private Web Platform Tests (see also `<gecko>/testing/web-platform/docs/index.rst`). To do this, we:
        1. Use upstream test generation via `npm` scripts, which creates a single `cts.https.html` file with thousands of variants.
        2. Chunk the `cts.https.html` file into parts that Taskcluster can distribute without timing out individual jobs. IMO, this is the most likely part of these changes to need further iteration, because:
            1. We currently naively divide tests by number of variant, and have made no effort to empirically prove that we're dividing execution time of chunks.
            2. There is currently no stability in the distribution of tests per chunk. Test variants are essentially a flattened list of the tree structure used to organize tests. Adding a few tests that end up being placed in the middle of the list can cause the chunk with new tests _and all subsequent chunks_ to have their contents changed, which will probably cause a disproportionate number of line changes to review.:
        3. Fix `script` tag(s) so they actually work with the WPT test runner for private tests (viz., in the `testing/web-platform/mozilla` directory).

The output of the new vendoring binary is designed make the above steps transparent. N.B. that no actual vendoring in of files has happened yet; the next patch will add the results of running this script.

Differential Revision: https://phabricator.services.mozilla.com/D169951
2023-03-15 20:13:45 +00:00
Ting-Yu Lin
9d92df5215 Bug 1822536 - Enable offset-path:ray() for crashtest 1467519.html. r=emilio
`offset-path:ray()` is used in 1467519.html, but it is enabled only on Nightly
[1]. This patch enables the feature so that the assertion can be consistently
triggered on beta.

[1] https://searchfox.org/mozilla-central/rev/47aea2f603cc18144afcedbd604a418f11e90f9b/modules/libpref/init/StaticPrefList.yaml#8626-8627,8629

Differential Revision: https://phabricator.services.mozilla.com/D172713
2023-03-15 20:13:10 +00:00
Glenn Watson
30496845a0 Bug 1822436 - Remove offset from WR border-image implementation r=gfx-reviewers,lsalzman
It's not needed, as Gecko incorporates it in to the border-image rect.

Differential Revision: https://phabricator.services.mozilla.com/D172636
2023-03-15 20:01:20 +00:00
Otto Länd
d8e0ce0cc0 Bug 1818305: apply code formatting via Lando
# ignore-this-changeset
2023-03-15 19:55:42 +00:00
Nika Layzell
ff7f4f17f4 Bug 1818305 - Part 3: Check streamStatus from nsAStreamCopier, r=xpcom-reviewers,mccr8
This will ensure that errors in one side of a NS_AsyncCopy will more reliably
propagate to the other side of the NS_AsyncCopy, by allowing us to check for
situations like stream closure reliably even when the other side either has no
available data, or no available space.

Differential Revision: https://phabricator.services.mozilla.com/D170698
2023-03-15 19:52:34 +00:00
Nika Layzell
3b40268cc1 Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8
This is semantically similar to the existing available() method, however will
not block, and doesn't need to do the work to actually determine the number of
available bytes.

As part of this patch, I also fixed one available() implementation which was
incorrectly throwing NS_BASE_STREAM_WOULD_BLOCK.

Differential Revision: https://phabricator.services.mozilla.com/D170697
2023-03-15 19:52:34 +00:00
Nika Layzell
e61507c3a3 Bug 1818305 - Part 1: Add a streamStatus method to nsIOutputStream, r=necko-reviewers,geckoview-reviewers,jesup,emilio,m_kato,devtools-reviewers
This new method can be used to check if the nsIOutputStream has been
closed without having data available to write. It should avoid blocking
to discover this information.

Differential Revision: https://phabricator.services.mozilla.com/D170696
2023-03-15 19:52:33 +00:00
Mike Kaply
a9973a08c2 Bug 1813108 - Add support for pinning to ExtensionSettings policy. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D170949
2023-03-15 19:18:44 +00:00
Nolan Ishii
fb4b7b9935 Bug 1820798 - Variant 2 selector page details section should default to closed. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D172583
2023-03-15 19:16:13 +00:00
Robert Longson
4264460c99 Bug 367994 - Map all SVG styles to all non-animation SVG elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172590
2023-03-15 19:13:51 +00:00
Mozilla Releng Treescript
c23b959532 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 0bffaea67863363cd4331142b3f55c65f9ec48be
an -> b339b6cfe12f28c28752c09036380e11e6053f8a
be -> a21415cb1728db66d1235322ae1fea4bfce8d80e
bg -> 3f69ce61b1e00555881beae7e6ef7c306f20ac43
bo -> db6dfdb4427a8517692b5e34b4965158ea3e21ea
dsb -> bf971a09832a13c16f081ac2dae65fc328bcd59a
el -> d523a43e01671ed557dacc403b0e16b4518f7a31
eo -> 55945c00e0875a9a6fad7f329ecabacd529fe8f9
es-CL -> 6a34c283b8f5dc26a7ce37d877cf4a2daadb9236
fur -> 8dd4bdadcabc7b8f7d2d139be6cfa2bb37670b65
gd -> 58e19b9fc60ec76d91900a6e8f7a4d303ff5b933
he -> 26f3ee66cae270b895c7b383510646c7b2742718
hsb -> 35fe5e51d7256e77b0cabdd5f374877b2e09d16b
hy-AM -> 984134d59db1dc7851573b32ad35f3e469a2c078
it -> f926398cd569eb047b711c1e58f0de5de0fd0aef
ja -> 0ba20a9673c3e952a7ead16758f6a13a95b0ce36
ja-JP-mac -> 5e42358306a3dcc2343e78c8c031da8250ef1c47
kk -> 348a7529cd0e6fef5bfb64b097372e50fe4db577
ko -> db01193652cbb99d3c110c1a57f2f666263cfd4f
lo -> 2a7b2226d9e9166a3fe8087b53f9a80203201ec6
mk -> 629a2c5d854f6a11c97a7da245a29ddd88a0d9a4
nb-NO -> af7d5d66000fd62889bdeb6e64ae10c9f3040b76
nn-NO -> c44e15331df3d3ea8fbf29caa120c5480c18ff08
pt-PT -> 99cb65113dfd1e5e8bc9d2faa2547f94df2adffc
ro -> 5a03e24e6687dbbd8a811b5abde595ad56db415e
ru -> 7dc7580205b7879e363f5b65246a8639e8efa761
sk -> e0cc1a570a403ef806d51b4740e925e0fc599861
skr -> 69d5245f2232531e57151c0f0b7d910e4271171e
sq -> bb1963f08e29141da0807e0b06bd23a51607932c
sr -> 5a70ae5e23926e3ffba68abb8ae910824ed9589c
sv-SE -> 6b296d338be89cdee10978effa12cd9c3a28c654
szl -> 5daa8853629912ed9b51b1ec7d254d8f57477f02
ta -> 01fd7eb56c8be93e115c60eca5179c0eb9c297fc
te -> 885855251c8df255da5dc977a795e74712e46d49
tg -> ec1ad156e909daefab55740d8c8c69418ff791be
th -> e0bb9ada52f10af6b1b00defba6f42c54576ea95
tl -> 88abae68e84ac19ece1618a3d1c644410b20aa4c
tr -> ff5347614750aa6a0c50c01a8fe31f82a2dda537
trs -> a5e7ba59218e46f894b71afd2df57cb26a51f447
uk -> 48b889bd7c876b7d4654d1556574046d16f9dece
ur -> 1328d42d48ce912eebf16e2ca66ff0191620045a
uz -> c38902b74a85efa010a5d6ce40547059d8dbde7c
vi -> 2b3c066fca2497d7bf82c7e7ae3c00f83fe604cb
wo -> df2be568ba9182e0bff8dc37e8a5b80aa2ddda29
xh -> e909d41cfcb0feedd7ef4c5ea547b530c9cb1353
zh-CN -> 4b9aaa0472938306e8962dd5b5a8d283ad70d471
zh-TW -> 164e54c1f67bab45b2f9843ffe0f040445c030e6
2023-03-15 19:02:39 +00:00
Abhishek Tiwari
d0b9714f92 Bug 1821624 - Convert toolkit/components/messaging-system to ES modules r=Standard8,fxview-reviewers,omc-reviewers,aminomancer,sclements
Differential Revision: https://phabricator.services.mozilla.com/D172406
2023-03-15 18:44:02 +00:00
Bilal
0fbb298ba4 Bug 1816859 - Adjusted visibility for PiP toggle on Reddit. r=kpatenio,desktop-theme-reviewers,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170661
2023-03-15 18:35:48 +00:00
Luca Greco
e9e8593dbd Bug 1775577 - Prevent test_discarded_private_tab_restored from trying to discard the same tab twice. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D172154
2023-03-15 18:31:50 +00:00