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

797362 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa b42696efa4 Bug 1772313 - Part 3: Remove duplicate lazy getter vs import in toolkit/components/search/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D148156
2022-06-06 02:49:09 +00:00
Tooru Fujisawa 1251910964 Bug 1772313 - Part 2: Remove duplicate lazy getter vs import in toolkit/components/osfile/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D148155
2022-06-06 02:49:08 +00:00
Tooru Fujisawa c04d365cc6 Bug 1772313 - Part 1: Remove duplicate lazy getter vs import in toolkit/components/glean/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D148154
2022-06-06 02:49:08 +00:00
Mark Hammond d8ad6ecc98 Bug 1755456 - Introduce a new 'Synced tabs' icon. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D147826
2022-06-06 01:07:41 +00:00
Gerald Squelart 4d5e7d05a7 Bug 1771213 - mozilla::baseprofiler::baseprofiler_save_profile_to_file now has prefix "base" to avoid lldb call ambiguity - r=mstange
Calling `profiler_save_profile_to_file` from lldb errored with "call to 'profiler_save_profile_to_file' is ambiguous", even though they're in different namespaces.

Differential Revision: https://phabricator.services.mozilla.com/D148360
2022-06-06 00:43:59 +00:00
Emilio Cobos Álvarez 94ea7b0820 Bug 1772692 - AnimationInfo::EnumerateGenerationOnFrame shouldn't need to create a window renderer. r=hiro
There's no need to lazily create a renderer here. We already avoided
this in content processes, but there's no need to do so in the parent
process either.

This shouldn't change behavior, but might help with bug 1772691, and
generally seems cleaner.

Differential Revision: https://phabricator.services.mozilla.com/D148337
2022-06-05 23:20:45 +00:00
Emilio Cobos Álvarez 9b518ab15c Bug 1772690 - Fix opt builds.
MANUAL PUSH: Trivial build fix CLOSED TREE
2022-06-05 23:42:05 +02:00
Molnar Sandor 54796aec57 Merge mozilla-central to autoland. a=merge 2022-06-06 00:33:39 +03:00
Molnar Sandor 4c3f6e8bf8 Merge autoland to mozilla-central. a=merge 2022-06-06 00:30:00 +03:00
Emilio Cobos Álvarez fb05cda721 Bug 1772690 - Add a debug-only ComputedStyle::DumpMatchedRules(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D148336
2022-06-05 21:21:10 +00:00
Daniel Holbert 551202fc84 Bug 1772228: Use BehavesLikeInitialValueOnBlockAxis to broaden/optimimize a check in IntrinsicForAxis, and answer a TODO comment with an explanation in the code. r=emilio
The TODO comment (removed here) was correct that we could/should be using
BehavesLikeInitialValueOnBlockAxis instead of explicit `auto` / `none` checks
(since any value that behaves like the initial value will have the same
semantics as far as this code is concerned, in terms of not generating a
meaningful transferred constraint).

The explicit `minBSize == 0 check **is still needed** (or at least, it's still
useful), since 0 is trivially uninteresting as a transferred lower-bound, so
it's valid to exclude it from the guarded logic (and 0 is not handled by the
BehavesLikeInitialValueOnBlockAxis() check). In this patch I broaden it to
check IsDefinitelyZero(), though (to include 0%).

Hopefully the new code-comment and lambda make these checks clearer.

Differential Revision: https://phabricator.services.mozilla.com/D148079
2022-06-05 21:20:00 +00:00
Kagami Sascha Rosylight 3d0e3d5413 Bug 1769290 - Part 10: Apply mozilla-js-handle-rooted-typedef against remaining dom directories r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D148283
2022-06-05 20:55:00 +00:00
Kagami Sascha Rosylight d7301d29b5 Bug 1769290 - Part 9: Apply mozilla-js-handle-rooted-typedef against dom/localstorage,locks,media,midi,notification,payments r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D148282
2022-06-05 20:54:59 +00:00
Kagami Sascha Rosylight 6abe98f452 Bug 1769290 - Part 8: Apply mozilla-js-handle-rooted-typedef against dom/canvas,crypto,fetch,gamepad,geolocation,indexedDB,ipc r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D148281
2022-06-05 20:54:59 +00:00
Kagami Sascha Rosylight 1991e6336d Bug 1769290 - Part 7: Apply mozilla-js-handle-rooted-typedef against dom/base r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D148280
2022-06-05 20:54:59 +00:00
Jim Blandy 6c9ae4cd83 Bug 1772004: Update `wgpu` to 32af4f56 (2022-5-31) r=jgilbert
Minor changes are needed to the `mapAsync` implementation due to:
https://github.com/gfx-rs/wgpu/pull/2698

Differential Revision: https://phabricator.services.mozilla.com/D147805
2022-06-05 20:30:13 +00:00
Mozilla Releng Treescript 6fed05d475 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
lt -> 05c204bbc49fb955c0d3792b797f2ecad9d327ae
oc -> a0b758b9b55728122ec485192e8219c4ca3ee96a
pl -> 335767ac76c49cb14cc39a2d68afd408754bf6ad
szl -> cef7e070dac3c109bf4d3d4a927dfff5cc2c30ea
tg -> 5eeba778f6e706282abf50fd1b5036b0b6b5fcad
uk -> 857869a3838ece581c5d9fd80028235826a64518
2022-06-05 19:02:37 +00:00
Updatebot 1271c9aedb Bug 1772598 - Update PDF.js to 19539676813b5df6ca4726a1bfa6765193b1067c r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D148307
2022-06-05 18:44:01 +00:00
serge-sans-paille d1fbd5e212 Bug 1771948 - Cleanup dom/canvas dom/geolocation and some dom/media includes r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D147769
2022-06-05 09:23:00 +00:00
Mozilla Releng Treescript abb2667e7e no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> c49ff3c2cb4f9078636e1b4e2af93165f0c2ad02
tg -> 8a3cef342d495240e55fe58b2452e6081772b21c
uk -> 5c5e91148d2cad6e6d50ceba7cf2a12744ca5938
2022-06-05 06:58:06 +00:00
Agi Sferro 6b7bbabc69 Bug 1772602 - Add missing @Deprecated tag in StorageController. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D148309
2022-06-04 22:12:54 +00:00
criss 87bfe401b1 Merge mozilla-central to autoland on a CLOSED TREE 2022-06-05 00:41:11 +03:00
criss 9dc5ffe426 Merge autoland to mozilla-central. a=merge 2022-06-05 00:38:17 +03:00
Mozilla Releng Treescript 9a2ad5d3f7 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
hye -> 1faa5fcbdacbf9be9fccda604aa5f36ec2a6befe
tg -> bcccafad89fb4d4af368744093a5aa180e43704b
2022-06-04 19:04:14 +00:00
Niklas Baumgardner 45afbe2f12 Bug 1772546 - Telemetry for when subtitles are shown. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D148320
2022-06-04 16:39:16 +00:00
Tim Nguyen d6f65f3847 Bug 1772668 - Move text-align-last reftests to WPT. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D148335
2022-06-04 13:00:53 +00:00
Emilio Cobos Álvarez 8adeaaa67f Bug 1343919 - Fix base URI in KeyframeEffect. r=birtles
This is the only meaningful consumer of
ServoCSSParser::GetParsingEnvironment right now, but seems worth fixing
before other folks add more.

Differential Revision: https://phabricator.services.mozilla.com/D148145
2022-06-04 12:49:12 +00:00
Emilio Cobos Álvarez b24faeba30 Bug 1750102 - Add an input-region-margin to widgets, and implement it on Linux. r=stransky
Recompute the input region when resizing the widget and so on, and use
it to check for rollups.

Depends on D148211

Differential Revision: https://phabricator.services.mozilla.com/D148222
2022-06-04 12:41:06 +00:00
Emilio Cobos Álvarez 41dff2079a Bug 1771950 - Factor out the PiP code to show the native window menu. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D148224
2022-06-04 11:22:26 +00:00
Emilio Cobos Álvarez 996255c650 Bug 1772448 - Add GUniquePtr support for GdkEvent. r=stransky
Depends on D148222

Differential Revision: https://phabricator.services.mozilla.com/D148223
2022-06-04 11:22:25 +00:00
Dão Gottwald ec090aa243 Bug 1772534 - Version bump for old colorways. r=sfoster,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D148264
2022-06-04 10:26:09 +00:00
Andreea Pavel 88f88876d9 Bug 1662035 - disable ProgressDelegateTest#saveAndRestoreState on debug r=calu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D147679
2022-06-04 10:19:49 +00:00
Andreea Pavel d21d2bedc1 Bug 1764219 - disable noGapAppearsBetweenBodyAndElementFullyCoveringBody on debug r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D148091
2022-06-04 10:16:57 +00:00
Butkovits Atila ccae9689d0 Merge mozilla-central to autoland. CLOSED TREE 2022-06-04 12:36:22 +03:00
Butkovits Atila 256f84391c Merge autoland to mozilla-central. a=merge 2022-06-04 12:26:08 +03:00
serge-sans-paille d89bd417e3 Bug 1772616 - Cleanup dom/base/ includes r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D148317
2022-06-04 09:01:21 +00:00
Mozilla Releng Treescript 881f42b6c3 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
bn -> 1d6831581590b338d469c97baf47ed028b46e746
it -> dbca30f74ce53e285af84d48798747dbd639da00
tg -> c5193ad453a0246042191765259bbdd7f5288149
2022-06-04 07:00:47 +00:00
Marian-Vasile Laza b854f79c84 Backed out changeset 9f7039b0b86c (bug 1772546) as requested by the dev. CLOSED TREE 2022-06-04 05:28:58 +03:00
James Teh 6e2fd8c6e0 Bug 1771931 part 4: Clarify some code regarding CachedTableAccessible creation and cleanup. r=morgan
First, move the cached table cleanup code out of LocalAccessible::UnbindFromParent and into Shutdown.
This makes no practical difference - it gets called either way when the document shuts down - but it's a bit clearer what's happening this way.

Second, add an assertion to CachedTableAccessible::GetFrom to ensure it is only ever given a table.
I don't think it would ever be given anything else, but this makes that clearer.

Differential Revision: https://phabricator.services.mozilla.com/D148089
2022-06-04 02:22:47 +00:00
James Teh 9135f9822a Bug 1771931 part 3: Pre-allocate row/col arrays in CachedTableAccessible. r=morgan
Rather than allocating elements one by one, bulk allocate as many as we know for sure we'll need.

Differential Revision: https://phabricator.services.mozilla.com/D148088
2022-06-04 02:22:47 +00:00
James Teh 89f61f81ed Bug 1771931 part 2: Gracefully handle row/colspan 0 for CachedTableAccessible. r=morgan
We're seeing crashes in the wild where we're trying to allocate a very large number of array elements.
This suggests that the column index is underflowing.
The only way I can think of that this could happen is if colspan is 0 on the first cell, in which case we'd do 0 + 0 - 1 and underflow.
That shouldn't be possible - layout shouldn't ever give us a row/colspanof 0 - but perhaps it's happening anyway.
If this happens, we'll now gracefully treat it as a span of 1.
I also added an assertion in case this helps us to track this down properly in future.

Differential Revision: https://phabricator.services.mozilla.com/D148087
2022-06-04 02:22:46 +00:00
James Teh d95ab86a63 Bug 1771931 part 1: Clean up CachedTableAccessibles when a DocAccessibleParent is destroyed. r=morgan
When a DocAccessibleParent is destroyed, we don't call Shutdown on its RemoteAccessibles to avoid pointless cleanup overhead.
Previously, this meant we weren't cleaning up associated CachedTableAccessibles.
We now explicitly clean these up in DocAccessibleParent::Destroy.

Differential Revision: https://phabricator.services.mozilla.com/D148086
2022-06-04 02:22:46 +00:00
James Teh 9d9377be5e Bug 1699339: Fire name/description change event when text in a hidden aria-labelledby/describedby subtree changes. r=eeejay,morgan
We already handled this for visible aria-labelledby/describedby subtrees based on a11y events.
However, when a subtree is hidden (whether via CSS or aria-hidden), it is completely removed from the a11y tree, so we can't use a11y events.
Instead, when a node is added to the DOM, we walk its ancestors looking for an aria-labelledby/describedby target.
We stop if the node or an ancestor has an Accessible, since that means it will be handled elsewhere.
This also limits the number of ancestors we walk for each inserted node, thus decreasing the performance impact of this change.
This doesn't catch all possible mutations in a hidden subtree (e.g. removals or direct text node changes), but this at least fixes a case in Gmail.
Given performance risks, I think it makes sense to address specific cases as they arise.

Differential Revision: https://phabricator.services.mozilla.com/D147559
2022-06-04 02:20:54 +00:00
Niklas Baumgardner 7f54665fd0 Bug 1772546 - Telemetry for when subtitles are shown. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D148320
2022-06-04 01:55:15 +00:00
Dana Keeler 658b880816 Bug 1769669 - require specifying the trusted root in content signature verifier r=jschanck,leplatrem,robwu,barret
Before this patch, the content signature verifier
(nsIContentSignatureVerifier/ContentSignatureVerifier) would identify the root
it trusted based on the value of a preference. This patch changes the
implementation to require a specified hard-coded root to trust as with add-on
signature verification.

Depends on D146644

Differential Revision: https://phabricator.services.mozilla.com/D146645
2022-06-03 23:26:28 +00:00
Dana Keeler 872a9fafe8 Bug 1769669 - move app signature verification to security/manager/ssl/ r=jschanck
Before this patch, the app signature verification code lived in security/apps/.
The majority of the rest of PSM is in security/manager/ssl/ and there's little
reason to have that extra directory for the app signature verification
implementation alone.

Differential Revision: https://phabricator.services.mozilla.com/D146644
2022-06-03 23:26:28 +00:00
Jonathan Kew f117f58e47 Bug 1771609 - patch 3 - Remove nsAutoLineIterator, as it no longer serves any useful purpose since the iterator is owned by the target frame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147579
2022-06-03 22:05:36 +00:00
Jonathan Kew e0a3c0d3b2 Bug 1771609 - patch 2 - Cache the block's nsLineIterator in a property on nsBlockFrame, for better performance on large pages. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147578
2022-06-03 22:05:36 +00:00
Matthew Gaudet 2bc9196088 Bug 1772587 - Add Checklists for implementing new JavaScript Language Features r=arai
Differential Revision: https://phabricator.services.mozilla.com/D148294
2022-06-03 21:59:49 +00:00
Marian-Vasile Laza 4281774997 Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-06-04 00:46:12 +03:00