Commit graph

834449 commits

Author SHA1 Message Date
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
Florian Quèze
839d8942f2 Bug 1822062 - avoid sending NotifyVisited IPCs with no URIs, r=emilio.
Differential Revision: https://phabricator.services.mozilla.com/D172688
2023-03-15 18:29:59 +00:00
Marian-Vasile Laza
5df0512bdd Backed out changeset 1b67ef7bd374 (bug 1822170) for assertion failures on Accessible.cpp. CLOSED TREE 2023-03-15 20:46:00 +02:00
Emilio Cobos Álvarez
5a9d677542 Bug 1822576 - Don't allow shrinking autocomplete-richlistitems. r=Gijs
Since we rely on the richlistbox having a fixed height with multiple
items, then measure (so shrinking breaks that measurement).

Differential Revision: https://phabricator.services.mozilla.com/D172706
2023-03-15 18:21:52 +00:00
Nazım Can Altınova
6d6cf5839a Bug 1776694 - Use the shared libraries that's provided by getProfileDataAsGzippedArrayBuffer r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D172556
2023-03-15 18:19:32 +00:00
Nazım Can Altınova
5d4ab6bd13 Bug 1776694 - Return profile with additional info from GetProfileDataAsGzippedArrayBuffer r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D172555
2023-03-15 18:19:31 +00:00
Nazım Can Altınova
dc7e0f3c89 Bug 1776694 - Gather all the additional information from children and return it from StartGathering r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D172554
2023-03-15 18:19:31 +00:00
Nazım Can Altınova
96addef3d8 Bug 1776694 - Transfer the profile additional information from children processes to parent r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D172553
2023-03-15 18:19:30 +00:00
Nazım Can Altınova
da2ce558c9 Bug 1776694 - Implement ParamTraits for shared library and additional information structs r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D172552
2023-03-15 18:19:30 +00:00
Julien Wajsberg
378c9cd106 Bug 1776694 - Add a method to SharedLibraryInfo that would add all the entries from another SharedLibraryInfo instance r=mstange
Depends on D170783

Differential Revision: https://phabricator.services.mozilla.com/D170922
2023-03-15 18:19:30 +00:00
Julien Wajsberg
a4cea1aea6 Bug 1776694 - Make GrabShutdownProfile return the additional information as well r=mstange
Depends on D170502

Differential Revision: https://phabricator.services.mozilla.com/D170783
2023-03-15 18:19:29 +00:00
Julien Wajsberg
1f69fa0f99 Bug 1776694 - Return the library info from the JSON generation functions r=mstange
Depends on D170501

Differential Revision: https://phabricator.services.mozilla.com/D170502
2023-03-15 18:19:29 +00:00
Julien Wajsberg
ecf10d45b7 Bug 1776694 - Return a Result object from profiler_stream_json_for_this_process r=mstange
Depends on D170500

Differential Revision: https://phabricator.services.mozilla.com/D170501
2023-03-15 18:19:28 +00:00
Julien Wajsberg
494f878d4a Bug 1776694 - Implement move operator for SharedLibraryInfo r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D170500
2023-03-15 18:19:28 +00:00
Ting-Yu Lin
0293650697 Bug 1819239 - Add script blocker to places where we assert no layout flush. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171607
2023-03-15 17:57:38 +00:00
Steve Fink
440d4e8811 Bug 1822431 - Random fix to gHost.gcBytes r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D172624
2023-03-15 17:45:27 +00:00
Steve Fink
f1627faa66 Bug 1817092 - Generate hazards.html r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D170012
2023-03-15 17:43:36 +00:00
Steve Fink
b7f1ac96aa Bug 1814295 - Add tests for existing handling of RefPtr<T> r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D171648
2023-03-15 17:43:36 +00:00
Steve Fink
30bc408e68 Bug 1814295 - Add tests for aggregate initializers (support added in sixgill) r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D171647
2023-03-15 17:43:36 +00:00
Steve Fink
231aa8be0a Bug 1814295 - Handle references in the analysis, in particular AutoCheckCannotGC&&. r=jonco
The hazard analysis needs to be able to pass a parameter of type AutoCheckCannotGC&& that can be considered to be "consumed" either explicitly by calling reset() on it, or given over to a calle with std::move().

Differential Revision: https://phabricator.services.mozilla.com/D170142
2023-03-15 17:43:35 +00:00
Tomislav Jovanovic
b469c5a495 Bug 1805526 - Refactor extension.startup() permissions setup, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D171220
2023-03-15 17:38:14 +00:00
William Durand
266814d72f Bug 1821288 - Remove "addon-install-complete" event. r=rpl
This is not used anymore.

Differential Revision: https://phabricator.services.mozilla.com/D172102
2023-03-15 17:37:42 +00:00
Mike Conley
69c3bc7560 Bug 1822609 - Update string for importing data in about:preferences. r=flod,fluent-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172712
2023-03-15 17:33:15 +00:00
alwu
e10b8924ae Bug 1814314 - use the script runner for calling ProcessCues. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172606
2023-03-15 17:26:33 +00:00
Butkovits Atila
45514b96bb Backed out changeset deabee2364d4 (bug 1813481) for causing assertion failures at gfxUtils.cpp. CLOSED TREE 2023-03-15 19:21:19 +02:00
Francesco Lodolo (:flod)
962126e608 Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D172643
2023-03-15 17:00:48 +00:00
Eitan Isaacson
9408df1789 Bug 1822170 - Handle any kind of NSRanges provided to AXAttributedStringForRange. r=Jamie
This patch remedies 3 things:
1. Fix conversion from NSRange to GeckoTextMarkerRange. We were adding the start offset twice. Oops.
2. Clamp given range to actual text size. Since we are messing with the offset fields directly we need to do our own checks here.
3. Don't allow an infinite loop in CachedTextMarkerRange::AttributedText

Differential Revision: https://phabricator.services.mozilla.com/D172594
2023-03-15 16:56:58 +00:00
David Shin
f144ecaef2 Bug 1820835: :has relative selector matching, with no caching/filtering. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172019
2023-03-15 16:39:33 +00:00
Cosmin Sabou
fa784abc2a Merge mozilla-central to autoland. 2023-03-15 18:27:51 +02:00
Cosmin Sabou
8ed22fcd56 Merge autoland to mozilla-central. a=merge 2023-03-15 18:25:52 +02:00
Tiaan Louw
29eaf0b759 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 16:25:00 +00:00
Peter Van der Beken
8a2d0af2a0 Bug 1789296 - Intermittent /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/window-open-aboutblank.html. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172249
2023-03-15 16:06:37 +00:00
Cosmin Sabou
8d7a73ea59 Backed out 3 changesets (bug 1765992) for causing WebIDLError linting opt failures. CLOSED TREE
Backed out changeset 3861a5ec6941 (bug 1765992)
Backed out changeset 70ee010fff60 (bug 1765992)
Backed out changeset ae92922b3b3a (bug 1765992)
2023-03-15 18:15:39 +02:00
Cosmin Sabou
a051b65f23 Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages.
Backed out changeset 04b7be54155f (bug 1808184)
Backed out changeset e00332f32a2d (bug 1806618)
2023-03-15 18:12:19 +02:00
Peter Van der Beken
f25346e05b Bug 1765992 - Fix WebIDL Xrays to properly deal with a static and non-static property with the same name. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171705
2023-03-15 15:44:43 +00:00
Peter Van der Beken
c6e80f3ede Bug 1765992 - Support regular and static WebIDL operations with the same identifier on the same interface. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171703
2023-03-15 15:44:42 +00:00
Ms2ger
ee5e91d905 Bug 1765992 - Support regular and static WebIDL operations with the same identifier; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D171216
2023-03-15 15:44:42 +00:00