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

800970 Коммитов

Автор SHA1 Сообщение Дата
Ziran Sun 65711751b2 Bug 1778296 - make contain-intrinsic-size *animatable*. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151231
2022-07-11 08:37:44 +00:00
Alexandre Poirot b7e9bd218f Bug 1778274 - [devtools] Track performance of the debugger in the browser toolbox r=perftest-reviewers,jdescottes,sparky
Differential Revision: https://phabricator.services.mozilla.com/D151113
2022-07-11 07:16:42 +00:00
Masayuki Nakano 92c1ac04ef Bug 1778091 - Make `HTMLEditor` move invisible `<br>` element into the empty inline element after splitting a paragraph at end r=m_kato
In Yahoo! Mail, the paragraph has `<br>` after `<span>` element which has
`background-color`.  In this case, Gecko creates the following DOM tree after
splitting the paragraph:
```
<div><span>foo</span></div><div><span></span><br></div>
```
Then, the empty `<span>` in the right paragraph will be removed by the
post-processing.  However, in this case, the inline element is required for
preserving the style continued from the previous paragraph.

In this case, we should move the `<br>` element into the `<span>` to make
it non-empty and avoid it to be removed.  This is compatible with Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D151345
2022-07-11 05:36:29 +00:00
Julian Seward 49c073aa71 Bug 1777965 - LUL initialisation: inline `DoInstruction` into its calling loop. r=mstange.
When reading Dwarf unwind info, `CallFrameInfo::State::DoInstruction` is
called once per CFI instruction.  At both call sites, the call is driven by a
simple loop.  Because each call doesn't do much work, the call overhead is
quite high, and there are huge numbers of CFI instructions to be processed.

This patch moves the loop into its own method `DoInstructions`, and adds
annotations in the hope of getting `DoInstruction` inlined into the loop.

On an Intel Core i5 1135G7 at circa 4 GHz, this reduces the Dwarf read time
from 0.27 seconds (after bugs 1754932, 1777540 and 1777949 have landed) to
0.26 seconds.  Not much of a win, but on the other hand, the insn count falls
from 3906 million to 3640 million, which seems like a worthwhile win for what
is a trivial change.

Differential Revision: https://phabricator.services.mozilla.com/D151262
2022-07-11 05:08:31 +00:00
smolnar b28cf9b990 Backed out changeset 457c6c1a18e3 (bug 1763570) for causing layout/forms/test/test_bug644542.html CLOSED TREE 2022-07-11 07:38:24 +03:00
Makoto Kato 9382dde863 Bug 1763570 - Wait for APZ state to set autofill information. r=geckoview-reviewers,owlish
When setting focus to input element, Gecko sets focused element to central via
`zoomToFocusedInput`. So when we receives `focusin` event, content may be
scrolled and zoomed. To pass correct element rectangle, we have to wait until
it is completed.

Fennec added `PanZoom:StateChange` event to listen APZ state. So GV should use
same way.

Differential Revision: https://phabricator.services.mozilla.com/D150453
2022-07-11 02:06:03 +00:00
Thomas Wisniewski 28756b7a84 Bug 1778125 - update the SmartBlock Branch shim to accept a callback as the last argument of the init method regardless of number of arguments; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151412
2022-07-11 01:16:25 +00:00
Hiroyuki Ikezoe 6f368f5d78 Bug 1778257 - Set layout.css.scroll-snap.proximity-threshold to 100 on scroll-snap-initial-layout-000.html. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D151098
2022-07-10 23:38:52 +00:00
Hiroyuki Ikezoe 8037b62525 Bug 1768746 - Resolve scroll-snap-align with the targe element's writing mode if the size is larger than the snapport. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D151096
2022-07-10 23:38:27 +00:00
Barret Rennie b7c0d738d6 Bug 1776477 - Stop using NimbusFeature.isEnabled for tcpPreferences r=timhuang,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150689
2022-07-10 21:57:25 +00:00
Emilio Cobos Álvarez a4adec1fe6 Bug 1778834 - Fix a typo in AccentColor handling. r=dholbert
If we're using the theme accent then we should _not_ use the standin.

Differential Revision: https://phabricator.services.mozilla.com/D151442
2022-07-10 18:09:57 +00:00
Barret Rennie f12a3fda65 Bug 1776475 - Stop using NimbusFeature.isEnabled for abouthomecache r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150688
2022-07-10 15:15:18 +00:00
Csoregi Natalia 1ce190047b Merge autoland to mozilla-central. a=merge 2022-07-10 12:43:11 +03:00
Mozilla Releng Treescript f3a0a425be no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> c4119382468956f426de7ae67db8fd8427c0c68d
it -> 83829ea070d72aa3c7739a853fc02006ee2edfa3
tg -> 7957a73acff72552ce3c9c05b0ffd4f1757bbea7
2022-07-10 06:59:42 +00:00
Cristian Tuns bb3344068f Backed out 3 changesets (bug 1772941) for causing mochitest failures on browser_clientAuth_connection.js CLOSED TREE
Backed out changeset d9e8272834ff (bug 1772941)
Backed out changeset a21807ba8d7d (bug 1772941)
Backed out changeset 768f96a2bb5b (bug 1772941)
2022-07-09 23:29:06 -04:00
criss 04d11728bd Backed out changeset e64335287775 (bug 1772943) for causing mochitest failures on browser_disco_taar_telemetry.js. CLOSED TREE 2022-07-10 05:51:04 +03:00
Barret Rennie 8a72738ef5 Bug 1772943 - Port osfile.jsm usage to IOUtils in toolkit/mozapps/ r=Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D148967
2022-07-10 02:04:13 +00:00
Barret Rennie 05ea948f3c Bug 1776473 - Stop using NimbusFeature.isEnabled for updateDialog r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150687
2022-07-10 02:03:20 +00:00
Barret Rennie 955fddb1b3 Bug 1772941 - Fix 'OS is not defined' lint, again
Differential Revision: https://phabricator.services.mozilla.com/D151440
2022-07-09 22:29:41 +00:00
Barret Rennie c65cdadf5e Bug 1772941 - Fix 'OS is not defined' lint
Differential Revision: https://phabricator.services.mozilla.com/D151439
2022-07-09 21:55:21 +00:00
Barret Rennie 6d900e020b Bug 1772941 - Port osfile.jsm usage to IOUtils in toolkit/content/ r=florian,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149303
2022-07-09 21:21:31 +00:00
Barret Rennie a63e9a4b4a Bug 1776472 - Stop using NimbusFeature.isEnabled for tcpByDefault r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150686
2022-07-09 21:00:16 +00:00
Razvan Cojocaru 37dc531ce7 Bug 1769805 - Implement axis relocking in the sticky axis locking mode. r=botond,dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D150496
2022-07-09 20:42:47 +00:00
Mozilla Releng Treescript 2e0736f175 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
en-CA -> c2d0145acc2e090e68615c43f45dd76e7caacac6
it -> 347695a8fea8f797f4daf587dbda00a3aedd6955
kk -> 67ce1ae22c171cbf5d49627767db35eb49507625
ru -> 877cb9c3370e354dd482cbf02c3569a1a88c38ed
tg -> a9e526f69a676d932ec422414c91a49a89c6cf6e
2022-07-09 19:05:23 +00:00
David Shin d1e16d47d7 Bug 1766041: Part 5: C++ `ComputedTimingFunction` uses Rust's timing function calculation. r=emilio
This was made economical by having Rust's computed `easing::TimingFunction` use
a fully resolved function for `linear(...)` easing, as per draft resolution from
https://github.com/w3c/csswg-drafts/issues/7415

Differential Revision: https://phabricator.services.mozilla.com/D151295
2022-07-09 17:33:59 +00:00
David Shin 5da2d56d12 Bug 1766041: Part 4: Port bezier edge cases handling from C++ to Rust. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D150569
2022-07-09 17:33:58 +00:00
David Shin d360f1fee3 Bug 1766041: Part 3: Migrate C++ `BeforeFlag` to that of Rust's. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D150567
2022-07-09 17:33:58 +00:00
David Shin 5c56dc3a60 Bug 1766041: Part 2: Update rust's step function basd on C++ `ComputedTimingFunction`. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D150566
2022-07-09 17:33:57 +00:00
David Shin 40f1452af5 Bug 1766041: Part 1: Move Rust animation to `ComputedTimingFunction`. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D150565
2022-07-09 17:33:57 +00:00
Jan de Mooij 2ff99f68dc Bug 1778466 part 7 - Don't use a tagged frame pointer for direct JIT => Wasm calls. r=rhunt
The tag bit is now only used for the activation's `exitFP` field.

Similar to part 2, this makes it easier for stack unwinders to unwind through Wasm frames.

Differential Revision: https://phabricator.services.mozilla.com/D151252
2022-07-09 17:33:57 +00:00
Jan de Mooij e431a956e1 Bug 1778466 part 6 - Stop relying on tagged frame pointer for direct JIT => Wasm calls. r=rhunt
If there's no `CodeRange` for a frame's return address, this must be a direct call
from JIT code.

Use `AssertDirectJitCall` in a few more places to help catch issues with this.

Depends on D151250

Differential Revision: https://phabricator.services.mozilla.com/D151251
2022-07-09 17:33:56 +00:00
Jan de Mooij 109423956f Bug 1778466 part 5 - Clean up unwoundJitCallerFP_ code in ProfilingFrameIterator. r=rhunt
The `unwoundJitCallerFP_` is only used when the iterator is `done()` (to transition
to the JS JIT frame iterator after either the `JitEntry` stub or a direct call).

With this patch, we only set `unwoundJitCallerFP_` right before we're done iterating.

Depends on D151249

Differential Revision: https://phabricator.services.mozilla.com/D151250
2022-07-09 17:33:56 +00:00
Jan de Mooij 16729cfbde Bug 1778466 part 4 - Simplify ProfilingFrameIterator::done. r=rhunt
Depends on D151248

Differential Revision: https://phabricator.services.mozilla.com/D151249
2022-07-09 17:33:56 +00:00
Jan de Mooij dab89e6dc8 Bug 1778466 part 3 - Tidy up InterpEntry handling in ProfilingFrameIterator, remove fake ExitReason. r=rhunt
Treat the `InterpEntry` stub more like the `JitEntry` stub in `ProfilingFrameIterator`.
This lets us remove the `FakeInterpEntry` `ExitReason`, which was a bit of a hack because
this is not an exit.

Depends on D151247

Differential Revision: https://phabricator.services.mozilla.com/D151248
2022-07-09 17:33:55 +00:00
Jan de Mooij 0ec1a44608 Bug 1778466 part 2 - Don't clobber FP with nullptr in GenerateInterpEntry. r=rhunt
This will let native stack unwinders (such as 'perf' or crash-stats tooling) unwind
from Wasm to C++ frames.

Depends on D151246

Differential Revision: https://phabricator.services.mozilla.com/D151247
2022-07-09 17:33:55 +00:00
Jan de Mooij c1b9b97857 Bug 1778466 part 1 - Use CodeRange kind to check for InterpEntry stub instead of null frame pointer. r=rhunt
This will let us preserve the caller's frame pointer in later patches. It's also more
consistent with what we do for the JitEntry stub.

Differential Revision: https://phabricator.services.mozilla.com/D151246
2022-07-09 17:33:55 +00:00
Cristian Tuns f229c914a8 Backed out changeset 7634923f2b50 (bug 1772941) for causing mochitest failures in test_osfile_comms.xhtml CLOSED TREE 2022-07-09 13:06:57 -04:00
Calixte d0845cb8cf Bug 1778827 - Update pdf.js to version 2.15.244 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D151433
2022-07-09 16:26:30 +00:00
Barret Rennie bef7b11ec0 Bug 1776471 - Stop using NimbusFeature.isEnabled for aboutwelcome r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D150685
2022-07-09 16:19:46 +00:00
Barret Rennie 2128ff3c36 Bug 1772941 - Port osfile.jsm usage to IOUtils in toolkit/content/ r=florian,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149303
2022-07-09 16:17:29 +00:00
Butkovits Atila 2f40a88cf8 Merge autoland to mozilla-central. a=merge 2022-07-09 12:34:00 +03:00
Mozilla Releng Treescript b917ced89f no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
en-CA -> a3133c9d82c968246f5e48fed980566814e8e112
en-GB -> ccf29f43c194d7e7198f74461394ec60d2a38d64
es-AR -> 74f9327521944e7b096077123c79b6d05e2f0688
pt-BR -> d56805ee837f3f2f789099ad309334c58c5ddd89
pt-PT -> 4df83bcca8e3b12b68c87f9a72eaca1b5152ed89
tg -> d6bd808b3454ed673d06fa380ee421b123db9d6c
uk -> 7c490e1a5e91e931c8c50df2eccc2e93e6cc8dfd
zh-CN -> 0f016a0b1b70eabe355359b68e39f6a10555ad2f
2022-07-09 06:57:58 +00:00
Barret Rennie 5125d899f8 Bug 1778422 - Fix secondary buttons in ExtensionDoorhanger.schema.json r=emcminn
Additionally, the secondary property is actually an array of objects, not an object.

Differential Revision: https://phabricator.services.mozilla.com/D151194
2022-07-09 01:17:05 +00:00
Barret Rennie 3bc9c917f8 Bug 1778592 - Fix template uniqueness check in make-schemas.py r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D151338
2022-07-09 01:17:05 +00:00
Barret Rennie 2ee2ba082a Bug 1778368 - Add Python jsonschema tests for FxMS schema r=dmose
To ensure that we don't ship a schema that breaks Experimenter, we now have
in-tree tests that validate FxMS messages against our schema using the same
JSON Schema evaluator (python-jsonchema).

Our test corpus is the same as test_PanelTestProvider.js. We cannot have
PanelTestProvider.jsm fetch the messages from the JSON due to fetch() not being
supported in the newtab npm tests.

Differential Revision: https://phabricator.services.mozilla.com/D151169
2022-07-09 01:17:05 +00:00
sotaro 7138ddfa6d Bug 1778622 - Disable video overlay by IDXGISwapChain3::SetColorSpace1() error. r=gfx-reviewers,lsalzman
Current implementation quits video overlay rendering on the error. If the error continues, the video overlay is not rendered correctly. Then it seems better to disable video overlay on the error.

Differential Revision: https://phabricator.services.mozilla.com/D151350
2022-07-08 23:25:02 +00:00
Noemi Erli b0843f1601 Backed out changeset 6bb855e0583c (bug 1769805) for causing failures related to APZCPinchTester CLOSED TREE 2022-07-09 02:53:32 +03:00
Narcis Beleuzu c2c3a069ca Backed out changeset 1e4c845297d7 (bug 1778052) for multiple linux failures. CLOSED TREE 2022-07-09 02:28:05 +03:00
Jason Prickett a3f86f284f Bug 1776744 - Add special message action for setting prefs r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D150509
2022-07-08 22:47:34 +00:00
Razvan Cojocaru d34124045b Bug 1769805 - Implement axis relocking in the sticky axis locking mode. r=botond,dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D150496
2022-07-08 22:27:53 +00:00