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

805070 Коммитов

Автор SHA1 Сообщение Дата
Greg Tatum f0fac8dd31 Bug 1784484 - Properly handle reduce motion and prefers contrast in text recognition modal; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154530
2022-08-17 13:13:17 +00:00
Greg Tatum 8573aea610 Bug 1784489 - Remove the feature gate for text recognition; r=nordzilla
Depends on D154532

Differential Revision: https://phabricator.services.mozilla.com/D154835
2022-08-17 13:12:13 +00:00
Greg Tatum 7955da4416 Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-17 13:12:12 +00:00
Paul Adenot 0ebe2e3519 Bug 1780150 - Test that a muted media element with an audio track never has currentTime exceeding its duration. r=alwu
Depends on D152405

Differential Revision: https://phabricator.services.mozilla.com/D152406
2022-08-17 13:05:37 +00:00
Paul Adenot 751290ed0b Bug 1780150 - Cap currentTime to the end time of the last packet when a video with an audio track is muted. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D152405
2022-08-17 13:05:36 +00:00
Kershaw Chang 05889f5437 Bug 1760106 - Disable test_dns_retry.js on socket process, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D154866
2022-08-17 12:55:13 +00:00
Dan Minor 313af2f09a Bug 1784513 - handle decorator member expressions with `.` in them; r=mgaudet
Currently we only support `IdentifierName`, but the grammar allows for multiple
`IdentifierName`s separated by `.`:

`DecoratorMemberExpression[?Yield, ?Await] . IdentifierName`

Differential Revision: https://phabricator.services.mozilla.com/D154814
2022-08-17 12:39:21 +00:00
Cosmin Sabou e3b648be1d Backed out changeset b7a953f0120a (bug 784513) for landing with the wrong bug number. 2022-08-17 15:55:57 +03:00
Dan Minor 235cb1ee96 Bug 784513, handle decorator member expressions with `.` in them; r=mgaudet
Currently we only support `IdentifierName`, but the grammar allows for multiple
`IdentifierName`s separated by `.`:

`DecoratorMemberExpression[?Yield, ?Await] . IdentifierName`

Differential Revision: https://phabricator.services.mozilla.com/D154814
2022-08-17 12:39:21 +00:00
Emilio Cobos Álvarez c34fbf90e8 Bug 1785231 - Cleanup a bit Document.cpp. r=edgar
Remove useless this->, which are not common anywhere else.

No behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D154887
2022-08-17 12:37:05 +00:00
Emilio Cobos Álvarez 0618f92da8 Bug 1785053 - Add comments that I forgot to upload to phabricator. DONTBUILD
MANUAL PUSH: Comment-only change.
2022-08-17 14:18:22 +02:00
Andreas Pehrson aa1236111a Bug 1785030 - Pre-load oleaut32.dll for fake-cdm in GMP. r=media-playback-reviewers,bobowen,padenot
This patch helps with a high rate of crashes on windows x86, where the GMP
process crashes after _exit(0) while trying to delay-load oleaut32.dll.

Differential Revision: https://phabricator.services.mozilla.com/D154787
2022-08-17 11:53:42 +00:00
Jonathan Kew 6a602a4a4b Bug 1740530 - patch 10 - Basic reftests for COLRv1 font rendering. r=gfx-reviewers,lsalzman
The font here is a copy of Ahem with a COLRv1 table added, using various of the
COLRv1 paint and transform tables. This is far from an exhaustive set of tests,
but serves to check that basic rendering functionality is working.

The reference file uses CSS blocks filled with gradients, etc, to simulate the
expected rendering of the colored Ahem glyphs. This is unlikely to be a perfect
match in any but the simplest cases, thanks to antialiasing, pixel-rounding, etc.,
but the results are visually indistinguishable, or virtually so, and the amount
of "fuzz" is far less than the differences would be in the case of the COLRv1
glyphs actually being mis-rendered.

(There's a try run *without* the fuzz annotations at
https://treeherder.mozilla.org/jobs?repo=try&revision=4a2e2f7190661614ecddd223dd7178589d0ec5f2
where the results can be viewed in reftest-analyzer.)

We may eventually want to move this or similar tests into WPT, but I'm expecting
more extensive test coverage to be a co-operative effort with the other vendors
who are also implementing support, so this is intended as an interim step just to
ensure we have the basic functionality tested in-tree.

Depends on D154585

Differential Revision: https://phabricator.services.mozilla.com/D154586
2022-08-17 10:59:36 +00:00
Jonathan Kew 01cc01abe7 Bug 1740530 - patch 9 - Expose COLRv1 support via the CSS @font-face tech() function if the pref is enabled. r=gfx-reviewers,lsalzman
Depends on D154590

Differential Revision: https://phabricator.services.mozilla.com/D154585
2022-08-17 10:59:36 +00:00
Jonathan Kew a838d47d56 Bug 1740530 - patch 8 - Guard against cycles in the paint graph during Paint() and GetBoundingRect(). r=gfx-reviewers,lsalzman
Depends on D152162

Differential Revision: https://phabricator.services.mozilla.com/D154590
2022-08-17 10:59:36 +00:00
Jonathan Kew abffb2d7c0 Bug 1740530 - patch 7 - Route COLRv1 fonts on macOS through our COLR-rendering path; only COLRv0 can use the native Core Text support. r=gfx-reviewers,lsalzman
Depends on D153880

Differential Revision: https://phabricator.services.mozilla.com/D152162
2022-08-17 10:59:35 +00:00
Jonathan Kew 447eae3e97 Bug 1740530 - patch 6 - Update old COLRv0 code to better align with spec naming, and refactor COLRv1 header. r=gfx-reviewers,lsalzman
Depends on D152041

Differential Revision: https://phabricator.services.mozilla.com/D153880
2022-08-17 10:59:35 +00:00
Jonathan Kew b9285f930f Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-17 10:59:35 +00:00
Jonathan Kew 512695038d Bug 1740530 - patch 4 - Use harfbuzz color-palette access functions, instead of rolling our own. r=gfx-reviewers,lsalzman
Depends on D152038

Differential Revision: https://phabricator.services.mozilla.com/D153870
2022-08-17 10:59:34 +00:00
Jonathan Kew 28bbec2519 Bug 1740530 - patch 3 - Replace GetColorGlyphLayers and the layer-rendering code in gfxFont with a zero-copy implementation in COLRFonts. r=gfx-reviewers,lsalzman
Depends on D152037

Differential Revision: https://phabricator.services.mozilla.com/D152038
2022-08-17 10:59:34 +00:00
Jonathan Kew 5961354da8 Bug 1740530 - patch 2 - Simplify COLR-glyph rendering a bit, by calling COLRFonts methods directly from gfxFont instead of via gfxFontEntry wrappers. r=gfx-reviewers,lsalzman
Depends on D152036

Differential Revision: https://phabricator.services.mozilla.com/D152037
2022-08-17 10:59:33 +00:00
Jonathan Kew ffe11bba5a Bug 1740530 - patch 1 - Move COLR font support functions from gfxUtils into their own class. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D152036
2022-08-17 10:59:33 +00:00
Kershaw Chang bccc49d9d2 Bug 1772212 - Check connection limit before dispatch a transaction thourgh Http/2 proxy, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D152941
2022-08-17 10:24:52 +00:00
Emilio Cobos Álvarez 9897cb6fe5 Bug 1781096 - Fix decoding="sync" when the frame is created after the image attribute. r=tnikkel
The fix is the one line in
nsImageLoadingContent::MaybeForceSyncDecoding, but I added new asserts
that should prevent this from regressing in the future.

Differential Revision: https://phabricator.services.mozilla.com/D154815
2022-08-17 10:10:26 +00:00
Jamie Nicol a8f97c1373 Bug 1784051 - Delete SwCompositor's shared depth texture when final surface is destroyed. r=lsalzman
And lazily create it when first surface is created. This prevents us
unnecessarily holding on to that memory when a compositor has no
surfaces, ie when the tab is backgrounded on Android. While each depth
texture may only be a few megabytes, this quickly adds up on Android
where each tab has its own compositor.

Differential Revision: https://phabricator.services.mozilla.com/D154636
2022-08-17 09:58:51 +00:00
Norisz Fay 475f8e3883 Backed out changeset afd888ac5794 (bug 1771311) for causing bc failures on browser_firefoxview_tab.js CLOSED TREE 2022-08-17 13:23:28 +03:00
Kershaw Chang 600d02ef1b Bug 1775006 - Skip tainted origin check for TRRServiceChannel, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D154652
2022-08-17 09:34:42 +00:00
Emilio Cobos Álvarez 81834d4c58 Bug 1785155 - Make optgroup background be reflected on Linux with custom select styling. r=dholbert
This matches Windows' behavior with this pref enabled, though I'd note
that might not be the reporter's expectation, since we only style the
caption, which is a sibling rather than an ancestor of the menu items.

That might need further fixes, anyways seems worth doing this
regardless.

Differential Revision: https://phabricator.services.mozilla.com/D154838
2022-08-17 09:12:21 +00:00
Cosmin Sabou 434e5039a6 Merge mozilla-central to autoland. 2022-08-17 12:11:50 +03:00
Cosmin Sabou db4b1d66c4 Merge autoland to mozilla-central. a=merge 2022-08-17 12:09:05 +03:00
Sarah Clements eb11a13220 Bug 1784068 - Add missing word in sync error string r=sfoster,flod
Differential Revision: https://phabricator.services.mozilla.com/D154252
2022-08-17 09:00:06 +00:00
Eemeli Aro c48445143e Bug 1731351 - Move restoreColumnOrder.label from DTD to FTL. r=fluent-reviewers,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D154517
2022-08-17 08:06:41 +00:00
Geoff Lankow 6cf03f159c Bug 1784254 - Skip page action parts of test when run in Thunderbird. r=willdurand,extension-reviewers
Thunderbird doesn't have page actions, so these parts of the test fail.

Differential Revision: https://phabricator.services.mozilla.com/D154844
2022-08-17 08:00:31 +00:00
Gerald Squelart 42904cee2c Bug 1784812 - Make all JSONWriteFunc-derived classes and their overriden methods final - r=canaltinova
All JSONWriteFuncs are effectively final, this patch enforces that, hopefully
helping the compiler to de-virtualize some calls.

Differential Revision: https://phabricator.services.mozilla.com/D154619
2022-08-17 07:07:54 +00:00
Gerald Squelart 4326b92ea7 Bug 1784812 - Use common JSONWriteFuncs when writing to a string - r=canaltinova,media-playback-reviewers,alwu
Most users of JSONWriter want to fill a string, so instead of having all these
similar implementations, we now have central reusable implementations:
- JSONStringWriteFunc contains a string and writes to it.
- JSONStringRefWriteFunc references a string and writes to it. This is most
  useful when the string already exists somewhere, or needs to be returned from
  a function (so we avoid another conversion when returning).

Differential Revision: https://phabricator.services.mozilla.com/D154618
2022-08-17 07:07:54 +00:00
Gerald Squelart eb90b3b175 Bug 1784812 - JSONWriter may optionally not own its writer - r=canaltinova
mWriter is now a reference, and the ownership is optional through a separate
member variable that could stay null.
User can now choose to keep the JSONWriteFunc on their stack, which saves a
heap allocation, and makes it easier to access the concrete JSONWriteFunc
implementation directly (instead of through WriteFunc()).

Differential Revision: https://phabricator.services.mozilla.com/D154617
2022-08-17 07:07:53 +00:00
Gerald Squelart 24798f281f Bug 1784812 - JSONWriter::WriteFunc() returns a reference - r=canaltinova
mWriter is never null (and lots of calls just dereference it without checking),
so we may as well enforce it:
- The constructor MOZ_RELEASE_ASSERTs that it's not null.
- The accessor WriteFunc() returns a reference instead of a scary raw pointer.

(Note that we can't make mWriter a NotNull<...>, because the next patch will
give the option to keep that owning pointer null.)

Differential Revision: https://phabricator.services.mozilla.com/D154616
2022-08-17 07:07:53 +00:00
Dão Gottwald 0f6a721882 Bug 1771311 - Enable FxView on nightly. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D154665
2022-08-17 07:02:22 +00:00
Mozilla Releng Treescript a8ce393df9 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> bad0514e070f7918aae58380617726523fabbfc4
gn -> 79343546f1890e4adc4355a859f2acfa41119c52
it -> e7695edb8b55f2b9403dc6395915fe00fdc7113e
si -> 3869b66ea4a26fedba18ff2ee206b8127301bc39
2022-08-17 06:57:22 +00:00
Brad Werth 74c5332174 Bug 1777264 Part 6: Add a chrome test of HDR telemetry. r=media-playback-reviewers,alwu
This test will only pass on platform that accurately report the color
depth in their VideoInfo structures. Presently that is only macOS, so the
test has a conditional task that only runs on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D153284
2022-08-17 06:50:52 +00:00
Brad Werth f431a8f9f7 Bug 1777264 Part 5: Define and emit VIDEO_HDR_PLAY_TIME_MS. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D152820
2022-08-17 06:50:52 +00:00
Brad Werth 9af975d943 Bug 1777264 Part 4: Make TelemetryProbesReporter track play time of HDR video. r=media-playback-reviewers,alwu
This doesn't seperately track whether or not the HDR video is visible, as
we do for video generally.

Differential Revision: https://phabricator.services.mozilla.com/D152819
2022-08-17 06:50:52 +00:00
Brad Werth ed3a0d7167 Bug 1777264 Part 3: Make MacIOSurfaceImage report color depth accurately. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D153283
2022-08-17 06:50:51 +00:00
Brad Werth 8d95a0c511 Bug 1777264 Part 2: Update VideoInfo color depth with information from decoded frames. r=media-playback-reviewers,alwu
Some information that VideoInfo needs is not available from the metadata
header. This change makes it so that VideoInfo structure is updated with
color depth information from the VideoData Image as frames come in.

Each Image implementation is responsible for returning the correct
GetColorDepth value. The virtual implementation returns COLOR_8, which
matches the existing default value in VideoData.

Differential Revision: https://phabricator.services.mozilla.com/D153282
2022-08-17 06:50:51 +00:00
Brad Werth e9e82d1721 Bug 1777264 Part 1: Make MediaDecoder aware of changed TrackInfo as it changes. r=alwu
When TrackInfo changes in the MediaFormatReader, this ensures that MediaDecoder
has the same information.

Differential Revision: https://phabricator.services.mozilla.com/D153815
2022-08-17 06:50:50 +00:00
André Bargull e9319e5454 Bug 1768632: Make EnumSet compile for MSVC. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D154338
2022-08-17 06:39:12 +00:00
Csoregi Natalia e07b2cf05a Bug 1773790 - Disable browser_UrlbarInput_setURI.js on OS X 10.15 qr. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154852
2022-08-17 05:55:29 +00:00
James Teh fff810fb26 Bug 1784841: Use unified OffsetAtPoint in platform specific code. r=morgan
Most importantly, this means OffsetAtPoint is now supported for cached RemoteAccessible on Windows.
I also included a drive-by fix to make ATK use the unified CharacterCount method instead of the old unnecessary conditional local/remote paths.

Differential Revision: https://phabricator.services.mozilla.com/D154628
2022-08-17 04:59:12 +00:00
Makoto Kato 32efa4b16e Bug 1783959 - Add --profile argument when using custom profile. r=firefox-build-system-reviewers,glandium
This is regression by bug 1581971.

When using custom profile to run GVE via `./mach run --profile <directory>`,
we add "--profile" argument on `adb`. But, after landing bug 1581971, we
don't pass any profile arguments unfortunately.

So we should add it to use custom profile.

Also, This fixes that `./mach run --enable-fission` is broken. We don't need
`--profile` argument to run GVE with fission.

Differential Revision: https://phabricator.services.mozilla.com/D154772
2022-08-17 03:13:55 +00:00
Cosmin Sabou 1b5339504f Bug 1784520 - Mark browser_accessibility_relation_navigation.js as passing on a11y-checks after being fixed in bug 1688007. r=jdescottes,bomsy DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154598
2022-08-17 02:36:02 +00:00