Emilio Cobos Álvarez
4f96521a7c
Bug 1757647 - Simplify WindowsUIUtils tablet mode stuff. r=saschanaz
...
No need for it to use so much XPCOM.
Differential Revision: https://phabricator.services.mozilla.com/D139986
2022-03-02 12:02:00 +00:00
Masayuki Nakano
ef3106ee6b
Bug 1757492 - part 2: Clean up HTMLEditor::DoSplitNode
r=m_kato
...
This patch just cleans up the method code for making the changes for bug 1735608
simpler. This does not change any behavior.
Depends on D140010
Differential Revision: https://phabricator.services.mozilla.com/D140011
2022-03-02 11:55:06 +00:00
Masayuki Nakano
5bbb9ea55a
Bug 1757492 - part 1: Clean up HTMLEditor::DoJoinNodes
r=m_kato
...
This patch just cleans up the method code for making the changes for bug 1735608
simpler. This does not change any behavior.
Differential Revision: https://phabricator.services.mozilla.com/D140010
2022-03-02 11:55:05 +00:00
Claudia
3339cabe9d
Bug 1757382 - [devtools] Change the title to "Resend" on the Headers panel r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D139820
2022-03-02 11:53:48 +00:00
sotaro
70446fbf18
Bug 1757282 - Fix already_AddRefed handling in SerializedTaskDispatcher r=gfx-reviewers,lsalzman
...
When already_AddRefed is destroyed, mRawPtr of already_AddRefed needs to be cleared. But when SerializedTaskDispatcher was already destroyed, mRawPtr of already_AddRefed<nsIRunnable> was not cleared.
Differential Revision: https://phabricator.services.mozilla.com/D140012
2022-03-02 11:20:38 +00:00
Bob Owen
647c996376
Bug 1755979: Pass accessibilty resource ID down from the parent. r=Jamie,nika
...
This is being done because the way the ID is determined causes issue with the
sandbox and the ID is required very early in process start up.
Differential Revision: https://phabricator.services.mozilla.com/D139649
2022-03-02 11:06:33 +00:00
James Graham
000e39552d
Bug 1757636 - Do case transformations for Element Send Keys, r=webdriver-reviewers,whimboo
...
When the shift special key has been included as part of a sendkeys command,
subsequent characters that appear on a US keyboard must be replaced by the
shifted character for that key.
Differential Revision: https://phabricator.services.mozilla.com/D139978
2022-03-02 10:50:59 +00:00
Daisuke Akatsuka
f9369c4811
Bug 1757603: Update MDN compat data. r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D140037
2022-03-02 10:45:52 +00:00
stransky
88a2067f30
Bug 1755521 Store SizedToPopup attribute to use in nsMenuPopupFrame::MoveTo() to avoid unwanted popup resize r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D139944
2022-03-02 10:27:54 +00:00
Henrik Skupin
23f58e65d5
Bug 1741854 - [webdriver-bidi] Prevent internal methods from being called via the WebSocket connection. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D140038
2022-03-02 10:11:59 +00:00
Lee Salzman
619a501c21
Bug 1757449 - Make WR NativeFontHandle use String instead of CGFont on macOS. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D139882
2022-03-02 10:11:05 +00:00
criss
b13da6025c
Backed out changeset e0f1d94942ce (bug 1757449) for causing build bustages on macOs. CLOSED TREE
2022-03-02 12:02:50 +02:00
Jan Horak
441f38b43e
Bug 1756742 Allow DBUS service org.mozilla.firefox_beta.* for the flatpak;r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D139695
2022-03-02 09:37:10 +00:00
Mathew Hodson
0efaecc57f
Bug 1757329 - Use add_setup
in test_auth_multiple.js. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D139794
2022-03-02 09:36:17 +00:00
Lee Salzman
a3df467ef4
Bug 1757449 - Make WR NativeFontHandle use String instead of CGFont on macOS. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D139882
2022-03-02 09:34:31 +00:00
Norisz Fay
372e7ca5e9
Backed out changeset d6a3e5603500 (bug 1756495) for causing xpcshell failures on test_ext_contentscript_dynamic_registration.js CLOSED TREE
2022-03-02 11:27:09 +02:00
Norisz Fay
8adcbead72
Backed out changeset 1ea661280632 (bug 1757218) for causing mochitest failures on test_midi_permission_gated.html
2022-03-02 11:25:53 +02:00
William Durand
24a8666518
Bug 1756495 - Ensure script registration is complete when a new process is spawned during the registration. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D139503
2022-03-02 08:49:37 +00:00
Jens Stutte
967543493d
Bug 1750527: Remove MOZ_CRASH_UNLESS_FUZZING and give IPC_FAIL a reason. r=jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D139226
2022-03-02 07:49:22 +00:00
Nicolas Chevobbe
b83969977f
Bug 1755692 - Fix error in observeActivity
start
event listener. r=rpl.
...
The event listener callback wasn't bound to this, so the access to `activityErrorMap`
was failing.
This patch slightly modifies the event listener so we use a fat arrow function,
as well as adding the `once` option, since we were removing the event listener
the first time the callback was called.
Differential Revision: https://phabricator.services.mozilla.com/D138894
2022-03-02 07:00:03 +00:00
Hiroyuki Ikezoe
e57033a3d2
Bug 1746989 - Use NSToCoordRoundWithClamp in nsLayoutUtils::TransformRect to avoid undefined behavior in conversions from float to int. r=TYLin
...
Differential Revision: https://phabricator.services.mozilla.com/D140015
2022-03-02 06:18:58 +00:00
Bobby Holley
b17a876d9e
Bug 1757218 - WebMIDI permission should apply to subdomains. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D139982
2022-03-02 05:52:45 +00:00
Hiroyuki Ikezoe
e4685b149d
Bug 1751110 - Clamp the max size for partial pre-render to nscoord_MAX. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D139911
2022-03-02 05:30:18 +00:00
Dão Gottwald
d3868ecd83
Bug 1757572 - Remove --toolbarbutton-focus-outline which at this point is just an alias for --focus-outline. r=Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D139945
2022-03-02 04:54:57 +00:00
Noemi Erli
9fed23d0d5
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2022-03-02 06:33:28 +02:00
Noemi Erli
b12fccca4a
Merge autoland to mozilla-central. a=merge
2022-03-02 06:30:37 +02:00
Shane Caraveo
add20048b9
Bug 1748550 Event Persistence subclass to simplify use r=rpl,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D139087
2022-03-02 03:59:48 +00:00
Makoto Kato
8f28529e97
Bug 1753574 - Use previous orientation type to compare whether orientation type isn't changed. r=smaug
...
Previous fix was not enough to check whether orientation type is same or not.
If lock is resolved after `ScreenOrientation::MaybeChanged` is called,
`LockOrientationTask::Run` resolves promise unfortunately.
I should check previous orientation type instead.
Differential Revision: https://phabricator.services.mozilla.com/D137972
2022-03-02 03:48:14 +00:00
Makoto Kato
7e130a3c59
Bug 1753574 - Don't resolve lock promise until LockDeviceOrientation is finished. r=smaug,geckoview-reviewers,agi
...
Even if platform implementation always returns error, `orientation.lock('any')`
is always successful. Because we don't wait for `LockDeviceOrientation`'s result
when current screen orientation is same as lock type. If
`LockDeviceOrientation` is failed, we should reject the promise.
Differential Revision: https://phabricator.services.mozilla.com/D137971
2022-03-02 03:48:14 +00:00
Makoto Kato
3493d2727e
Bug 1753574 - hal::LockOrientation can return error status. r=smaug,geckoview-reviewers,agi,calu
...
From https://w3c.github.io/screen-orientation/#apply-an-orientation-lock
> 7.2. Apply an orientation lock
>
> The steps to apply an orientation lock to a Document using orientation are as
> follows:
>
> 1. If the user agent does not support locking the screen orientation, return
> a promise rejected with a "NotSupportedError" DOMException and abort
> these steps.
So if orientation controller delegate isn't set, we should throw
`NotSupportedError`. But, actually, we throws `AbortError`, so this isn't
correct.
To return any DOM error from platform implementation of
`screen.orientation.lock`, I would like to change return value to
`GenericPromise`'s.
Differential Revision: https://phabricator.services.mozilla.com/D137970
2022-03-02 03:48:14 +00:00
Makoto Kato
ad14d19c54
Bug 1753574 - Remove unnecessary nullptr check for screen orientation promise. r=smaug
...
We never return `nullptr` for the promise of screen orientation lock. So this
is unnecessary now to check `nullptr`.
Differential Revision: https://phabricator.services.mozilla.com/D137969
2022-03-02 03:48:13 +00:00
Kagami Sascha Rosylight
7d833e9c2e
Bug 1757633 - Move PipeToPump from header to cpp r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D139973
2022-03-02 01:32:04 +00:00
Kagami Sascha Rosylight
785d34c9fa
Bug 1757653 - Remove redundant extern
s in dom/streams r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D139991
2022-03-02 01:31:26 +00:00
Joel Maher
adb4f65c16
Bug 1756618 - adjust treeherder group names description to be more specific. r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D139885
2022-03-01 23:38:37 +00:00
Drew Willcoxon
2ee48755fb
Bug 1757622 - Change the best match SUMO URL to use the firefox-suggest slug. r=daisuke
...
Please see bug 1757622 for a summary.
Differential Revision: https://phabricator.services.mozilla.com/D139970
2022-03-01 23:11:38 +00:00
Florian Quèze
7e7760e643
Bug 1757587 - Remove non-webrender CompositorAnimationStorage code that seems unused, r=mstange.
...
Differential Revision: https://phabricator.services.mozilla.com/D139957
2022-03-01 23:08:15 +00:00
Florian Quèze
9b6453183c
Bug 1756642 - Avoid marking the main thread as awake whenever the Linux event loop wakes up due to the profiler capturing a sample, r=mstange.
...
Differential Revision: https://phabricator.services.mozilla.com/D139401
2022-03-01 23:07:47 +00:00
Markus Stange
3ce08a4e07
Bug 1676760 - Rename Add/RemoveChildRefreshTimer. r=smaug
...
It is used by far more than just content process refresh driver timers.
Differential Revision: https://phabricator.services.mozilla.com/D139769
2022-03-01 22:48:19 +00:00
Markus Stange
d85ed119fd
Bug 1676760 - Remove unused RefreshTimerVsyncDispatcher::SetParentRefreshTimer. r=smaug
...
Even in the parent process, VsyncRefreshDriverTimer uses AddChildRefreshTimer.
Differential Revision: https://phabricator.services.mozilla.com/D139768
2022-03-01 22:48:19 +00:00
Markus Stange
9912a6a4a3
Bug 1676760 - Use DataMutex for pending vsync tracking and rename variables so that they don't refer to "parent process" even though they're also used in the content process. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D139767
2022-03-01 22:48:18 +00:00
Markus Stange
3865c1aeeb
Bug 1676760 - Remove ParentProcessVsyncNotifier. r=smaug
...
Seems excessive to have a separate class for this, it really just calls a method on a different thread.
Differential Revision: https://phabricator.services.mozilla.com/D139766
2022-03-01 22:48:18 +00:00
Markus Stange
4062a118bc
Bug 1676760 - Always use vsync priority for the ParentProcessVsyncNotifier runnable. r=smaug
...
This check was there for single process Android and is no longer needed.
Differential Revision: https://phabricator.services.mozilla.com/D139765
2022-03-01 22:48:18 +00:00
Markus Stange
1a8dfa72f1
Bug 1676760 - Rename NotifyParentProcessVsync to NotifyVsyncOnMainThread and add some comments. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D139764
2022-03-01 22:48:17 +00:00
Markus Stange
66b0bde4d9
Bug 1676760 - Fix comments on VsyncRefreshDriverTimer member variables. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D139763
2022-03-01 22:48:17 +00:00
Markus Stange
f046915352
Bug 1676760 - Replace VsyncRefreshDriverTimer constructors with named creation methods. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D139762
2022-03-01 22:48:16 +00:00
Cristian Tuns
956c714ac3
Backed out changeset 0946d4ce352f (bug 1756700) for causing geckoview crashes. CLOSED TREE
2022-03-01 18:11:55 -05:00
Toshihito Kikuchi
174f4efa31
Bug 1757487 - Enable the LoadLibrary injection protection unconditionally. r=mhowell
...
Since no compat issues have been reported since we landed it in v98 beta,
it's time to remove the early-beta limitation.
The patch backs out 8ca70e015f3b863f9df6049d7b7d97123dafa640.
Differential Revision: https://phabricator.services.mozilla.com/D139972
2022-03-01 22:43:02 +00:00
Byron Campen
78e9eb6266
Bug 1755318: Check if mIceCtx is null. r=mjf
...
Depends on D139545
Differential Revision: https://phabricator.services.mozilla.com/D139626
2022-03-01 22:16:54 +00:00
Byron Campen
5bebcd363a
Bug 1755318: Disable this test, since it was not working in the first place. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D139545
2022-03-01 22:16:54 +00:00
Byron Campen
1c899c7279
Bug 1755318: Wait until PeerConnectionImpl::Close completes its work before deregistering. r=mjf
...
This ensures we do not end up in a situation where PC handles stop working
before the work done by Close is complete.
Differential Revision: https://phabricator.services.mozilla.com/D139544
2022-03-01 22:16:53 +00:00