Commit Graph

788374 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
370bce32dc Bug 1758702 - Allow ThreadSafeWeakPtr<IncompleteType> to work. r=glandium
This will be used to avoid problematic includes from WorkerPrivate.h,
and it matches the behavior of RefPtr<> and WeakPtr<>.

Differential Revision: https://phabricator.services.mozilla.com/D140658
2022-03-17 12:15:20 +00:00
Iulian Moraru
d7c65853a6 Backed out changeset a4fa7289d582 (bug 1750199) for causing multiple dt failures. CLOSED TREE 2022-03-17 14:22:59 +02:00
Paul Adenot
ccbb18aba2 Bug 1752917 - Check that a ScriptProcessorNode still has a track after marking it as inactive while updating its connection status. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D141247
2022-03-17 11:09:35 +00:00
Nicolas Silva
ecf93a5a7b Bug 1758942 - Change the way solid rect bounds are computed. r=mstange
I wrote the previous code via trial and error by copying similar code without understanding much what the different values represent.
The result looks about right but I suspect it may be only right because of simplifying assumptions.

Differential Revision: https://phabricator.services.mozilla.com/D140726
2022-03-17 11:07:13 +00:00
Henrik Skupin
955442c355 Bug 1694391 - [wdspec] Added web-platform tests for browsingContext.getTree command. r=webdriver-reviewers,jgraham,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D140725
2022-03-17 10:37:37 +00:00
Henrik Skupin
160ce9a192 Bug 1694391 - [webdriver-client] Add browsing context module to WebDriver BiDi client. r=jgraham,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D140807
2022-03-17 10:37:36 +00:00
Henrik Skupin
fc1a3ac55d Bug 1694391 - [webdriver-bidi] Implement browsingContext.getTree command. r=webdriver-reviewers,jdescottes,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D140724
2022-03-17 10:37:36 +00:00
Henrik Skupin
1cf59ce7d1 Bug 1694391 - [remote] Make TabManager.browsers a getter. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D140723
2022-03-17 10:37:35 +00:00
Jens Stutte
a8f49a3f99 Bug 1759732: Add operation name to shutdown hang output. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D141128
2022-03-17 10:30:43 +00:00
Jens Stutte
cb5a627aa4 Bug 1759732: Chain aRunnableName through the derivation tree of operations. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D141127
2022-03-17 10:30:42 +00:00
Nicolas Chevobbe
572629b423 Bug 1750199 - [devtools] Fix browser_dbg-breakpoints-popup.js intermittent. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D141238
2022-03-17 10:02:14 +00:00
Jens Stutte
9db2246cff Bug 1757144: Abort DOMCACHE operations on InitiateShutdown. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D139690
2022-03-17 10:01:09 +00:00
Norisz Fay
9c7a111525 Merge mozilla-central to autoland. CLOSED TREE 2022-03-17 11:32:58 +02:00
Norisz Fay
656c0068e5 Merge autoland to mozilla-central. a=merge 2022-03-17 11:27:35 +02:00
Mozilla Releng Treescript
b9123e88a1 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
ko -> 80931cc25123bb03ea4d73006ac1e22baa7c5897
pa-IN -> 2c9b2b512f0459d7530495b7b77c4ebdee864b6a
2022-03-17 06:57:51 +00:00
Punam Dahiya
a76c013839 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
17ce1a3827 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
68111b3af3 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
8b4654fca4 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
c534faa84e 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
89c4564af8 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
5cf10ab86d 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
2af2245080 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
80561e26dc 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
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