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

795327 Коммитов

Автор SHA1 Сообщение Дата
Amy Churchwell 6ca5193752 Bug 1768470 - If user has colorway theme enabled, the enabled colorway should be highlighted. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D145999
2022-05-16 16:39:29 +00:00
Csoregi Natalia 5c7be58743 Backed out 5 changesets (bug 1726388) for wrench failures on reftest.rs. CLOSED TREE
Backed out changeset aadd7a2b9e43 (bug 1726388)
Backed out changeset 0b40f0a0fd75 (bug 1726388)
Backed out changeset db71d8cb9f63 (bug 1726388)
Backed out changeset 23f46cf380e8 (bug 1726388)
Backed out changeset 1d42c0e759ba (bug 1726388)
2022-05-16 19:24:19 +03:00
Rob Lemley ac33bf8bc8 Bug 1766928 - Configure Taskgraph to support comm-esr102. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D145907
2022-05-16 16:13:57 +00:00
Gabriel Bustamante b094ef5722 Bug 1766928 - Configure Taskgraph to support esr102 r=releng-reviewers,jcristau,gbrown,aki
Differential Revision: https://phabricator.services.mozilla.com/D145900
2022-05-16 16:13:57 +00:00
Nicolas Silva 460fa55baf Bug 1726388 - Add a test. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D146206
2022-05-16 15:46:56 +00:00
Nicolas Silva a18ab167e1 Bug 1726388 - Adjust reftest expectations. r=gfx-reviewers,jrmuizel
This patch series gave picture primitives the full anti-aliasing instead of just the inward half, some reftest references have to be changed accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D146199
2022-05-16 15:46:56 +00:00
Nicolas Silva 0d9a1b1124 Bug 1726388 - Disable AA between parts of a decomposed linear gradient. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D145937
2022-05-16 15:46:55 +00:00
Nicolas Silva 2616b9dbc2 Bug 1726388 - Allow primitive to mask out the antialiasing of their edges. r=gfx-reviewers,lsalzman
This patch adds a edge aa mask field in the common primitive data so that primitives can turn off anti-aliasing at their edges. There was some padding in the structure so it didn't change the size.
This will be use by a followup patch to turn off anti-aliasing between pieces of linear gradients when they are decomposed into simpler primitives.

Differential Revision: https://phabricator.services.mozilla.com/D145936
2022-05-16 15:46:55 +00:00
Nicolas Silva 31d43515ad Bug 1726388 - Make it possible to not anti-alias at the bounds of the primitive. r=gfx-reviewers,lsalzman
The Antialiasing code sets up the bounds of a rect to anti-alias in the vertex shader for the fragment shader to compute the AA via a distance approximation.
The modified mix call selects between the edges of the current instance (could be a primitive segment) and the edges of the primitive based on the anti-aliasing edge flags. If an edge does not have the AA flag, then the aa will be computed based on the distance to the primitive's edge. This usually works because we tend to want AA around the primitive but not along the internal edges of potential segments of a primitive. However it also means that if we take the anti-aliasing code path (for example under a non-axis-aligned transform) then the edges of the primitive are always anti-aliased. In some cases we want to disable the anti-aliasing along the primtive, though, for example when something is split into multiple primitive like the linear gradient optimization.

This patch changes this mix call so that it selects between the segment bounds and some very large rect. If the primitive is not segmented, then the segment bounds are the bounds of the primitive. The effect is that AA is only applied to edges that have the flag set rather than segment edges with the flag set as well as any edge at the border of the primitive.

Differential Revision: https://phabricator.services.mozilla.com/D145935
2022-05-16 15:46:55 +00:00
Shane Hughes 0fed91f39d Bug 1769481 - Fix PanelMultiView console warnings. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146393
2022-05-16 15:23:30 +00:00
Neil Deakin 2d6e577801 Bug 1757771, always launch the save dialog when pressing the PDF Viewer download button, and remove test code that expected the unknown type dialog to appear, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D145814
2022-05-16 14:34:14 +00:00
sotaro 6854364ef6 Bug 1769439 - Call CanvasRenderer::SetDirty() when mNotLost->mCanvasRenderer is re-used r=gfx-reviewers,lsalzman
CanvasRenderer::SetDirty() needs to be called when mNotLost->mCanvasRenderer is re-used.

Differential Revision: https://phabricator.services.mozilla.com/D146406
2022-05-16 14:30:09 +00:00
Alexandre Lissy 1ff32c9219 Bug 1769503 - Correctly disable fission for Android tests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D146436
2022-05-16 14:22:24 +00:00
James Teow 499c69db21 Bug 1767434 - Make updateDetailsPane always retrieve treeIndex r=mak
The problem with my previous solution for bug 1471546 was that bookmarkIndex is
not updated when a user sorts the list of bookmarks. So my solution is to always
use the treeIndex since its more reliable.

I've also added two tests: the first checks if the row the visible after clicking
a bookmark that's close to the bottom of the viewable area, and the second does the
same after re-sorting the list.

Differential Revision: https://phabricator.services.mozilla.com/D145509
2022-05-16 14:21:59 +00:00
Paul Adenot 305eaa9ed0 Bug 1769055 - Add a try preset for Media. r=ahal,media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D146192
2022-05-16 14:07:18 +00:00
Andrew McCreight 6ec8054b0b Bug 1769380 - Remove the unused nsSOCKSSocketProvider::CreateV4 and CreateV5. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D146378
2022-05-16 14:03:33 +00:00
Andrew McCreight d449570829 Bug 1769438 - Disable browser_userContextId_openWindow.js because it always fails. r=dom-worker-reviewers,jesup DONTBUILD
This test always fails, and it should be always disabled, but for some reason
it is run in verify mode, on most (but not all) platforms.

Differential Revision: https://phabricator.services.mozilla.com/D146385
2022-05-16 14:03:05 +00:00
Randell Jesup 00859f1620 Bug 1762959 - xpcom/io thread-safety annotations r=nika
Differential Revision: https://phabricator.services.mozilla.com/D142066
2022-05-16 13:54:05 +00:00
Bogdan Szekely 8049dd3830 Backed out 5 changesets (bug 1726388) for causing wrench bustages on linear-transformed.yaml CLOSED TREE
Backed out changeset 053f952f253b (bug 1726388)
Backed out changeset e00338ba954b (bug 1726388)
Backed out changeset ad98b0908fcc (bug 1726388)
Backed out changeset a4db203ad05b (bug 1726388)
Backed out changeset 622db270fc75 (bug 1726388)
2022-05-16 17:14:31 +03:00
ffxbld 9a53228116 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D146422
2022-05-16 13:40:00 +00:00
Csoregi Natalia e567185fa4 Backed out changeset a04e5744fe2e (bug 1758540) for causing bug 1769510. a=backout 2022-05-16 16:31:16 +03:00
Jan de Mooij 2a0da62d4d Bug 1769239 - Upload js.wasm binary for SM(wasi) tasks. r=sfink
Also add --disable-debug-symbols to shrink this from 140+ MB to about 8.5 MB.

Differential Revision: https://phabricator.services.mozilla.com/D146296
2022-05-16 13:25:29 +00:00
Nicolas Silva 53f2f7607e Bug 1726388 - Add a test. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D146206
2022-05-16 13:01:15 +00:00
Nicolas Silva 1f1675db25 Bug 1726388 - Adjust reftest expectations. r=gfx-reviewers,jrmuizel
This patch series gave picture primitives the full anti-aliasing instead of just the inward half, some reftest references have to be changed accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D146199
2022-05-16 13:01:15 +00:00
Nicolas Silva 82a2692cb1 Bug 1726388 - Disable AA between parts of a decomposed linear gradient. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D145937
2022-05-16 13:01:14 +00:00
Nicolas Silva bb5e48eb64 Bug 1726388 - Allow primitive to mask out the antialiasing of their edges. r=gfx-reviewers,lsalzman
This patch adds a edge aa mask field in the common primitive data so that primitives can turn off anti-aliasing at their edges. There was some padding in the structure so it didn't change the size.
This will be use by a followup patch to turn off anti-aliasing between pieces of linear gradients when they are decomposed into simpler primitives.

Differential Revision: https://phabricator.services.mozilla.com/D145936
2022-05-16 13:01:14 +00:00
Nicolas Silva 1e4502ff84 Bug 1726388 - Make it possible to not anti-alias at the bounds of the primitive. r=gfx-reviewers,lsalzman
The Antialiasing code sets up the bounds of a rect to anti-alias in the vertex shader for the fragment shader to compute the AA via a distance approximation.
The modified mix call selects between the edges of the current instance (could be a primitive segment) and the edges of the primitive based on the anti-aliasing edge flags. If an edge does not have the AA flag, then the aa will be computed based on the distance to the primitive's edge. This usually works because we tend to want AA around the primitive but not along the internal edges of potential segments of a primitive. However it also means that if we take the anti-aliasing code path (for example under a non-axis-aligned transform) then the edges of the primitive are always anti-aliased. In some cases we want to disable the anti-aliasing along the primtive, though, for example when something is split into multiple primitive like the linear gradient optimization.

This patch changes this mix call so that it selects between the segment bounds and some very large rect. If the primitive is not segmented, then the segment bounds are the bounds of the primitive. The effect is that AA is only applied to edges that have the flag set rather than segment edges with the flag set as well as any edge at the border of the primitive.

Differential Revision: https://phabricator.services.mozilla.com/D145935
2022-05-16 13:01:14 +00:00
Emilio Cobos Álvarez ad33f3ccef Bug 1769512 - Add some convenience operators to BaseMargin. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D146430
2022-05-16 12:51:25 +00:00
Jonathan Watt 7ea23646b7 Bug 1769508 - Remove the special case code for frameset shrink-to-fit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146417
2022-05-16 12:27:49 +00:00
Norisz Fay d1d3e6a42f Backed out changeset 6807a13afdd9 (bug 1718228) for causing browser-chrome failures on browser_fido_appid_extension.js CLOSED TREE 2022-05-16 15:35:20 +03:00
Jonathan Watt 6e5bce1349 Bug 1769388 - Change nsIPrintSettingsService's 'newPrintSettings' attribute to a 'createNewPrintSettings' function. r=bobowen,webdriver-reviewers,whimboo
Having an attribute be a constructor is just...wrong.

Differential Revision: https://phabricator.services.mozilla.com/D146383
2022-05-16 11:50:34 +00:00
Sebastian Hengst 6eb3ce5835 Bug 1769477 - set delay-load-event-2.html as intermittent on more debug platforms
Test got added in bug 1765219 yesterday.

Differential Revision: https://phabricator.services.mozilla.com/D146425
2022-05-16 11:31:30 +00:00
R. Martinho Fernandes 65ffa22fce Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-05-16 11:23:38 +00:00
Alexandre Lissy 6330ec5e08 Bug 1767582 - Enable Utility AudioDecoder on Nightly r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D145584
2022-05-16 11:07:26 +00:00
Bogdan Szekely b7752f4699 Merge mozilla-central to autoland. CLOSED TREE 2022-05-16 12:55:00 +03:00
Bogdan Szekely a3ee6a0ee9 Merge autoland to mozilla-central. a=merge 2022-05-16 12:36:02 +03:00
Daisuke Akatsuka b5b6e4360f Bug 1457149: Make Ctrl+Backspace behavior on text editor in Windows during text selection the same as other OS. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D146392
2022-05-16 09:30:29 +00:00
Jonathan Watt 247babb515 Bug 1432651 p2 - Remove nsIPrintSession and all the code that uses it. r=emilio,geckoview-reviewers,m_kato
Lately nsIPrintSession was only used to pass around RemotePrintJobChild objects.
Now that we pass those objects explicitly where needed (part 1), this class
serves no purpose.

Another reason to want to get rid of this class is that having it as a member
of nsIPrintSettings made no sense and was confusing.

Differential Revision: https://phabricator.services.mozilla.com/D146381
2022-05-16 08:38:02 +00:00
Jonathan Watt 41b151c8c4 Bug 1432651 p1 - Pass RemotePrintJobChild through to the places where it's needed. r=emilio
Given how nsIPrintSettings is passed around, stored and copied all over the
place, it's very hard to reason about where and when a RemotePrintJobChild is
needed or valid. This patch avoids all that by explicitly passing a
RemotePrintJobChild when it's needed.

Another reason to make this change is because RemotePrintJobChild really does
not belong on nsIPrintSettings. That interface is supposed to represent a
collection of settings for laying out the document that is to be printed.

Differential Revision: https://phabricator.services.mozilla.com/D146380
2022-05-16 08:38:01 +00:00
Maciej S. Szmigiero 41cb3fd7d8 Bug 1063572 - Geoclue2 geolocation provider. r=emilio
Add a Geoclue (version 2) geolocation provider.

This way Firefox can make use of multiple location sources present in the
system, from GNSS provided by a cellular modem or the current network to
location based on visible WiFi networks and 3G tower data, all while
sharing them with other applications.

This is a pure D-Bus-based implementation using a proper state machine, it
does not require any additional dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D145838
2022-05-16 08:24:09 +00:00
Mozilla Releng Treescript 0b911c0962 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
gn -> 396f839c4f032872406243ac738514e636dacc1b
nl -> f2f8e961d490f722fd15e02570248377f0e10761
rm -> 5278e27cbf779eb58bbef753072340f91f0a6a18
tg -> 9e8ac3d973ae6fcde6cae391822f1b576a9a6b92
2022-05-16 06:58:02 +00:00
Randell Jesup d3b15de2f1 Bug 1762920: remove whitelist from xpcom/crashreporter r=nika,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D142843
2022-05-16 01:37:39 +00:00
Glenn Watson cd0f97bcd5 Bug 1768989 - Handle implicit backdrop filter roots in WR r=gfx-reviewers,lsalzman
This is required to be done in WR rather than Gecko since a backdrop
filter may exist in a child iframe display list but sample from a
backdrop root in a parent iframe (if the iframe has transparency
enabled). In this case the parent display list has no knowledge
that a backdrop filter primitive is present.

Differential Revision: https://phabricator.services.mozilla.com/D146149
2022-05-16 01:04:08 +00:00
Bryce Seager van Dyk c5aeea7b59 Bug 1758422 - Update Widevine fallback downloader URLs for 4.10.2449.0. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D146132
2022-05-15 23:01:55 +00:00
Glenn Watson 63d7dcbcd1 Bug 1768986 - Remove nsDisplayBackdropRoot r=gfx-reviewers,lsalzman
It's not possible to implement backdrop-filter with gecko adding
explicit boundaries for backdrop roots, since backdrop filters
can sample from a backdrop in a parent iframe. In this case, the
parent display list (in one process) doesn't see a backdrop filter,
so no root display item is added, even if there is a child display
list (in another process) that has a backdrop-filter.

This patch just removes the existing backdrop-filter root display
items from Gecko. A follow up patch will add implicit backdrop
root handling inside WR itself, where we have access to all of the
display lists.

Differential Revision: https://phabricator.services.mozilla.com/D146148
2022-05-15 22:42:22 +00:00
Glenn Watson cebe610723 Bug 1768983 - Add prim flag for checkerboarding backgrounds r=gfx-reviewers,lsalzman
Although not needed right now (checkerboarding backgrounds get
a slice anyway due to being a different scroll root), this will
be important for the upcoming work to make backdrop filter
roots implicit. This allows WR to know when slicing up a content
slice if the prim is relevant to the backdrop root.

Differential Revision: https://phabricator.services.mozilla.com/D146145
2022-05-15 21:54:25 +00:00
Florian Quèze 5a63863b53 Bug 1769255 - record the battery percentrage for each active tick, r=chutten,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D146319
2022-05-15 21:52:03 +00:00
James Graham 6c116fd30b Bug 1768309 - Fix js metadata, a=testonly CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D146387
2022-05-15 21:48:45 +00:00
Cristian Tuns 8458983636 Merge mozilla-central to autoland on a CLOSED TREE 2022-05-15 17:49:22 -04:00
Cristian Tuns da6a85e615 Merge autoland to mozilla-central. a=merge 2022-05-15 17:44:34 -04:00