Commit Graph

788350 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
cdb02b1b74 Bug 1759602 - Fix how TopLevelVideoDocument.css avoids outlines.
MANUAL PUSH: Trivial-ish one-liner to fix the increase in rate in bug 1759749.
2022-03-17 03:06:05 +01:00
Karl Tomlinson
8508e777d3 Bug 1757505 Clarify that aFailureValue is used by copy r=jib
in contrast to aSuccessValue which is used as a reference.

Depends on D140025

Differential Revision: https://phabricator.services.mozilla.com/D140026
2022-03-17 01:55:23 +00:00
Karl Tomlinson
8961413fcf Bug 1757505 indicate failure to receive reply even when the parent is shut down after dispatch r=jib
mReplySuccess is set appropriately only when the reply is received.
An inappriopriate success could lead to incorrect data being returned.

Depends on D140023

Differential Revision: https://phabricator.services.mozilla.com/D140025
2022-03-17 01:55:23 +00:00
Karl Tomlinson
dda7cc0748 Bug 1757505 correct thread specified in comment for shutting down IPC thread r=jib
The comment has been out of date since
https://hg.mozilla.org/mozilla-central/rev/03540c2e61c12a3e31869efb34fcee59b0adeec3

Depends on D140022

Differential Revision: https://phabricator.services.mozilla.com/D140023
2022-03-17 01:55:22 +00:00
Jeff Muizelaar
3c891365f9 Bug 1759953 - Remove useless condition in SetBuildingRect. r=emilio
Previously this condition avoided setting mPaintRectValid = false
but that's no longer here.

Differential Revision: https://phabricator.services.mozilla.com/D141313
2022-03-17 01:52:53 +00:00
Jeff Muizelaar
8a1a93ff08 Bug 1759931 - Implement some missing outbound-rtp stats. r=jib,emilio
Differential Revision: https://phabricator.services.mozilla.com/D141287
2022-03-17 01:50:17 +00:00
alwu
32c5c1966b Bug 1757436 - turn on the pref 'media.ffmpeg.customized-buffer-allocation' by default. r=media-playback-reviewers,jrmuizel,bryce
Differential Revision: https://phabricator.services.mozilla.com/D141263
2022-03-17 01:08:27 +00:00
Emilio Cobos Álvarez
cadac0bf3d Bug 1754459 - Improve caret position selection for images. r=dholbert
What saves us in the non-pointer-events: none case is silly, and is
this loop that hits the draggable image:

  https://searchfox.org/mozilla-central/rev/fa69d8b248e6c1df670aa6b019e30ec37e6672be/layout/generic/nsIFrame.cpp#4752

Needs tests (if it doesn't affect existing ones), but uploading for some
initial feedback. I think this makes a lot more sense than the existing
code, and works for editing and dragging the same way, so it's nice to
have less special-cases.

Differential Revision: https://phabricator.services.mozilla.com/D141242
2022-03-16 23:32:44 +00:00
Emilio Cobos Álvarez
11a8108d96 Bug 1759602 - Make outline-style: auto the default focus outline. r=mstange
As per spec: https://html.spec.whatwg.org/#phrasing-content-3

This should generally be better as it is a better outline to begin with,
and allows us to customize it a bit in the future.

Differential Revision: https://phabricator.services.mozilla.com/D141051
2022-03-16 23:27:19 +00:00
Emilio Cobos Álvarez
7368ed48d3 Bug 1759925 - Allow aria-description as a globally safe l10n attribute. r=Gijs
We had precedents for this and it is safe to allow it everywhere.

Depends on D141276

Differential Revision: https://phabricator.services.mozilla.com/D141277
2022-03-16 23:03:49 +00:00
Emilio Cobos Álvarez
179992eeca Bug 1759925 - Make localization attributes marginally more efficient. r=Gijs,smaug
Avoid atom -> string conversions in a variety of somewhat common cases.

Differential Revision: https://phabricator.services.mozilla.com/D141276
2022-03-16 23:03:49 +00:00
Karl Tomlinson
c951d6e5ef Bug 1753266 don't start a video capture thread after AppShutdown r=jib
RecvPCamerasConstructor() is used because IPC messages cannot be sent from
AllocPCamerasParent() because SetManagerAndRegister() has not been called to
change mLinkStatus to Connected.

Differential Revision: https://phabricator.services.mozilla.com/D140022
2022-03-16 23:02:19 +00:00
Randell Jesup
addf814b52 Bug 1207753 - Base thread-safety attribution support r=nika
Differential Revision: https://phabricator.services.mozilla.com/D130606
2022-03-16 23:01:41 +00:00
Shane Hughes
1eae42ffc3 Bug 1755570 - Add download deleted state to UI. r=Gijs
Add a new property to downloads such that downloaded files deleted from within
Firefox (currently just by the context menu item) are marked "File deleted"
instead of "File moved or missing" (this adds a new translation). Also refactor
downloadsCmd_deleteFile and downloadsCmd_cancel to clean up some related issues.
Add a new download history metadata property so that Firefox can persist this
"File deleted" state between sessions.

This should resolve bug 1755570 as well as bug 1755728. Bug 1755729 is a
separate issue, more like an enhancement, because missing/moved downloads have
never allowed resume/retry. They couldn't be resumed as they were stopped, not
paused. They could conceivably be retried but this would be adding a whole lot
of new core download logic, since the target and saver are in a very different
state for a stopped download with a deleted file than what they'd be if the
download was merely canceled.

So, this patch won't give the user an opportunity to resume/retry deleted
downloads. Previously we had a problem where we made it look like you could
retry a download if you used the "delete file" command while the download was in
progress. This patch will make sure that using the "delete file" command
actually finalizes the download. So it will just fix the immediate problem where
some menuitems and buttons simply don't work in edge cases. A later patch can
implement a new affordance that will allow "retrying" downloads that were
already downloaded/interrupted and deleted, whether from within Firefox or not.

Differential Revision: https://phabricator.services.mozilla.com/D139356
2022-03-16 22:10:18 +00:00
Dimi
f728b2cc9e Bug 1759928 - Replace credit card fathom model test samples r=tgiles
Replaces samples files are lfs objects with samples are not lfs.

Differential Revision: https://phabricator.services.mozilla.com/D141283
2022-03-16 21:59:28 +00:00
Cristian Tuns
5a3f2f9fa7 Merge mozilla-central to autoland on a CLOSED TREE 2022-03-16 17:52:22 -04:00
Daisuke Akatsuka
e25d6d2173 Bug 1759318: Change some timezones to timezones that does not have summer time. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D140937
2022-03-16 21:39:20 +00:00
Cristian Tuns
6050205f31 Merge autoland to mozilla-central. a=merge 2022-03-16 17:36:19 -04:00
Mark Striemer
2311bebe71 Bug 1758686 - Fix HCM hover states in about:config r=hjones
Differential Revision: https://phabricator.services.mozilla.com/D141243
2022-03-16 21:35:33 +00:00
Cristian Tuns
43db1804cf Backed out changeset 3b8c7fa73e82 (bug 1207753) for causing build bustages on Monitor.h CLOSED TREE 2022-03-16 16:45:54 -04:00
Sergey Galich
a792cc6815 Bug 1759401 - Remove unused code in AboutLoginsParent.jsm r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D140938
2022-03-16 20:26:28 +00:00
Randell Jesup
e72ce3cd6c Bug 1207753 - Base thread-safety attribution support r=nika
With additions of MOZ_UNANNOTATED for *Mutex/*Monitor/RWLock classes

Differential Revision: https://phabricator.services.mozilla.com/D130606
2022-03-16 20:10:04 +00:00
Kershaw Chang
b1b54e8f25 Bug 1759506 - Avoid crashing if mReservedClientInfo already has something, r=edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D141262
2022-03-16 20:05:59 +00:00
Glenn Watson
a27b52ce4b Bug 1759647 - Fix segments on snapped picture surface with clips + scale transform r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D141182
2022-03-16 19:56:56 +00:00
Ryan Hunt
3c6f4abe38 Bug 1757733 - wasm: Don't report warnings from AsmJS compilation, which may be off-main-thread. r=yury
AsmJS compilation may be off the main thread, so we cannot report warnings
to JSContext. wasm::Log may do this if the right pref is on. CompileArgs::
build() uses wasm::Log. AsmJS uses CompileArgs::build(). This commit adds
a separate version of CompileArgs::build() which will not log or report
errors. AsmJS then asserts that only an OOM may be possible here, as we
should ensure a wasm compiler is available before compiling.

Differential Revision: https://phabricator.services.mozilla.com/D141007
2022-03-16 19:52:45 +00:00
Alexandre Poirot
f43adbd031 Bug 1759822 - [devtools] Group to the top of shared-head all intructions before all function definitions. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141223
2022-03-16 19:11:59 +00:00
Alexandre Poirot
e8ba71090d Bug 1759822 - [devtools] Move checkPoolChildrenSize to the one test using this helper. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141192
2022-03-16 19:11:58 +00:00
Alexandre Poirot
132536a105 Bug 1759822 - [devtools] Use shared waitUntilScreenshot method. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141191
2022-03-16 19:11:58 +00:00
Alexandre Poirot
570f8b932b Bug 1759822 - [devtools] Move waitForTitleChange to the one test using this. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141190
2022-03-16 19:11:58 +00:00
Alexandre Poirot
3272cdee66 Bug 1759822 - [devtools] Move lookupPath to helper_markup_accessibility_navigation.js. r=jdescottes
As that's the only place where it is used.

Differential Revision: https://phabricator.services.mozilla.com/D141189
2022-03-16 19:11:57 +00:00
Alexandre Poirot
f9c0659b22 Bug 1759822 - [devtools] Move getSupportedToolIds to framework test helper. r=jdescottes
As this is only used by this folder.

Differential Revision: https://phabricator.services.mozilla.com/D141188
2022-03-16 19:11:57 +00:00
Alexandre Poirot
a226f04b9d Bug 1759741 - [devtools] Remove shared-redux-head being redundant with shared-head.js r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141139
2022-03-16 19:11:57 +00:00
Alexandre Poirot
2fc4b0e5fb Bug 1759741 - [devtools] Start using shared-head by a first xpcshell test. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D141138
2022-03-16 19:11:56 +00:00
Mozilla Releng Treescript
57a8db500b no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
es-MX -> bbd52460483d88596b43082460c96d9c3b517ebf
it -> 455679821f5f0337ae950b14f018c07342fa8017
nn-NO -> 58bc75b2c40a09837ddd0873e757c19dc654ac9b
oc -> fca946cd8936479fbb635a729cdc241234b301b5
tr -> 8d3e1a96e7fa4d2850f789953d2f00d36a89fb69
2022-03-16 19:07:35 +00:00
Sam Foster
137f8ac65e Bug 1753767 - use @import instead of %include-ing stylesheets in browser/themes. r=dao
* @import rather than %include stylesheets in each platform's browser.css
* Remove the inc.css suffix for @imported files
* browser.inc.css becomes browser-shared.css
* Move shared @imports to browser-shared.css
* panelUI.inc.css becomes panelUI-shared.css
* download/indicator.inc.css becomes download/indicator.css and is @import-ed.
* addons/extension-controlled.inc.css becomes addons/extension-controlled.css and is @import-ed
* places/places-tooltip.inc.css becomes places/places-tooltip.css and is @import-ed
* urlbar/dynamicResults.inc.css becomes urlbar-dynamic-results.css and is @import-ed from urlbarView.css

* Remove preprocessing flags from css resources in jar.inc.mn that no longer contain any preprocessor directives

Differential Revision: https://phabricator.services.mozilla.com/D140275
2022-03-16 18:57:18 +00:00
Gavin Suntop
9899560865 Bug 1746032 - STP dark mode r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D141257
2022-03-16 18:55:26 +00:00
Emilio Cobos Álvarez
6e94231e2d Bug 1759866 - Minor clean-up to the selection frame-edge code. r=dholbert
This doesn't change behavior but makes some code a bit nicer to read and
documents some of the code that wasn't obvious otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D141236
2022-03-16 18:55:01 +00:00
Cristian Tuns
e8224e0ed6 Backed out changeset 416c97246140 (bug 1618560) for causing xpcshell failures in test_feature_java.js CLOSED TREE 2022-03-16 14:52:13 -04:00
Randell Jesup
fcaf70841e Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 18:47:08 +00:00
Michael Comella
9507d3ff3c Bug 1618560 - support samples from multiple JVM threads in profiler. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D140434
2022-03-16 18:14:17 +00:00
Tim Giles
cbda39d8c4 Bug 1759191 - Remove chrome navigation test to prevent unexpected behavior when synthesizing shift+tab events. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D141142
2022-03-16 17:50:34 +00:00
Steve Fink
194a9641cf Bug 1758215 - Add --keep option to mozcrash.py for testing r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D140432
2022-03-16 17:48:34 +00:00
chadb
5531b4a61a Bug 1745673 - Reader mode save to pocket button toggle. r=niklas,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D136067
2022-03-16 17:38:23 +00:00
Ben Lienhart
245ed3e15f Bug 1758367 - Implemented finer-grained RFP check in MediaDevices for cut-over of ShouldRFP. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D140496
2022-03-16 17:34:11 +00:00
Noemi Erli
494009e5bd Backed out changeset c0d6793b3c6f (bug 1756280) for causing failures in browser_navigator.js CLOSED TREE 2022-03-16 19:38:00 +02:00
Nick Alexander
5764c7d5fd Bug 1753603 - Don't {Start,Stop}AudioSession in background tasks. r=mossop
The presenting issue is that each background task's audio session is
user-visible via various Windows UIs that display "volume controls" or
"volume mixers"; this avoids that.

Differential Revision: https://phabricator.services.mozilla.com/D141101
2022-03-16 17:29:37 +00:00
Nick Alexander
9b68a45e69 Bug 1679443 - Add test ensuring profiles created by background tasks are (and remain) "slim". r=bytesized
There are a few ways that we could test this.  We could use the
profiler and "File IO" markers, a la
https://searchfox.org/mozilla-central/source/browser/base/content/test/performance/browser_startup_content_mainthreadio.js.
This would profile content that is transient, which could be good or
bad -- temporary files for atomic writes would show up for example.
But in fact there are profile contents created after the profiler is
shut down (including `Telemetry.ShutdownTime.txt`), so this approach
isn't sufficient.

Therefore we do the simpler thing: we simply don't remove the
temporary profile directory after the background task exits.

Differential Revision: https://phabricator.services.mozilla.com/D139909
2022-03-16 17:18:45 +00:00
Mitchell Hentges
ff4cd170f7 Bug 1759193: Remove workaround for handling local/ in venv paths r=ahal
Now that we're using `sysconfig` instead of `distutils`, our `purelib`
and `platlib` paths should correctly point to python environment paths
without a spurious `local/` component at their roots.

Differential Revision: https://phabricator.services.mozilla.com/D140871
2022-03-16 17:11:23 +00:00
David Parks
dd145d98d1 Bug 1756280: Force navigator.pdfViewerEnabled, etc. if privacy.resistFingerprinting is set r=peterv,tjr
navigator.{pdfViewerEnabled, mimeTypes, plugins} should ignore pdfjs.disabled when RFP is set.

Differential Revision: https://phabricator.services.mozilla.com/D140762
2022-03-16 16:40:11 +00:00
Mitchell Hentges
40e9f7a3d6 Bug 1759585: Avoid hang in ./mach configure r=firefox-build-system-reviewers,nalexander
Depending on the subprocesses created (such as if
`--with-ccache=sccache` is set), `./mach configure` may hang.

More details about why this is is documented in bug 1753797.

The workaround is to lean on the standard library to stream-and-format
output, rather than our existing `ProcessHandler` code.

Though this still streams both `stdout` and `stderr` in real-time, I saw
some ordering differences between the two streams locally. I don't yet
have a reason to believe that these differences are harmful or otherwise
incorrect.

Differential Revision: https://phabricator.services.mozilla.com/D141028
2022-03-16 16:32:25 +00:00