Commit Graph

792652 Commits

Author SHA1 Message Date
Shane Hughes
8af8f3feeb Bug 1756927 - Fix cert viewer long hex item subpixel scaling. r=sgalich
The expandable overflow fields in the cert viewer have 0px border and 1px
padding by default, and 1px border and 0px padding on hover. Since subpixel
borders are calculated differently from subpixel padding, this causes different
results when window scaling factor is not an integer multiple of 1.

For 1.5x scaling, an input 1px padding can yield either 2px or 1px output
depending on results of scaling algorithm, but an input 1px border will only
yield a 1px output, in order to keep the border crisp and symmetric on every
edge of the bounding box. So when we hover the long hex field, it may lose 1-2
pixels of height as ~1.5px worth of padding (between 1px and 2px) is replaced
with exactly 1px of border.

Patch will fix this by just replacing the 1px padding with a 1px transparent
border. That way the field's height is a function of the same scaling scheme in
all states, so won't change on hover.

Differential Revision: https://phabricator.services.mozilla.com/D139563
2022-04-22 17:57:09 +00:00
Bob Owen
1254b324f7 Bug 1766033: Change win32k lockdown default to @IS_EARLY_BETA_OR_EARLIER@ to allow for staged rollout. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D144456
2022-04-22 17:56:50 +00:00
Molnar Sandor
86256102b3 Backed out 3 changesets (bug 1765816, bug 1755704) for causing bp hybrid bustages. CLOSED TREE
Backed out changeset 505897037daf (bug 1765816)
Backed out changeset bc4e2999a2a7 (bug 1755704)
Backed out changeset 26b11a2833b0 (bug 1755704)
2022-04-22 18:03:57 +03:00
Eitan Isaacson
395df0c9f2 Bug 1765651 - Put DOMNodeID in Accessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D144234
2022-04-22 16:31:42 +00:00
Jeff Muizelaar
24097d7651 Bug 1764779 - Remove outdated comment about blob sizes.
This was fixed in bug 1582210.

Differential Revision: https://phabricator.services.mozilla.com/D144440
2022-04-22 16:15:40 +00:00
Markus Stange
4f56eb8a63 Bug 1764312 - Back out bug 1688998 for causing long startup times on some systems.
Differential Revision: https://phabricator.services.mozilla.com/D144447
2022-04-22 16:14:02 +00:00
Marian-Vasile Laza
dac03d0523 Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-04-22 19:17:02 +03:00
Marian-Vasile Laza
b22581ef38 Merge autoland to mozilla-central. a=merge 2022-04-22 19:13:17 +03:00
Arjun Krishna Babu
e344c64a84 Bug 1765456 - Move the cancel icon used by about:newtab to the shared icon library in toolkit/themes/shared/icons r=sfoster,desktop-theme-reviewers
This was done because the existing cancel icon (browser/components/newtab/data/content/assets/glyph-cancel-16.svg) is a variation of the (/toolkit/themes/shared/icons/close.svg) in the toolkil icon library and it makes sense for the former to live alongside the latter.

Differential Revision: https://phabricator.services.mozilla.com/D144075
2022-04-22 16:12:42 +00:00
manisha27
ce98859578 Bug 1765459 - Remove glypg-edit-16.svg and use edit.svg. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D144245
2022-04-22 16:04:50 +00:00
Paul Adenot
764a944e17 Bug 1765969 - Update cubeb-coreaudio-rs to 44eca958. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D144426
2022-04-22 15:54:12 +00:00
Tim Huang
d008c8e783 Bug 1765949 - Change the search params for TCP rollout. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D144397
2022-04-22 15:38:14 +00:00
Andrew Osmond
f1d0511ef0 Bug 1765816 - Expose front buffer canvas contents when painting for Firefox Screenshots. r=gfx-reviewers,lsalzman
This patch adds support for including the canvas contents in Firefox
Screenshots for Canvas 2D, WebGL and WebGPU. It is already working for
context's created through an OffscreenCanvas, but we failed to hook up
the main thread path after refactoring in previous bugs.

Differential Revision: https://phabricator.services.mozilla.com/D144310
2022-04-22 15:05:43 +00:00
Andrew Osmond
c9e7d96bfe Bug 1755704 - Part 2. Implement stubbed out surface related WebGPU canvas methods. r=gfx-reviewers,lsalzman
This patch hooks up the improved CanvasManagerChild::GetSnapshot method
to the WebGPU canvas context object in order to do readbacks for various
DOM facing methods such as ConvertToBlob and for Firefox Screenshots.

Differential Revision: https://phabricator.services.mozilla.com/D144309
2022-04-22 15:05:43 +00:00
Andrew Osmond
720de7a009 Bug 1755704 - Part 1. Add support for reading back the front buffer for WebGPU. r=gfx-reviewers,lsalzman
This reworks the CanvasManagerChild::GetSnapshot method to work with
WebGPU. This will allow it to be called for a WebGPU context from any
thread, which is useful for screenshots.

Differential Revision: https://phabricator.services.mozilla.com/D144308
2022-04-22 15:05:42 +00:00
Narcis Beleuzu
49e2102b48 Backed out changeset 4c742ffdfbbf (bug 1765949) as req by timhuang in order to divide the fixes. CLOSED TREE 2022-04-22 18:02:43 +03:00
Narcis Beleuzu
98c52b3aa4 Backed out changeset 192cc007fef6 (bug 1742864) for xpcshell failure on test_dmd.js 2022-04-22 18:01:14 +03:00
Nicolas Chevobbe
9076b5fa2f Bug 1765748 - [devtools] Remove unncessary complex SplitView#setItemClassName. r=jdescottes.
The function was setting extra classes on both
the summary and the detail, running extra checks
to not remove the base classes.
It's only called from one place, and we only care
about adding classes to the summary element, which
we have access to directly.
We're switching to classList.(add|remove) , which
allows us to get rid of the SplitView method.

Differential Revision: https://phabricator.services.mozilla.com/D144427
2022-04-22 13:56:02 +00:00
Nicolas Chevobbe
8578d2224f Bug 1765748 - [devtools] Remove SplitView active summary getter and rename setter. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D144302
2022-04-22 13:56:01 +00:00
Nicolas Chevobbe
d24de6a1bc Bug 1765748 - [devtools] Merge SplitView appendTemplateItem and appendItem. r=ochameau.
The template nodes are retrieved and cached from the constructor so we don't have
to do it for every item we add.

Differential Revision: https://phabricator.services.mozilla.com/D144269
2022-04-22 13:56:01 +00:00
Nicolas Chevobbe
947e5c6c8f Bug 1765748 - [devtools] Simplify SplitView#appendItem onShow option. r=ochameau.
Only the detail element was needed in the callback, so we remove all the other
unnecessary parameters.
This allows us to also remove the `data` option.

Differential Revision: https://phabricator.services.mozilla.com/D144268
2022-04-22 13:56:01 +00:00
Nicolas Chevobbe
6a68e17557 Bug 1765748 - [devtools] Remove SplitView#appendItem onCreate option. r=ochameau.
Since there's nothing asynchronous happening before the item gets added to the
list, the consumer can directly use the properties of the object returned by
'appendTemplatedItem'.

Differential Revision: https://phabricator.services.mozilla.com/D144267
2022-04-22 13:56:00 +00:00
Nicolas Chevobbe
703a40f1c8 Bug 1765748 - [devtools] Remove unused SplitView#appendItem options. r=ochameau.
`onHide` and `onDestroy` aren't declared from the callsite, we can remove them.

Differential Revision: https://phabricator.services.mozilla.com/D144266
2022-04-22 13:56:00 +00:00
Nicolas Chevobbe
d0b5f00199 Bug 1765748 - [devtools] Turn SplitView.getSummaryElementByOrdinal into a private method. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D144265
2022-04-22 13:56:00 +00:00
Nicolas Chevobbe
bd68cc6c18 Bug 1765748 - [devtools] Remove unused SplitView#isLandscape . r=ochameau.
This allows us to remove the `_mql` property as well as the `LANDSCAPE_MEDIA_QUERY`
const.

Differential Revision: https://phabricator.services.mozilla.com/D144264
2022-04-22 13:55:59 +00:00
Nicolas Chevobbe
54dc8da65c Bug 1765748 - [devtools] Remove unused SplitView#activeDetails. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D144263
2022-04-22 13:55:59 +00:00
Yulia Startsev
a996a1aca2 Bug 1763372 - Rename GetLoadContext to GetScriptLoadContext; r=jonco
Depends on D143068

Differential Revision: https://phabricator.services.mozilla.com/D143037
2022-04-22 13:24:10 +00:00
Yulia Startsev
604a6aa077 Bug 1763372 - address new issues in the hybrid build; r=jonco
Depends on D143036

Differential Revision: https://phabricator.services.mozilla.com/D143068
2022-04-22 13:24:10 +00:00
Yulia Startsev
f1dd84285f Bug 1763372 - Add LoadContextBase; r=jonco,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143036
2022-04-22 13:24:09 +00:00
Paul Adenot
2b0e6156c2 Bug 1762620 - Only pad audio buffers when doing up mixing. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D143623
2022-04-22 13:19:01 +00:00
James Teow
2bb356021b Bug 1471546 - Scroll to bookmark in bookmark library on initial selection when it's not visible r=mak
Differential Revision: https://phabricator.services.mozilla.com/D139905
2022-04-22 13:14:41 +00:00
Martin Robinson
80da1a7c48 Bug 1765515 - Changes to content-visibility should rebuild the frame r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D144180
2022-04-22 13:06:45 +00:00
Mark Banner
20a0448631 Bug 1609271 - Disallow passing null as the target argument to ChromeUtils.import. r=evilpie,emilio
Differential Revision: https://phabricator.services.mozilla.com/D140516
2022-04-22 12:42:41 +00:00
Dennis Jackson
93b3689c90 Bug 1764153 - land NSS NSS_3_78_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D144282
2022-04-22 12:42:27 +00:00
André Bargull
8712c6c359 Bug 1765803: Mark HomeObjectSuperBase as movable. r=jandem
MHomeObjectSuperBase has the same semantics as MSuperFunction, but only the
latter is marked as movable and has a congruentTo override.

Differential Revision: https://phabricator.services.mozilla.com/D144300
2022-04-22 12:09:18 +00:00
Sebastian Hengst
413581fcc1 Bug 1765910 - set open-features-tokenization-top-left.html as intermittent on Android debug
Depends on D144424

Differential Revision: https://phabricator.services.mozilla.com/D144425
2022-04-22 12:02:42 +00:00
Sebastian Hengst
9b90fd5f92 Bug 1765843 - set open-features-is-popup-condition.html?single-2 as intermittent on Linux opt without fission
New failures since the latest synchronization of in-tree web-patform-tests
with upsream.

Differential Revision: https://phabricator.services.mozilla.com/D144424
2022-04-22 12:02:42 +00:00
Alexandre Poirot
cec4e30a40 Bug 1759818 - [devtools] Ensure creating one source per URL, even for iframe targets. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D141225
2022-04-22 11:40:32 +00:00
Alexandre Poirot
65fb779c6d Bug 1759818 - [devtools] Assert the breakable lines for iframe html pages. r=bomsy
While adding this new html page for breakable lines,
I revisit how we load same-url.sjs and use this iframe document instead.
This feel more natural than dynamically injecting a document-builder iframe.

Also I promote breakable lines and positions tests to become features tests.

And it looks like adding the iframe target slow things down for the quick open.
So I tuned the related assertion to avoid intermittents.

Last but not least, this patch highlights two limitations for iframe html debugging:
* only the first inline script is "breakable" (others are ignored)
* on reload, no content is displayed at all (this is new to me)

Differential Revision: https://phabricator.services.mozilla.com/D143989
2022-04-22 11:40:32 +00:00
Mark Banner
7a084ed84c Bug 1725952 - Upgrade ESLint to v8.x. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144002
2022-04-22 11:23:30 +00:00
Mark Banner
56111aa6d7 Bug 1725952 - Drop .xul file support for eslint-plugin-mozilla. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144001
2022-04-22 11:23:29 +00:00
Emilio Cobos Álvarez
9cdc416fdd Bug 1695139 - Remove a warning that nobody is looking into. r=tnikkel
This can happen on regular content (I see it when loading google.com on
a debug build for example). Given there's no action to take it seems
only noise atm. No strong opinion into whether it's better to ifdef the
code or just remove it.

Differential Revision: https://phabricator.services.mozilla.com/D144415
2022-04-22 10:57:02 +00:00
Marco Bonardo
d3deba7a92 Bug 1764946 - Snapshots in automatic groups should be expired at automatic snapshots. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D143830
2022-04-22 10:11:19 +00:00
Narcis Beleuzu
5204ea3d3d Merge autoland to Mozilla-central. a=merge 2022-04-22 13:03:03 +03:00
Mike Hommey
a207dc80bb Bug 1742864 - Sanitize the input frame pointer given to DoFramePointerStackWalk. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D144396
2022-04-22 09:57:38 +00:00
Marian-Vasile Laza
87994c06ad Backed out changeset 700318695e2b (bug 1763474) for causing GTest failures and mochitest failures on ProfilerThreadRegistrationData.cpp. CLOSED TREE 2022-04-22 12:57:22 +03:00
Tim Huang
51444c2217 Bug 1765949 - Change the search params for TCP rollout. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D144397
2022-04-22 09:42:40 +00:00
Kershaw Chang
9fa0fc717a Bug 1762201 - Make sure ConfirmationContext::RecordEvent is locked, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D144022
2022-04-22 09:39:31 +00:00
Bernard Igiri
3a0848129e Bug 1763430 - Add Expiration Pill to Colorway Closet Modal r=dao
Added Expiration Date pill to Colorway Closet modal dialog.

Differential Revision: https://phabricator.services.mozilla.com/D144052
2022-04-22 09:35:09 +00:00
Gerald Squelart
c0482a75ea Bug 1765922 - Ensure/ReleaseBufferForMainThreadAddMarker from main thread in profiler_start/stop - r=florian
In child processes, Gecko Profiler's profiler_start/stop are running OFF the main thread, so the calls to Ensure/ReleaseBufferForMainThreadAddMarker should be dispatched to the main thread for them to actually create/destroy the main-thread buffer.

Note that this is not done in the Base Profiler, because it should always run on the main thread, and if it wasn't there would be no way to dispatch a task to the main thread -- and it wouldn't be too much of an issue anyway, there are few markers running outside of Gecko Profiler sessions.

Differential Revision: https://phabricator.services.mozilla.com/D144387
2022-04-22 09:26:11 +00:00