Commit Graph

834098 Commits

Author SHA1 Message Date
alwu
cc93988702 Bug 1820650 - part4 : set CDMProxy to the media engine. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171803
2023-03-13 21:17:01 +00:00
alwu
b66946d324 Bug 1820650 - part3 : print cdm id in the log. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171802
2023-03-13 21:17:00 +00:00
alwu
dd41c04b56 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 21:17:00 +00:00
alwu
457bb1e28c 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 21:16:59 +00:00
Botond Ballo
1cd16f816d Bug 1821838 - Protect access to mState in AsyncPanZoomController::OnPanEnd() with mRecursiveMutex. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D172468
2023-03-13 21:16:44 +00:00
Mike Hommey
2cb3bbb9ce 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-13 21:14:47 +00:00
Mike Hommey
f5844f16c5 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-13 21:14:47 +00:00
Sean Feng
cf10318f04 Bug 1821682 - Enable ORB for Early Beta r=farre,smaug
We need more webcompat reports, so let's try to enable this in early
beta to get more exposure.

Differential Revision: https://phabricator.services.mozilla.com/D172267
2023-03-13 21:14:45 +00:00
Mike Conley
d74d2de3fc Bug 1822094 - Add a shared class for deemphasized text in the new Migration Wizard. r=kpatenio,desktop-theme-reviewers,dao
Notably, this also updates the em ratio of the "base" font size and the deemphasized font-size.

In the Figma specification, the base font size is 13px, and the deemphasized font-size is 10px,
which is ~84% of 13px.

Differential Revision: https://phabricator.services.mozilla.com/D172443
2023-03-13 21:04:59 +00:00
Otto Länd
f63433d7a5 Bug 1799258: apply code formatting via Lando
# ignore-this-changeset
2023-03-13 21:10:21 +00:00
Kelsey Gilbert
0853ff86a4 Bug 1799258 - Fix Span const template param propagation issue on base toolchain builds. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D171924
2023-03-13 21:04:13 +00:00
Kelsey Gilbert
4b467818c8 Bug 1799258 - Fix constexpr issue on base toolchain builds. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D171623
2023-03-13 21:04:13 +00:00
Kelsey Gilbert
4c46d5baa1 Bug 1799258 - Expect no record of accesses for gfx.color_management.display_profile for now. r=florian,jrmuizel
StaticPrefs don't increment ACCESS_COUNTS, so switching from GetPref to
StaticPrefs, while a perf and best-practice win, causes this test to
fail because the test sees no accesses recorded for this pref.
See bug 1818130 for details.

Differential Revision: https://phabricator.services.mozilla.com/D170554
2023-03-13 21:04:12 +00:00
Kelsey Gilbert
754f4a89af Bug 1799258 - Share all-of-dcomp.h preamble, and deal with outdated mingw dcomp.h. r=gfx-reviewers,sotaro
Mingw's dcomp.h is not the official one, but rather a by-hand
reproduction. While this newly-updated version has e.g.
IDCompositionFilterEffect, it is still missing e.g.
IDCompositionColorMatrixEffect.

Differential Revision: https://phabricator.services.mozilla.com/D168839
2023-03-13 21:04:12 +00:00
Kelsey Gilbert
c1b083b181 Bug 1799258 - Ask dcomp.h to define IDCompositionFilterEffect. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D168325
2023-03-13 21:04:12 +00:00
Kelsey Gilbert
19eabfaf4b Bug 1799258 - span_iterator::difference_type s/index_type/ptrdiff/. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D167473
2023-03-13 21:04:11 +00:00
Kelsey Gilbert
06c8141322 Bug 1799258 - Support outByIn.size()<2 in SampleOutByIn. r=bradwerth
This makes it easier to apply transform functions, even when they are
not defined/present.

Differential Revision: https://phabricator.services.mozilla.com/D167472
2023-03-13 21:04:11 +00:00
Kelsey Gilbert
b18204020a Bug 1799258 - No-op equal tfs rather than inverting. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D167471
2023-03-13 21:04:10 +00:00
Kelsey Gilbert
2a633b2502 Bug 1799258 - Do color-management on Windows+DComp via IDCompositionFilterEffects. r=sotaro
+ Add gfx.color_management.rec709_gamma_as_srgb:true. :'(

In particular, rec709(16/255) -> srgb(31/255). Even though it's
technically correct, it's practically-speaking incorrect, since that's
not what Chrome does, nor what the web expected for years and years.

In practice, basically everyone expects gamma to just be completely
ignored.

What people expect:
* Pretend gamut is srgb(==rec709), but stretch this naively for the
  display. If you have a display-p3-gamut display, srgb:0.5 expects to
  be displayed as display:0.5, which will be display-p3:0.5 to the eyes.
* Pretend all content gammas (TFs) are srgb(!=rec790), and then bitcast this
  naively for the display. E.g. rec709(16/255) should
  display the same as srgb(16/255), not srgb(31/255). (Note: display-p3
  uses srgb gamma) But if your display has e.g. gamma=3.0, don't
  convert or compensate.

This is a formalization of what you get when you spend decades ignoring
color management, and people build things based on behavior-in-practice,
not behavior-in-theory.

Also:
+ gfx.color_management.native_srgb:true for Windows, so we don't use the
  display color profile, which no one else does.
+ Add rec2020_gamma_as_rec709, so we have a path towards maybe having
  rec2020 use its correct transfer function, rather than srgb (like
  rec709).

Differential Revision: https://phabricator.services.mozilla.com/D161857
2023-03-13 21:04:10 +00:00
Kelsey Gilbert
000ff9b4e5 Bug 1799258 - Add prereq Colorspaces stuff, including generic gamma->linear LUT inversion approximation. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D163664
2023-03-13 21:04:10 +00:00
Kelsey Gilbert
3bd71468e2 Bug 1799258 - [qcms] Add query for profile data and lut tables. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D163663
2023-03-13 21:04:09 +00:00
mcheang
5cf668fe9b Bug 1771820 - Add high level diagram and documentation on SearchService.r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D171776
2023-03-13 21:01:15 +00:00
Emilio Cobos Álvarez
90cb3b1024 Bug 1821737 - Prevent date picker outlines from being cropped. r=kcochrane
Add some padding to the date picker so outlines around its elements
don't get cropped.

Differential Revision: https://phabricator.services.mozilla.com/D172295
2023-03-13 20:58:03 +00:00
Joel Maher
c2110307de Bug 1821144 - remove old windows worker definitions. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D172069
2023-03-13 20:57:13 +00:00
Ben Hearsum
17754b77e7 Bug 1822174: set worker implementation in push langpack transform to avoid tripping logic that adds extra tags, and breaks CoT verification r=releng-reviewers,ahal
This function (https://searchfox.org/mozilla-central/rev/af78418c4b5f2c8721d1a06486cf4cf0b33e1e8d/taskcluster/gecko_taskgraph/transforms/job/__init__.py#133) ends up setting the `worker-implementation` tag. This ends up giving us two worker implementation types in scriptworker (b895fdd92b/src/scriptworker/cot/verify.py (L331)), which ultimately causes us to hit this exception (b895fdd92b/src/scriptworker/cot/verify.py (L375))

(It seems to me that `set_implementation` setting this tag will always cause this issue, so perhaps we need to remove that part of its code. At the very least, we should re-examine this...we support setting implementation and os in multiple places....which is very confusing.)

Differential Revision: https://phabricator.services.mozilla.com/D172477
2023-03-13 20:39:03 +00:00
Alex Hochheiden
d9b51d372e Bug 1818502 - Install webtransport requirements for WPT when run through mozharness r=ahal
All relevant dependencies should now be available on our internal PyPi mirror: https://pypi.pub.build.mozilla.org/pub/

See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1820065
https://bugzilla.mozilla.org/show_bug.cgi?id=1820032
https://bugzilla.mozilla.org/show_bug.cgi?id=1820488

Differential Revision: https://phabricator.services.mozilla.com/D171921
2023-03-13 20:34:36 +00:00
Alexander Surkov
528bbef9b4 Bug 1821732 - implement auto popover list, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172296
2023-03-13 20:18:46 +00:00
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