Commit Graph

732434 Commits

Author SHA1 Message Date
Punam Dahiya
241b77481c Bug 1754832 - Update PBM to support opening spotlight tab modal r=Mardak,mviar,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140565
2022-03-17 06:41:47 +00:00
Makoto Kato
0d7fa051a3 Bug 1759629 - Remove unused dom/base/test/file_record_orientation.html. r=baku
This file had to be remove by Bug 1312417.

Differential Revision: https://phabricator.services.mozilla.com/D141183
2022-03-17 06:38:40 +00:00
Zhao Jiazhong
1cb79663e8 Bug 1759403 - [loong64] Remove two useless functions. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D140940
2022-03-17 06:30:59 +00:00
Cristian Tuns
48e186171e Backed out changeset 2a13a8e2de82 (bug 1759931) for causing mochitest failures in test_peerConnection_simulcastAnswer.html CLOSED TREE 2022-03-17 00:59:59 -04:00
Karl Tomlinson
8583a3dadf Bug 1757505 remove unnecessary lock and notify on shutdown r=jib
mIPCIsAlive is already cleared and notified before Shutdown() is called on the
IPC thread.

mIPCIsAlive is read only in DispatchToParent() on the MediaManager thread,
which cannot happen while Shutdown() is called on the same thread.

Depends on D140029

Differential Revision: https://phabricator.services.mozilla.com/D140030
2022-03-17 04:10:07 +00:00
Karl Tomlinson
1dc3bfcb16 Bug 1757505 remove unnecessary shutdown from destructor r=padenot
DeallocPCamerasChild() already calls Shutdown() since
https://hg.mozilla.org/mozilla-central/rev/366a2aa802b5a7bd06328a7162f10292cbde3411

Differential Revision: https://phabricator.services.mozilla.com/D140029
2022-03-17 04:10:06 +00:00
Karl Tomlinson
030d029cd8 Bug 1757505 remove unnecessary AllDone() message r=jib
Closing the BackgroundChild for the media thread is sufficient to destroy the
actors.
https://searchfox.org/mozilla-central/rev/9f61d854547cedbde0773b2893e4f925352be3b3/ipc/glue/BackgroundImpl.cpp#409

Depends on D140027

Differential Revision: https://phabricator.services.mozilla.com/D140028
2022-03-17 04:10:06 +00:00
Karl Tomlinson
2ab5fe2a70 Bug 1757505 delete CamerasParent when shutting down r=jib
so that CamerasChild gets notified that the parent will no longer reply.

CamerasParent::ActorDestroy() now calls StopVideoCapture() in response to the
delete.

This change also means that no further IPC messages will be received on this
CamerasParent after the StopVideoCapture().

Differential Revision: https://phabricator.services.mozilla.com/D140027
2022-03-17 02:21:47 +00:00
Chris Peterson
48c3026a89 Bug 1731523 - Part 2: Remove "Firefox 100" Nimbus experiment code. r=necko-reviewers,kershaw
This Nimbus experiment code was added in bug 1719070 to test if sending a "Firefox 100" UA string causes any major webcompat problems.

The moz.build change was added in bug 1724635 to fix a Thunderbird build break. MOZ_BUILD_APP_IS_BROWSER = true when building Firefox, false when building Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D126408
2022-03-17 02:18:12 +00:00
Emilio Cobos Álvarez
9f0ff14f8a 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
b2362281b2 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
fc4d14a861 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
d88bf5b6a7 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
4c8eed4c6d 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
802f86587f 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
41a17ab0fd 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
027f023067 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
b3dc1ae6ce 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
811ecde56b 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
06277ae268 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
df30fedaa8 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
8769327342 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
b2e8360ad3 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
55149ed54e 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
ada884ba9a Merge mozilla-central to autoland on a CLOSED TREE 2022-03-16 17:52:22 -04:00
Daisuke Akatsuka
fa18fc2e3d 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
135c0f3468 Merge autoland to mozilla-central. a=merge 2022-03-16 17:36:19 -04:00
Mark Striemer
3e5d7aa97a 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
c82bc9f87f 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
1d7613dfb5 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
b2f5f8ebd5 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
1b170e15ad 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
01df6a3c1c 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
0696740d66 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
fe58c94ac6 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
947111a1f3 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
66b96b973f 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
5fa65e90e9 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
2bae247a1b 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
e65b1a626b 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
ef54952887 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
810d2d973d 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
f706127f5c 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
9aaeca4c9c 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
a7896cf6b1 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
4e50657a2a 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
661b487913 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
855202c183 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
44451caeaa 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
53c3d2467e 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