Commit Graph

834271 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
f60d745bc2 Bug 1822131 - Allow XUL elements to shrink-by-default. r=dholbert
Bug 1821920 and bug 1821871 are instances of an interesting behavior
change from bug 1820534.

The default flex-basis of old XUL was auto instead of max-content,
because of this code:

  https://searchfox.org/mozilla-central/rev/af78418c4b5f2c8721d1a06486cf4cf0b33e1e8d/layout/generic/nsFlexContainerFrame.cpp#1327

So stuff that used to wrap now no longer does, in an horizontal flex
container, since xul.css prevents XUL elements from shrinking.

Per the comment, a few tests relied on this, but I believe it should
generally be safe to shrink the items. This only causes to shrink if
they have an explicit width but no min-width (including min-width:
auto).

Some tests like test_mousescroll.xhtml hit this, because they have
explicit sizes but min-width: auto ends up being 0 effectively, but I
believe we should tweak those tests instead.

Differential Revision: https://phabricator.services.mozilla.com/D172462
2023-03-13 20:43:34 +00:00
Emilio Cobos Álvarez
48a1a76d0e Bug 1821920 - Remove redundant <hbox> in privacy settings. r=Gijs,settings-reviewers
Bug 1822131 will improve the situation here, but meanwhile this fixes the issue
by removing a redundant horizontal box.

Differential Revision: https://phabricator.services.mozilla.com/D172455
2023-03-13 19:13:23 +00:00
Masatoshi Kimura
409be9d4ba Bug 1821796 - Add the handle internally option for internal types even if the type is not pre-listed. r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172322
2023-03-13 19:08:50 +00:00
Butkovits Atila
34681f7f63 Backed out 3 changesets (bug 1822098, bug 1821935, bug 1822018) for causing bustages at gfxContext.h. CLOSED TREE
Backed out changeset 689b845c477e (bug 1822098)
Backed out changeset 826643e43e2c (bug 1822018)
Backed out changeset 5b0011efcb58 (bug 1821935)
2023-03-13 22:32:13 +02:00
Ben Hearsum
439f5b3603 Bug 1814727: adjust beetmover tasks to be downstream of attribution tasks for Windows r=releng-reviewers,gbrown
This is mostly just switching the upstream tasks with pull the Windows installers from. The only wrinkle is that we're not attributing the asan-reporter installers (and we shouldn't IMO), so I had to add support for keying upstream tasks on platform in the beetmover manifests. (If we simply listed all three possible upstreams, we ended up pulling _two_ installers for platforms that are attributed...and I don't even know which one would get published, or if both would.)

Differential Revision: https://phabricator.services.mozilla.com/D170246
2023-03-13 19:04:07 +00:00
Ben Hearsum
abd2a1fcbb Bug 1814727: add tasks for attributing l10n builds r=ahal
The kind is more or less the same as the en-US counterpart in the previous revision.

As with the en-US attribution kind, this also does does _not_ use the `multi_dep` loader to set up the per-locale tasks. Of course, we do need to split by locale, which is now being done quite explicitly by the new `split_by_locale` that looks at the specified locales file, and uses specific platforms specified in the kind. As with the previous revision, please feel free to push back if any of you feel any of this is going in the wrong direction, is worse than multi_dep, etc. etc.

Differential Revision: https://phabricator.services.mozilla.com/D170245
2023-03-13 19:04:06 +00:00
Ben Hearsum
8e86487f21 Bug 1814727: add tasks for attributing en-US builds r=ahal,nalexander
Notably, the actual attribution code we're using is stored in `browser`. This was largely motivated by the fact that the subsequent revision in this stack will also need it, and this seemed like the best way to make it shareable between the two. The only alternative I could come up with was stuffing it into a transforms - but it's really just data - there's no reason it ought to live in such a place. (We do have precedent for this sort of thing with both locale and whats new page information, so I don't think it's breaking huge new ground.) Nick - I'm tagging you mainly on this part, but I welcome any other comments you may have (here or in the rest of the stack for that matter).

The other notable part of this patch is that I've _explicitly_ decided not to use the `multi_dep` loader, nor reimplement any of its magic pulling of properties in a transform. I find that this makes it more clear what's _actually_ going on, and easier to debug when making changes. The dwonside, of course, is that there's some verboseness in the kind - all platforms we need to run this for must be explicitly listed. I'm open to debate on whether or not this is the right trade-off, so feel free to push back if you disagree.

Differential Revision: https://phabricator.services.mozilla.com/D170243
2023-03-13 19:04:06 +00:00
Ben Hearsum
30b7f31ee6 Bug 1814727: Add a transform that knows how to pull in command-context from an external file r=taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D170242
2023-03-13 19:04:06 +00:00
Ben Hearsum
ece5cc8bfc Bug 1814727: allow dlsource OR existing required keys when attributing builds r=releng-reviewers,gbrown
We've decided to use a new attribution field when attributing our vanilla builds. This field is valid as the _only_ field in the attribution data.

Differential Revision: https://phabricator.services.mozilla.com/D171592
2023-03-13 19:04:05 +00:00
Ben Hearsum
feb34d8fd9 Bug 1814727: enhance attribution script args to make it easier to append additional attributions r=releng-reviewers,gbrown
This allows us to easily append attributions, which is helpful when configuring this script in taskgraph. (You can set up some defaults, and then add others for specific jobs.)

As far as I can tell, all current usage of this script uses the environment variables, so it should be safe to remove the current arguments.

Differential Revision: https://phabricator.services.mozilla.com/D170240
2023-03-13 19:04:05 +00:00
Ben Hearsum
89e06a6146 Bug 1814727: Rename partner_attribution.py to a more generic name r=releng-reviewers,gbrown
There's actually nothing partner-specific in this script, and it's about to be used for other types of attribution as well.

Differential Revision: https://phabricator.services.mozilla.com/D170239
2023-03-13 19:04:04 +00:00
Itiel
df7719b48e Bug 1822134 - Fix panel header footer buttons appearance in the protections panel r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172461
2023-03-13 18:40:45 +00:00
Adam Vandolder
cef37d1f81 Bug 1821569 - Align number input sanitization with the spec. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D172198
2023-03-13 18:37:30 +00:00
Adam Vandolder
ff783c3ecb Bug 1818287 - Disabled form-associated custom elements with delegateFocus should receive focus and keyboard events. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171416
2023-03-13 18:36:24 +00:00
Masayuki Nakano
60979a1af3 Bug 1820905 - Make HTMLEditor::SplitNodeWithTransaction return NS_ERROR_EDITOR_UNEXPECTED_DOM_TREE if split nodes have been removed from the DOM tree r=m_kato
If one of them are removed from the DOM tree, it's hard to keep handling it
since we have both split direction paths.  Therefore, let's just return error
but not throw new exception in the case.

Differential Revision: https://phabricator.services.mozilla.com/D172205
2023-03-13 18:31:00 +00:00
Masayuki Nakano
f56e91369e Bug 1820448 - Make RangeUpdater::SelAdjSplitNode handle insertion better r=m_kato
The root cause of this bug is, we tried to compute new offset with offset at
the new node.  However, as explained in the inline comments, it should compute
the offset with the right node offset in the new mode.  Therefore, it needs
to handle it by itself instead of just calling `SelAdjInsertNode`.

Differential Revision: https://phabricator.services.mozilla.com/D171965
2023-03-13 18:30:04 +00:00
Jonathan Kew
b6a94cd33d Bug 1822098 - Inline a bunch of trivial gfxContext accessors and other small methods. r=gfx-reviewers,lsalzman
And sprinkle some extra const around, and remove a few unused bits.

Differential Revision: https://phabricator.services.mozilla.com/D172440
2023-03-13 18:17:06 +00:00
Jonathan Kew
bacaf70932 Bug 1822018 - Remove gfxContext::mTransform, just use mAzureState.transform directly. r=gfx-reviewers,lsalzman
Depends on D172405

Differential Revision: https://phabricator.services.mozilla.com/D172439
2023-03-13 18:17:06 +00:00
Jonathan Kew
f445aa695e Bug 1821935 - Store current state directly in gfxContext, to avoid a separate allocation in the common case where Save/Restore is not used on the context. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172405
2023-03-13 18:17:05 +00:00
brian
4da8175542 Bug 1819340 - MigrationWizardParent should filter out any migrators that are not enabled r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D171812
2023-03-13 18:08:06 +00:00
Kelly Cochrane
2320072da0 Bug 1822089 - [Fx View] Switch recently closed items back from role='link' to role='button' r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172436
2023-03-13 18:06:16 +00:00
Norisz Fay
290830c0e1 Backed out changeset e222dc796ab4 (bug 1820058) for causing failures on test_css-properties-db.js, test_interfaces.html CLOSED TREE 2023-03-13 21:50:45 +02:00
Norisz Fay
e73a577d9b Backed out 6 changesets (bug 1820650) for causing bustages on RefPtr.h
Backed out changeset 4ef516b179bf (bug 1820650)
Backed out changeset 59d2d028031c (bug 1820650)
Backed out changeset cf79d0de211f (bug 1820650)
Backed out changeset d3a683a93cf7 (bug 1820650)
Backed out changeset 751bdba95291 (bug 1820650)
Backed out changeset e0a4ae573d25 (bug 1820650)
2023-03-13 21:18:54 +02:00
Mozilla Releng Treescript
7b78042d3b no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cy -> f608af20f398a517fb01a65efd469211673620d7
es-CL -> 91f5c760e71be9d78b18b7e3b15510bc6057c6ab
fur -> e5b2e32031079917a0ea8b833b5a7b34b6ac0129
hu -> 6807f209dc6ddf98bf20eed314a430a805e04886
lo -> b3aabd668a89df9a854216711f99e79b8f3ea120
skr -> cc61108cee5c42594dbd144a796e02dfe13b872d
2023-03-13 19:07:24 +00:00
Emilio Cobos Álvarez
c988d08afa Bug 1821514 - Fix WPT expectation files.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-03-13 20:00:11 +01:00
Nicolas Chevobbe
00b67e5e84 Bug 1822111 - Use expected artifact file name in devtools-verify-bundle task. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D172447
2023-03-13 17:58:41 +00:00
Daniel Holbert
eba1043255 Bug 1820058: Enable about:config pref for CSS 'content-visibility' on Nightly. r=emilio
Also update a DOM test `test_interfaces.js` to make it aware of newly-exposed
(and Nightly-specific for now) ContentVisibilityAutoStateChangeEvent.

Differential Revision: https://phabricator.services.mozilla.com/D171514
2023-03-13 17:54:25 +00:00
Emilio Cobos Álvarez
bbb3605eb1 Bug 1821514 - Simplify/remove a couple other length operations. r=CanadaHonk
Differential Revision: https://phabricator.services.mozilla.com/D172430
2023-03-13 17:49:58 +00:00
Emilio Cobos Álvarez
bd6c2daf15 Bug 1821514 - Fix a couple minor issues with the previous patch. r=CanadaHonk
Having unused imports and undocumented functions trigger warnings that
don't build in automation.

Differential Revision: https://phabricator.services.mozilla.com/D172429
2023-03-13 17:49:57 +00:00
CanadaHonk
dd00a0c918 Bug 1821514 - Serialize NaN and infinity lengths r=emilio
Lengths using NaN and infinity are now serialized properly with some
improvements to computed values as well.

Also added a few minor new relevant WPT tests.
35 WPT tests newly pass 🎉

Differential Revision: https://phabricator.services.mozilla.com/D172183
2023-03-13 17:49:57 +00:00
Emilio Cobos Álvarez
644bf4d64c Bug 1821763 - Restore center alignment for not-in-content dialog. r=Gijs
So I overlooked in the regressing bug that most of the time
.dialogOverlay is a flexbox (in which case we do want center alignment).

It's only for in-content dialogs where it's a grid (and we want the
unset/stretch behavior).

Since the new rule also applies to window-modal-dialog, remove the
unneeded align="" attribute there.

Differential Revision: https://phabricator.services.mozilla.com/D172328
2023-03-13 17:41:00 +00:00
Narcis Beleuzu
ac28ce7734 Bug 1822077 - Disable browser_about_translations.js on Linux. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D172453
2023-03-13 17:39:15 +00:00
Gijs Kruitbosch
f1911aef9a Bug 1718082 - track current tab using browserId instead of top browsing context id for network prioritization purposes, r=nika,mconley,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D171646
2023-03-13 17:32:08 +00:00
Gijs Kruitbosch
9e0531a790 Bug 1718082 - move hasSiblings from BrowserChild to BC and update as a synced field, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D171645
2023-03-13 17:32:08 +00:00
Gijs Kruitbosch
5fb3c80f03 Bug 1718082 - move RPM initialization into ASRouter as it's only used for newtab, r=mconley
The one-off test here is kind of icky. In bug 1814210 we'll remove all
this completely anyway, but I didn't want to block this work on that -
new tab only ever loads in the privileged about process, and so there's
no need for the overhead of the actor on the vast majority of processes
and browsingcontexts, and this patch gets us there, at least.

Differential Revision: https://phabricator.services.mozilla.com/D171413
2023-03-13 17:32:08 +00:00
Gijs Kruitbosch
f64b33fbe8 Bug 1718082 - move isAppTab from docshell to browsing context, r=nika,rpl
Differential Revision: https://phabricator.services.mozilla.com/D171412
2023-03-13 17:32:07 +00:00
Gijs Kruitbosch
c20f7ae2a1 Bug 1718082 - make updating apptab and usercontext information solely tabbrowser's responsibility, r=mconley
I'm removing the apptab bits completely in one of the later commits,
but trying to keep this modular so it's easy to figure out regressions,
should there be any.

Differential Revision: https://phabricator.services.mozilla.com/D171411
2023-03-13 17:32:07 +00:00
Gijs Kruitbosch
2a7a19dfbf Bug 1718082 - remove expired container/userContextId telemetry, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D171410
2023-03-13 17:32:06 +00:00
Gijs Kruitbosch
65dba4bcc4 Bug 1718082 - move listening to initial paint in a browser content window into the parent process, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D171409
2023-03-13 17:32:06 +00:00
Gijs Kruitbosch
41c07adbc3 Bug 1820549 - try removing fxview icon exception from perf flicker tests r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D172449
2023-03-13 17:19:29 +00:00
Alexandre Lissy
39164fee35 Bug 1816857 - Avoid empty launch promise on Utility launch failure r=nika
Differential Revision: https://phabricator.services.mozilla.com/D171797
2023-03-13 17:17:54 +00:00
alwu
7e2027e9d5 Bug 1820650 - part6 : fix empty key id and print it out in the log. r=jolin
We didn't set the length of `aByteArrayOut` before, which results in an
empty array size, so its content didn't get passed over IPC.

Depends on D171804

Differential Revision: https://phabricator.services.mozilla.com/D172194
2023-03-13 17:15:14 +00:00
alwu
12a7a6469c Bug 1820650 - part5 : fix incorrect assertion. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171804
2023-03-13 17:15:13 +00:00
alwu
86da732941 Bug 1820650 - part4 : set CDMProxy to the media engine. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171803
2023-03-13 17:15:13 +00:00
alwu
07a19fbc9d Bug 1820650 - part3 : print cdm id in the log. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171802
2023-03-13 17:15:12 +00:00
alwu
509b3673db Bug 1820650 - part2 : send CDM proxy id to the MF CDM process. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171801
2023-03-13 17:15:12 +00:00
alwu
41e3fafa80 Bug 1820650 - part1 : add another layer for setting CDM proxy. r=jolin
For media engine playback, we would like to let ExternalStateMachine
being aware of the CDM proxy, so that it can pass the the Id of MFCDM
actor to the remote media engine via MFMediaEngineChild in following
patches.

Differential Revision: https://phabricator.services.mozilla.com/D171800
2023-03-13 17:15:12 +00:00
Butkovits Atila
92468077a2 Backed out changeset 4637d7a67afa (bug 1821042) for causing failures at browser_sanitizeDialog.js. CLOSED TREE 2023-03-13 20:04:16 +02:00
Sebastian Hengst
21ce1c8805 Merge mozilla-central to autoland. CLOSED TREE 2023-03-13 18:29:02 +01:00
Robert Longson
b4c3f44799 Bug 1820752 - Factor out webrender bounds assessment into its own function and avoid bounds checking if there's an active preceding sibling r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171854
2023-03-13 17:02:06 +00:00