Commit Graph

746383 Commits

Author SHA1 Message Date
Andrew Osmond
3c43f9b95a Bug 1686960 - Add jobs for OSX Software WebRender reftests. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D106567
2021-02-26 01:45:24 +00:00
Mark Striemer
d6c06cd912 Bug 1686525 - Add home button to toolbar when custom homepage is set r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105575
2021-02-26 00:17:45 +00:00
Mike Conley
d1abcdce20 Bug 1693851 - Fix some variety of tests so that they pass with and without Proton AppMenu enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106381
2021-02-25 23:43:08 +00:00
Mike Conley
0d520cb3fb Bug 1693851 - Fix browser_sync.js tests when Proton AppMenu is enabled. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D106380
2021-02-25 23:43:07 +00:00
Adam Gashlin
df369cbfb7 Bug 1685213 - Part 5: Report taskbar pin status. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106348
2021-02-25 23:15:48 +00:00
Adam Gashlin
fc30d10af1 Bug 1685213 - Part 4: Convert pin check to async. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106346
2021-02-25 23:15:48 +00:00
Adam Gashlin
fc0cc700f9 Bug 1685213 - Part 3: Record launch method telemetry. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106345
2021-02-25 23:15:47 +00:00
Adam Gashlin
b638c59199 Bug 1685213 - Part 2: Implement shortcut location classifier. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106344
2021-02-25 23:15:47 +00:00
Adam Gashlin
37c29fd026 Bug 1685213 - Part 1: Save and access the startup shortcut. r=bytesized
A. The shell provides the startup shortcut in STARTUPINFOW when it
starts a process. If the launcher process runs, we must pass this along
to the real process being created.

B. lpTitle can be overwritten, in particular when the AUMID is set for
WinTaskbar, so save it in XREMain::XRE_mainStartup() in order to access
it later.

C. Add an accessor for the saved shortcut.

Differential Revision: https://phabricator.services.mozilla.com/D106343
2021-02-25 23:15:46 +00:00
Jim Blandy
e01b214402 Bug 1694744: Let the WebRender render backend know when sequence capture should stop. r=nical
The RenderBackend::capture_config field determines whether the render backend
logs ongoing activity as requested by `wr_api_start_capture_sequence`. This
field is set by `SceneBuilderResult::CapturedTransactions` messages, but there
is nothing that clears it. This patch adds an additional `SceneBuilderResult`
message to do so.

It would probably suffice to simply always clear `capture_config` upon receipt
of an ordinary `Transactions` message. But it seemed to me to be slighty nicer
to leave capture control to messages specific to that purpose, rather than
letting ordinary messages affect it implicitly.

Differential Revision: https://phabricator.services.mozilla.com/D106308
2021-02-25 23:09:24 +00:00
Florian Quèze
9beeba38b3 Bug 1690368 - call updateFxaToolbarMenu before focusing the urlbar causes a style flush, r=markh.
Differential Revision: https://phabricator.services.mozilla.com/D106500
2021-02-25 22:49:29 +00:00
Florian Quèze
c79a006552 Bug 1541571 - Breakpad threads should have names, r=gsvelto.
Differential Revision: https://phabricator.services.mozilla.com/D106417
2021-02-25 22:42:50 +00:00
andreipetcu
5323d9fe45 Bug 1649940 Login CSV import log page r=sfoster,flod,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D100639
2021-02-25 22:39:08 +00:00
Nan Jiang
47fca6093a Bug 1689365 - Add custom impression and click for QuickSuggest r=adw,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D106490
2021-02-25 22:17:12 +00:00
Patrick Storz
6d5ab486a9 Bug 1009728 - Implement "Close Tabs to the Left" r=jaws
With "Close Tabs to the Right" having moved into a submenu in r533105,
it's only logical to offer this functionality as well for having feature parity.

Differential Revision: https://phabricator.services.mozilla.com/D104317
2021-02-25 21:57:54 +00:00
Ryan VanderMeulen
5c87574b96 Merge m-c to autoland. a=merge 2021-02-25 16:55:22 -05:00
Agi Sferro
79b1179eb9 Bug 1694179 - Add workaround for getNetworkLinkType on Android 11. r=esawin
I have a better fix but let's land this in the meanwhile as this crashes at
startup on any Android 11 device.

Differential Revision: https://phabricator.services.mozilla.com/D106547
2021-02-25 21:50:19 +00:00
Agi Sferro
f1159268ad Bug 1694179 - Add workaround for getNetworkLinkType on Android 11. r=esawin, a=RyanVM
I have a better fix but let's land this in the meanwhile as this crashes at
startup on any Android 11 device.

Differential Revision: https://phabricator.services.mozilla.com/D106547
2021-02-25 21:46:21 +00:00
Bogdan Tara
f1229ce794 Backed out changeset 03b2f2ca0d28 (bug 1649940) for mochitest failures complaining about import-details-row CLOSED TREE 2021-02-25 23:21:03 +02:00
Geoff Brown
c6f86c79ea Bug 1694275 - Handle exceptions in mozprocess callbacks; r=jmaher
Catch and report any exceptions raised in mozprocess callbacks. This allows the
ProcessReader thread to continue and mozprocess to function normally following
an exception raised in client code.

Differential Revision: https://phabricator.services.mozilla.com/D106536
2021-02-25 21:02:14 +00:00
Joel Maher
2c9b489fbe Bug 1695030 - adjust date to revisit -gli variant. r=jgilbert
adjust date to revisit -gli variant

Differential Revision: https://phabricator.services.mozilla.com/D106525
2021-02-25 20:56:02 +00:00
Jared Wein
5810ee434c Bug 1665390 - Style bookmarks toolbar and tabs toolbar tooltips. r=NeilDeakin,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104257
2021-02-25 20:47:54 +00:00
championshuttler
edef5d0184 Bug 1691328 - no bug - Bump up Glean SDK version to v35.0.0 r=mhentges
Depends on D104352

Differential Revision: https://phabricator.services.mozilla.com/D104353
2021-02-25 20:47:15 +00:00
Marco Bonardo
df07bdc35c Bug 1693436 - RequestLongerTimeout in browser_pdfjs_preview.js to avoid failing in ccov. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D106512
2021-02-25 20:37:47 +00:00
Dimi Lee
a08d074e0b Bug 1686237 - Do not enable copy username button when the username is empty r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D106125
2021-02-25 20:32:42 +00:00
Bogdan Tara
d53cfe7369 Backed out 5 changesets (bug 1694229) by flod's request, lint failures CLOSED TREE
Backed out changeset cb3d9e8d32e6 (bug 1694229)
Backed out changeset 877471a44509 (bug 1694229)
Backed out changeset 286b311d32b2 (bug 1694229)
Backed out changeset 42cb688eae03 (bug 1694229)
Backed out changeset d082f53d882e (bug 1694229)
2021-02-25 22:43:33 +02:00
Florian Quèze
4194a74769 Bug 1661054 - Stop the codemirror cursor animation when it's not focused, r=nchevobbe.
The animation should only be set when the editor is focused, otherwise the
animation will continue even when devtools is in a background tab.
This happens because the cursor is hidden using visiblity: hidden rather than
display: none in codemirror.css.

Differential Revision: https://phabricator.services.mozilla.com/D106292
2021-02-25 20:25:39 +00:00
Oliver Pope
348505d448 Bug 1676569 - Avoid calling requestIdleCallback when contentWindow is not available r=mtigley,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D103536
2021-02-25 20:24:05 +00:00
Randell Jesup
d8d28f4ea9 Bug 1694036: fix testing race condition is about:home restart simulation r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106163
2021-02-25 20:20:03 +00:00
Randell Jesup
d66b0f69d8 Bug 1694036: Fix process-start delay and add pref for startup delay r=nika
Differential Revision: https://phabricator.services.mozilla.com/D105878
2021-02-25 20:20:03 +00:00
Glenn Watson
991ec0768d Bug 1694750 - Revert backface surface patch for regression. r=nical
For now, we will revert this patch since it's not relied on
elsewhere yet, while we find a correct fix for this regression.

Revert "Bug 1687409 - Use offscreen surface for backface visibility + non-preserve3d stacking contexts r=nical"

This reverts commit 2f5002791fa9671aa5c0e6573d28b52d5c978942.

Differential Revision: https://phabricator.services.mozilla.com/D106366
2021-02-25 20:13:42 +00:00
andreipetcu
14b0e1db94 Bug 1649940 Login CSV import log page r=sfoster,flod,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D100639
2021-02-25 20:06:32 +00:00
Ting-Yu Lin
50cd58e505 Bug 799725 Part 2 - Use StyleSizeOverrides to stretch flex item's inline-size. r=dholbert
Also, suppress a flex item's aspect-ratio by using
StyleSizeOverrides::mAspectRatio added in Part 1. Otherwise,
testing/web-platform/tests/css/css-flexbox/flex-minimum-height-flex-items-023.html
is going to break.

table-as-item-stretch-cross-size-3 is adapted from the testcase in bug
799725 comment 1. Note: stretching in the cross axis that is a block
axis has been fixed by bug 1674302.

Differential Revision: https://phabricator.services.mozilla.com/D106195
2021-02-25 20:06:12 +00:00
Ting-Yu Lin
7a72791226 Bug 799725 Part 1 - Support AspectRatio in StyleSizeOverrides. r=dholbert
This is a preparation patch for Part 2 -- We need a way to ignore
aspect-ratio when measuring a flex item's content block-size, because we
don't want the stretched inline-size transferring through aspect-ratio
to set block-size.

This patch hasn't changed the behavior yet. Part 2 is going to utilize
mAspectRatio.

Differential Revision: https://phabricator.services.mozilla.com/D106383
2021-02-25 20:06:11 +00:00
Ting-Yu Lin
58c2608512 Bug 1692116 Part 4 - Add WPT reftests, and adjust test expectations. r=dholbert
Part 2 fixed table-as-item-inflexible-in-column-{1,2}.html.
table-as-item-inflexible-in-row-{1,2}.html are already pass on Nightly,
and are added for robustness and symmetry.

Part 3 fixed table-as-item-specified-height.html

Part 2 and Part 3 are both needed to not break
layout/reftests/flexbox/flexbox-table-flex-items-3.html.

Differential Revision: https://phabricator.services.mozilla.com/D106158
2021-02-25 20:06:11 +00:00
Ting-Yu Lin
ed3ef63263 Bug 1692116 Part 3 - Fix table flex item's content block-size measurement by removing mIsFlexContainerMeasuringBSize flag. r=dholbert
The mIsFlexContainerMeasuringBSize flag serves two purposes:

(1) Tell ReflowInput::ComputeMinMaxValues() to treat min-block-size and
max-block-size like the initial value.

We can just set both sizes after creating the ReflowInput, like this
patch does.

(2) Add `ComputeSizeFlag::UseAutoBSize` to mComputeSizeFlags.

Similar to the reasoning in Bug 1674302 Part 2
https://hg.mozilla.org/mozilla-central/rev/23aff0f21a1d, the
UseAutoBSize flag is buggy when used on table flex items because it
never propagates to inner table frame. We can fix it by providing an
'auto' mStyleBSize in StyleSizeOverrides.

This fixed table flex item's content block-size measurement. As
described in table-as-item-specified-height.html, the specified height
on <table> now won't count as another min-height anymore.

Differential Revision: https://phabricator.services.mozilla.com/D106157
2021-02-25 20:06:11 +00:00
Ting-Yu Lin
72ec26664d Bug 1692116 Part 2 - Fix table flex item's flex base size & hypothetical main size in a column flex container. r=dholbert
Bug 1674302 made table flex item to be able to grow or shrink towards
another size. However, for an inflexible table flex item, its
hypothetical main size is the final main size. We have to compute the
flex base size correctly when generating FlexItem.

With Part 1, it's easy to change nsTableWrapperFrame::ComputeSize() to
return the correct block-size.

Differential Revision: https://phabricator.services.mozilla.com/D106156
2021-02-25 20:06:10 +00:00
Ting-Yu Lin
96a2597206 Bug 1692116 Part 1 - Let nsTableWrapperFrame::ComputeAutoSize() return a resolved block-size. r=dholbert
We already compute both the inner table frame and the caption frame's
block-sizes in InnerTableShrinkWrapSize() and CaptionShrinkWrapSize(),
respectively. Rather than throwing them away, popping them up to
ComputeAutoSize().

This is a preparation patch for Part 2, and it hasn't changed the
behavior yet.

Differential Revision: https://phabricator.services.mozilla.com/D106155
2021-02-25 20:06:10 +00:00
Doug Thayer
9bcea72137 Bug 1694229 - Show a different notification if selected tab is hanging r=florian
As part of this, we need to detect that the currently showing notification does
not match the one what we want to display. This also fixes the case where we
show a notification for tab A, then switch to tab B which is also hanging, and
end up listing the title for tab A as hanging in the notification.

Differential Revision: https://phabricator.services.mozilla.com/D106305
2021-02-25 19:59:16 +00:00
Doug Thayer
ec3e7bd9fe Bug 1694229 - Add mouse wheel scrolling to critical input list r=smaug
Fairly trivial. At some point we may want to instead look for checkerboarding,
but for now this should be sufficient.

Differential Revision: https://phabricator.services.mozilla.com/D106018
2021-02-25 19:59:16 +00:00
Doug Thayer
8195515eec Bug 1694229 - Show slow script warning only when critical input is pending r=smaug
We want to restrict the slow script warning to cases where the user is actually
trying to interact with the browser.

Differential Revision: https://phabricator.services.mozilla.com/D106017
2021-02-25 19:59:15 +00:00
Doug Thayer
9848b858a8 Bug 1694229 - Separate Enter/Exit Widget Events from Mouse Button events r=smaug
If we don't do this, then just moving the mouse over a window experiencing a
slow script will cause it to show the notification. We could try to
deserialize the message inside nsContentUtils::IsMessageCriticalInputEvent, but
that seems overcomplicated compared to just adding a new message which proxies
to the original message handlers.

Differential Revision: https://phabricator.services.mozilla.com/D106016
2021-02-25 19:59:15 +00:00
Doug Thayer
05360b505e Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-25 19:59:14 +00:00
Cosmin Sabou
253c39a17a Backed out changeset 36b76c196497 (bug 1691499) for bc failures on browser_decoderDoctor.js. CLOSED TREE 2021-02-25 21:47:25 +02:00
Gregory Mierzwinski
fe9ffa6045 Bug 1693135 - Disable raptor-webext tests on windows. r=perftest-reviewers,kimberlythegeek
Differential Revision: https://phabricator.services.mozilla.com/D106504
2021-02-25 19:33:41 +00:00
Benjamin Beurdouche
d787ba0177 Bug 1615687 - Certificate validation should respect CKA_NSS_EMAIL_DISTRUST_AFTER. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D84195
2021-02-25 19:17:01 +00:00
alwu
99b1e2fec6 Bug 1691578 - part8 : allow showing platform-decoder-not-found notification. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D104573
2021-02-25 18:07:07 +00:00
alwu
02a5936205 Bug 1691578 - part7 : add test case for audio sink failed start-up. r=bryce,emilio
Differential Revision: https://phabricator.services.mozilla.com/D104571
2021-02-25 18:07:07 +00:00
alwu
23f1c32275 Bug 1691578 - part6 : add test cases to test reporting decode error. r=bryce,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D104570
2021-02-25 18:07:06 +00:00
alwu
ee8e5fb47f Bug 1691578 - part5 : add test cases to test the ability of reporting error for not supported media type. r=bryce,emilio
Add test cases for `DecoderDoctorDiagnostics::StoreFormatDiagnostics()`, which is used when checking the ability of whether the decoder is supported for certain type.

Differential Revision: https://phabricator.services.mozilla.com/D104475
2021-02-25 18:07:06 +00:00