From 95c6ba911670c55c727cab0b55d2fb60d922a278 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 29 Mar 2022 02:16:04 -0600 Subject: [PATCH] browser(firefox): roll Firefox stable to 98.0.2 (#13145) --- browser_patches/firefox/BUILD_NUMBER | 4 +- browser_patches/firefox/UPSTREAM_CONFIG.sh | 2 +- .../firefox/patches/bootstrap.diff | 174 +++++++++--------- 3 files changed, 90 insertions(+), 90 deletions(-) diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBER index 6eddffb692..e4b12876d3 100644 --- a/browser_patches/firefox/BUILD_NUMBER +++ b/browser_patches/firefox/BUILD_NUMBER @@ -1,2 +1,2 @@ -1321 -Changed: yurys@chromium.org Tue 22 Mar 2022 05:24:48 PM PDT +1322 +Changed: lushnikov@chromium.org Mon 28 Mar 2022 10:43:03 PM PDT diff --git a/browser_patches/firefox/UPSTREAM_CONFIG.sh b/browser_patches/firefox/UPSTREAM_CONFIG.sh index 1227e887a7..0a9fe44132 100644 --- a/browser_patches/firefox/UPSTREAM_CONFIG.sh +++ b/browser_patches/firefox/UPSTREAM_CONFIG.sh @@ -1,3 +1,3 @@ REMOTE_URL="https://github.com/mozilla/gecko-dev" BASE_BRANCH="release" -BASE_REVISION="ff7edb3e2dedcc1a940d96223bb863e1385408d6" +BASE_REVISION="8e5f1f8a340acdc8e5327874ddebc317cfd69a5b" diff --git a/browser_patches/firefox/patches/bootstrap.diff b/browser_patches/firefox/patches/bootstrap.diff index ad5b8c6505..fef8bad9cc 100644 --- a/browser_patches/firefox/patches/bootstrap.diff +++ b/browser_patches/firefox/patches/bootstrap.diff @@ -59,7 +59,7 @@ index 94aab80cef662a0ba092557cf2a9882c3dc919ac..f1df85042035d89665d7103faf52a892 * Return XPCOM wrapper for the internal accessible. */ diff --git a/browser/app/winlauncher/LauncherProcessWin.cpp b/browser/app/winlauncher/LauncherProcessWin.cpp -index c8104483ac57b54ca846803f584ff0146b81006d..f1763cc82998d03ac751a21b977a029ba400c9af 100644 +index 4460774865769609b66c0710f7c83f4d5c02b6fa..2ca95607b9b093218d48f83adc95c514cebe661b 100644 --- a/browser/app/winlauncher/LauncherProcessWin.cpp +++ b/browser/app/winlauncher/LauncherProcessWin.cpp @@ -23,6 +23,7 @@ @@ -109,7 +109,7 @@ index b59fe4b1854fec7cb329139f9c6773498fb9de51..29973af04902848808e850b40bf85e5f gmp-clearkey/0.1/manifest.json i686/gmp-clearkey/0.1/manifest.json diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in -index 0d2ff9dff23213b8599e597946ef164f31a3223c..83d55187ca3a7857959a672fd52bd4facf3a5013 100644 +index 73a41dc25b9ad674750ce5849a9db8f9878e5e11..e669054d361a148fff895ee24d1ea28c11d0a484 100644 --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in @@ -198,6 +198,11 @@ @@ -172,7 +172,7 @@ index 040c7b124dec6bb254563bbe74fe50012cb077a3..b4e6b8132786af70e8ad0dce88b67c28 const transportProvider = { setListener(upgradeListener) { diff --git a/docshell/base/BrowsingContext.cpp b/docshell/base/BrowsingContext.cpp -index 77e372c19b22fd7fa91fa631e0f8d1aabeb302b6..88a63e1749b114de137f48b49c9c46f54a27bd22 100644 +index 79f197f0662b780628058fe6954b43fac6055b98..916f382460081067e9dd80855b7a458eb1069d1f 100644 --- a/docshell/base/BrowsingContext.cpp +++ b/docshell/base/BrowsingContext.cpp @@ -109,6 +109,20 @@ struct ParamTraits @@ -238,10 +238,10 @@ index 77e372c19b22fd7fa91fa631e0f8d1aabeb302b6..88a63e1749b114de137f48b49c9c46f5 nsString&& aOldValue) { MOZ_ASSERT(IsTop()); diff --git a/docshell/base/BrowsingContext.h b/docshell/base/BrowsingContext.h -index bd75d0bcb495f8f71afdde33270af4ff5e2b6813..eb8a1fe21ce2c1a3710cd6c0e1eff42f80042c1f 100644 +index 94e2fb6bb4f4cbf54a50b4d1c705ca8007f3f8bc..b8e4c7f3e8537161c0294663014d1b661b27664a 100644 --- a/docshell/base/BrowsingContext.h +++ b/docshell/base/BrowsingContext.h -@@ -207,6 +207,8 @@ enum class ExplicitActiveStatus : uint8_t { +@@ -209,6 +209,8 @@ enum class ExplicitActiveStatus : uint8_t { FIELD(ServiceWorkersTestingEnabled, bool) \ FIELD(MediumOverride, nsString) \ FIELD(PrefersColorSchemeOverride, mozilla::dom::PrefersColorSchemeOverride) \ @@ -250,7 +250,7 @@ index bd75d0bcb495f8f71afdde33270af4ff5e2b6813..eb8a1fe21ce2c1a3710cd6c0e1eff42f FIELD(DisplayMode, mozilla::dom::DisplayMode) \ /* The number of entries added to the session history because of this \ * browsing context. */ \ -@@ -875,6 +877,14 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache { +@@ -878,6 +880,14 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache { return GetPrefersColorSchemeOverride(); } @@ -265,7 +265,7 @@ index bd75d0bcb495f8f71afdde33270af4ff5e2b6813..eb8a1fe21ce2c1a3710cd6c0e1eff42f void FlushSessionStore(); bool IsInBFCache() const; -@@ -1017,6 +1027,23 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache { +@@ -1022,6 +1032,23 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache { void DidSet(FieldIndex, dom::PrefersColorSchemeOverride aOldValue); @@ -290,7 +290,7 @@ index bd75d0bcb495f8f71afdde33270af4ff5e2b6813..eb8a1fe21ce2c1a3710cd6c0e1eff42f bool CanSet(FieldIndex, bool, ContentParent*) { diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp -index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b830db7976 100644 +index 04e70cfbaf5c9d5e463c5bc6919a282ce5d3cafd..6e70ab8334a4f2264ae0a4e4a23b9354d5f44967 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -15,6 +15,12 @@ @@ -314,15 +314,15 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 #include "mozilla/dom/HTMLAnchorElement.h" #include "mozilla/dom/HTMLIFrameElement.h" #include "mozilla/dom/PerformanceNavigation.h" -@@ -89,6 +96,7 @@ - #include "mozilla/dom/LoadURIOptionsBinding.h" +@@ -90,6 +97,7 @@ #include "mozilla/dom/JSWindowActorChild.h" + #include "mozilla/dom/DocumentBinding.h" #include "mozilla/ipc/ProtocolUtils.h" +#include "mozilla/dom/WorkerCommon.h" #include "mozilla/net/DocumentChannel.h" #include "mozilla/net/DocumentChannelChild.h" #include "mozilla/net/ParentChannelWrapper.h" -@@ -112,6 +120,7 @@ +@@ -113,6 +121,7 @@ #include "nsIDocShellTreeItem.h" #include "nsIDocShellTreeOwner.h" #include "mozilla/dom/Document.h" @@ -330,7 +330,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 #include "nsIDocumentLoaderFactory.h" #include "nsIDOMWindow.h" #include "nsIEditingSession.h" -@@ -206,6 +215,7 @@ +@@ -207,6 +216,7 @@ #include "nsFocusManager.h" #include "nsGlobalWindow.h" #include "nsJSEnvironment.h" @@ -338,7 +338,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 #include "nsNetCID.h" #include "nsNetUtil.h" #include "nsObjectLoadingContent.h" -@@ -369,6 +379,13 @@ nsDocShell::nsDocShell(BrowsingContext* aBrowsingContext, +@@ -370,6 +380,13 @@ nsDocShell::nsDocShell(BrowsingContext* aBrowsingContext, mAllowDNSPrefetch(true), mAllowWindowControl(true), mCSSErrorReportingEnabled(false), @@ -352,7 +352,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 mAllowAuth(mItemType == typeContent), mAllowKeywordFixup(false), mDisableMetaRefreshWhenInactive(false), -@@ -3126,6 +3143,221 @@ nsDocShell::GetMessageManager(ContentFrameMessageManager** aMessageManager) { +@@ -3234,6 +3251,221 @@ nsDocShell::GetMessageManager(ContentFrameMessageManager** aMessageManager) { return NS_OK; } @@ -574,7 +574,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 NS_IMETHODIMP nsDocShell::GetIsNavigating(bool* aOut) { *aOut = mIsNavigating; -@@ -4761,7 +4993,7 @@ nsDocShell::GetVisibility(bool* aVisibility) { +@@ -4869,7 +5101,7 @@ nsDocShell::GetVisibility(bool* aVisibility) { } void nsDocShell::ActivenessMaybeChanged() { @@ -583,7 +583,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 if (RefPtr presShell = GetPresShell()) { presShell->ActivenessMaybeChanged(); } -@@ -8460,6 +8692,12 @@ nsresult nsDocShell::PerformRetargeting(nsDocShellLoadState* aLoadState) { +@@ -8580,6 +8812,12 @@ nsresult nsDocShell::PerformRetargeting(nsDocShellLoadState* aLoadState) { true, // aForceNoOpener getter_AddRefs(newBC)); MOZ_ASSERT(!newBC); @@ -596,7 +596,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 return rv; } -@@ -12535,6 +12773,9 @@ class OnLinkClickEvent : public Runnable { +@@ -12688,6 +12926,9 @@ class OnLinkClickEvent : public Runnable { mHandler->OnLinkClickSync(mContent, mLoadState, mNoOpenerImplied, mTriggeringPrincipal); } @@ -606,7 +606,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 return NS_OK; } -@@ -12613,6 +12854,8 @@ nsresult nsDocShell::OnLinkClick( +@@ -12766,6 +13007,8 @@ nsresult nsDocShell::OnLinkClick( nsCOMPtr ev = new OnLinkClickEvent(this, aContent, loadState, noOpenerImplied, aIsTrusted, aTriggeringPrincipal); @@ -616,7 +616,7 @@ index 5f8c40c837bcb82e2759a02c2198dc411434175e..f9939a8db5319d80fde9c1c54f19b8b8 } diff --git a/docshell/base/nsDocShell.h b/docshell/base/nsDocShell.h -index a1a0a0310f25553a41abec2c88b32b4c2dfb816a..82c295a8b94e199d6bd2e58a74fe1377a8e84dfa 100644 +index dfc47bc499f6ecc8daa051401fc0ec47325c509a..4b5be8637ff12515a5d4217fc8d2e533ea4afdf0 100644 --- a/docshell/base/nsDocShell.h +++ b/docshell/base/nsDocShell.h @@ -16,6 +16,7 @@ @@ -651,7 +651,7 @@ index a1a0a0310f25553a41abec2c88b32b4c2dfb816a..82c295a8b94e199d6bd2e58a74fe1377 // Create a content viewer within this nsDocShell for the given // `WindowGlobalChild` actor. nsresult CreateContentViewerForActor( -@@ -1013,6 +1024,8 @@ class nsDocShell final : public nsDocLoader, +@@ -1018,6 +1029,8 @@ class nsDocShell final : public nsDocLoader, bool CSSErrorReportingEnabled() const { return mCSSErrorReportingEnabled; } @@ -660,7 +660,7 @@ index a1a0a0310f25553a41abec2c88b32b4c2dfb816a..82c295a8b94e199d6bd2e58a74fe1377 // Handles retrieval of subframe session history for nsDocShell::LoadURI. If a // load is requested in a subframe of the current DocShell, the subframe // loadType may need to reflect the loadType of the parent document, or in -@@ -1293,6 +1306,16 @@ class nsDocShell final : public nsDocLoader, +@@ -1300,6 +1313,16 @@ class nsDocShell final : public nsDocLoader, bool mAllowDNSPrefetch : 1; bool mAllowWindowControl : 1; bool mCSSErrorReportingEnabled : 1; @@ -732,7 +732,7 @@ index cf95a1a1d08a7ea225267a23a8a91714c20fecba..6af02d667af8a19d6e584467c92a7b1b * This attempts to save any applicable layout history state (like * scroll position) in the nsISHEntry. This is normally done diff --git a/dom/base/Document.cpp b/dom/base/Document.cpp -index a9ada9c2003a5181402bb7cb129b279ca67e0582..702675b660621235310a7b44e40998f9d7257b4d 100644 +index 4349b3c68bf6b46af817a3c8d89dfd094e8c4aaf..25aa6a28c85ac7c2ea3c6e453fa702d753179b0c 100644 --- a/dom/base/Document.cpp +++ b/dom/base/Document.cpp @@ -3535,6 +3535,9 @@ void Document::SendToConsole(nsCOMArray& aMessages) { @@ -768,7 +768,7 @@ index a9ada9c2003a5181402bb7cb129b279ca67e0582..702675b660621235310a7b44e40998f9 if (!fm->IsInActiveWindow(bc)) { return false; } -@@ -17726,6 +17738,71 @@ ColorScheme Document::PreferredColorScheme(IgnoreRFP aIgnoreRFP) const { +@@ -17738,6 +17750,71 @@ ColorScheme Document::PreferredColorScheme(IgnoreRFP aIgnoreRFP) const { return LookAndFeel::PreferredColorSchemeForContent(); } @@ -841,10 +841,10 @@ index a9ada9c2003a5181402bb7cb129b279ca67e0582..702675b660621235310a7b44e40998f9 if (!sLoadingForegroundTopLevelContentDocument) { return false; diff --git a/dom/base/Document.h b/dom/base/Document.h -index 2731d52f883c4f8f2eb609449f8d3e8f72be35ac..7a7cf143b1cb6a7511622519b0c93e8af5be8dc7 100644 +index 466d196719b7d2eea212255fba57262fb2972630..e80e928ba2670cdd4d8190e719672d9cb0f20049 100644 --- a/dom/base/Document.h +++ b/dom/base/Document.h -@@ -4021,6 +4021,9 @@ class Document : public nsINode, +@@ -4024,6 +4024,9 @@ class Document : public nsINode, // color-scheme meta tag. ColorScheme DefaultColorScheme() const; @@ -855,7 +855,7 @@ index 2731d52f883c4f8f2eb609449f8d3e8f72be35ac..7a7cf143b1cb6a7511622519b0c93e8a static bool AutomaticStorageAccessPermissionCanBeGranted( diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp -index 028104e23ade143e9288a9c7b9832e59fb1b2b6f..515f3f34a095c7f27a3bab072dd16f79dc054386 100644 +index 4d5a1dd6602c6564710c491ef83a456826f39994..f4ee1b2f0d4d7f7adc1796169e6e0a32dadc5e9f 100644 --- a/dom/base/Navigator.cpp +++ b/dom/base/Navigator.cpp @@ -333,14 +333,18 @@ void Navigator::GetAppName(nsAString& aAppName, CallerType aCallerType) const { @@ -919,10 +919,10 @@ index e36cd43b76fd09596f6ccc1e0d70848b3d4ab7c0..40b7f24d8507219a3a7c42857b068e50 dom::MediaCapabilities* MediaCapabilities(); dom::MediaSession* MediaSession(); diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp -index 82a2f07912338e1049efcfe523d985d44092e896..be6b087842f4426fddc413a6faa8bc15e9f662f7 100644 +index a78b76e7526dec7bc8a70841d9d002eedb5a78e8..4ce2869422b9657ff716a6ffad3f0a35ec826eae 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp -@@ -8195,7 +8195,8 @@ nsresult nsContentUtils::SendMouseEvent( +@@ -8165,7 +8165,8 @@ nsresult nsContentUtils::SendMouseEvent( bool aIgnoreRootScrollFrame, float aPressure, unsigned short aInputSourceArg, uint32_t aIdentifier, bool aToWindow, PreventDefaultResult* aPreventDefault, bool aIsDOMEventSynthesized, @@ -932,7 +932,7 @@ index 82a2f07912338e1049efcfe523d985d44092e896..be6b087842f4426fddc413a6faa8bc15 nsPoint offset; nsCOMPtr widget = GetWidget(aPresShell, &offset); if (!widget) return NS_ERROR_FAILURE; -@@ -8254,6 +8255,7 @@ nsresult nsContentUtils::SendMouseEvent( +@@ -8224,6 +8225,7 @@ nsresult nsContentUtils::SendMouseEvent( event.mTime = PR_IntervalNow(); event.mFlags.mIsSynthesizedForTests = aIsDOMEventSynthesized; event.mExitFrom = exitFrom; @@ -941,10 +941,10 @@ index 82a2f07912338e1049efcfe523d985d44092e896..be6b087842f4426fddc413a6faa8bc15 nsPresContext* presContext = aPresShell->GetPresContext(); if (!presContext) return NS_ERROR_FAILURE; diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h -index 1a62dbb47a96c6000b77203b28f930e02d9e8de4..22c242089d6b2e3a6e1fe765fb884a06678c933e 100644 +index 3dea23ecfcf29b4cfc057ec303c37bf15cdccb4d..cb2e2c21d50ac4a6235aad1028cc648fef703587 100644 --- a/dom/base/nsContentUtils.h +++ b/dom/base/nsContentUtils.h -@@ -2943,7 +2943,8 @@ class nsContentUtils { +@@ -2922,7 +2922,8 @@ class nsContentUtils { int32_t aModifiers, bool aIgnoreRootScrollFrame, float aPressure, unsigned short aInputSourceArg, uint32_t aIdentifier, bool aToWindow, mozilla::PreventDefaultResult* aPreventDefault, @@ -955,10 +955,10 @@ index 1a62dbb47a96c6000b77203b28f930e02d9e8de4..22c242089d6b2e3a6e1fe765fb884a06 static void FirePageShowEventForFrameLoaderSwap( nsIDocShellTreeItem* aItem, diff --git a/dom/base/nsDOMWindowUtils.cpp b/dom/base/nsDOMWindowUtils.cpp -index cbe96ce26a9bfd6d89af75d825561b09fe894584..a864cb4264b7f59020ef65c6ef7e1e9c3a94ee9f 100644 +index 18bbcdd6bb5cc011a51668cc8fbaf3a22fb38d90..1409e7e289ca57b15d789c3006fdbc1c21843e0a 100644 --- a/dom/base/nsDOMWindowUtils.cpp +++ b/dom/base/nsDOMWindowUtils.cpp -@@ -643,7 +643,7 @@ nsDOMWindowUtils::SendMouseEvent( +@@ -653,7 +653,7 @@ nsDOMWindowUtils::SendMouseEvent( int32_t aClickCount, int32_t aModifiers, bool aIgnoreRootScrollFrame, float aPressure, unsigned short aInputSourceArg, bool aIsDOMEventSynthesized, bool aIsWidgetEventSynthesized, @@ -967,7 +967,7 @@ index cbe96ce26a9bfd6d89af75d825561b09fe894584..a864cb4264b7f59020ef65c6ef7e1e9c bool* aPreventDefault) { return SendMouseEventCommon( aType, aX, aY, aButton, aClickCount, aModifiers, aIgnoreRootScrollFrame, -@@ -651,7 +651,7 @@ nsDOMWindowUtils::SendMouseEvent( +@@ -661,7 +661,7 @@ nsDOMWindowUtils::SendMouseEvent( aOptionalArgCount >= 7 ? aIdentifier : DEFAULT_MOUSE_POINTER_ID, false, aPreventDefault, aOptionalArgCount >= 4 ? aIsDOMEventSynthesized : true, aOptionalArgCount >= 5 ? aIsWidgetEventSynthesized : false, @@ -976,7 +976,7 @@ index cbe96ce26a9bfd6d89af75d825561b09fe894584..a864cb4264b7f59020ef65c6ef7e1e9c } NS_IMETHODIMP -@@ -678,13 +678,13 @@ nsDOMWindowUtils::SendMouseEventCommon( +@@ -688,13 +688,13 @@ nsDOMWindowUtils::SendMouseEventCommon( int32_t aClickCount, int32_t aModifiers, bool aIgnoreRootScrollFrame, float aPressure, unsigned short aInputSourceArg, uint32_t aPointerId, bool aToWindow, bool* aPreventDefault, bool aIsDOMEventSynthesized, @@ -1006,7 +1006,7 @@ index 30e0fafa77857c33e9871259a6ac0cebac965df8..3d8810abcfac1c220529b4e6163b0159 MOZ_CAN_RUN_SCRIPT nsresult SendTouchEventCommon( diff --git a/dom/base/nsFocusManager.cpp b/dom/base/nsFocusManager.cpp -index ffca01be8c11821a0721abc89f0c9b015313d07f..2ff23fda34c6efcb34c6ee0a09540353c2a91f57 100644 +index 8820d8b4ef115d92b9f29b6a708e404066649338..cf592f6d0faa9744a7eabaf557d1fbf8ac08e762 100644 --- a/dom/base/nsFocusManager.cpp +++ b/dom/base/nsFocusManager.cpp @@ -1612,6 +1612,10 @@ void nsFocusManager::SetFocusInner(Element* aNewContent, int32_t aFlags, @@ -1032,7 +1032,7 @@ index ffca01be8c11821a0721abc89f0c9b015313d07f..2ff23fda34c6efcb34c6ee0a09540353 // care of lowering the present active window. This happens in // a separate runnable to avoid touching multiple windows in diff --git a/dom/base/nsGlobalWindowOuter.cpp b/dom/base/nsGlobalWindowOuter.cpp -index d0d0d61f01c7b218447d1fdbe911c07dbe36e69f..46226d16a1da92d1fea3167013051130ec1efc5e 100644 +index 8353bb6abc9accba51df1f010b8689154166c841..f6eefddb1624890fca2d0ec99ead085508be9b78 100644 --- a/dom/base/nsGlobalWindowOuter.cpp +++ b/dom/base/nsGlobalWindowOuter.cpp @@ -2497,7 +2497,7 @@ nsresult nsGlobalWindowOuter::SetNewDocument(Document* aDocument, @@ -1101,7 +1101,7 @@ index d0d0d61f01c7b218447d1fdbe911c07dbe36e69f..46226d16a1da92d1fea3167013051130 } diff --git a/dom/base/nsGlobalWindowOuter.h b/dom/base/nsGlobalWindowOuter.h -index 36a0e44fe07aab8f94127eba008aac39d961820d..70545b547d5bd43f559ce86af29205f7a9641262 100644 +index a8f07f12f70f27016b6e231fc56f772d97903b56..ca36219473ff14b15e2d92e41fb08d320ec1c880 100644 --- a/dom/base/nsGlobalWindowOuter.h +++ b/dom/base/nsGlobalWindowOuter.h @@ -330,6 +330,7 @@ class nsGlobalWindowOuter final : public mozilla::dom::EventTarget, @@ -1113,7 +1113,7 @@ index 36a0e44fe07aab8f94127eba008aac39d961820d..70545b547d5bd43f559ce86af29205f7 // Outer windows only. virtual void EnsureSizeAndPositionUpToDate() override; diff --git a/dom/base/nsINode.cpp b/dom/base/nsINode.cpp -index 53923f4175378ffa155157c18d2d1b4037ca3d0f..d243ba6d165436d8c2e1bdaec149d445f6ad0547 100644 +index 0838d1c199b2a6c58c2b3f1b9eb4163ace36f9f1..71b974abc9dd683a2a069dfe4925c66089e4f3aa 100644 --- a/dom/base/nsINode.cpp +++ b/dom/base/nsINode.cpp @@ -1313,6 +1313,49 @@ void nsINode::GetBoxQuadsFromWindowOrigin(const BoxQuadOptions& aOptions, @@ -1167,10 +1167,10 @@ index 53923f4175378ffa155157c18d2d1b4037ca3d0f..d243ba6d165436d8c2e1bdaec149d445 DOMQuad& aQuad, const GeometryNode& aFrom, const ConvertCoordinateOptions& aOptions, CallerType aCallerType, diff --git a/dom/base/nsINode.h b/dom/base/nsINode.h -index 9db26035df17a14a41fa653e7ae25f0da95066e3..df31fbbb6fbb7b122a21976d2a6adfc1d7dc9308 100644 +index 3991f8007498f04a07b7a46b82fb41c944330ffa..ac06535828a22c9261641c880be788b29c976b3d 100644 --- a/dom/base/nsINode.h +++ b/dom/base/nsINode.h -@@ -2111,6 +2111,10 @@ class nsINode : public mozilla::dom::EventTarget { +@@ -2123,6 +2123,10 @@ class nsINode : public mozilla::dom::EventTarget { nsTArray>& aResult, ErrorResult& aRv); @@ -1210,7 +1210,7 @@ index c22cddecd75ee538aa401b9195d23bad71e067b3..1b48a12fd30c305aecf1929a47cb22a1 static bool DumpEnabled(); diff --git a/dom/chrome-webidl/BrowsingContext.webidl b/dom/chrome-webidl/BrowsingContext.webidl -index 4f8f8df3cecec37d87dfb6f23d5888419d9b8d6c..2e5ef8dc4599a6bd26654023360421394cc59c3e 100644 +index 71c528f94d8f17296e50191b335e39078366237d..c75495ab70c02d3221fbb93696d6c048e67a5676 100644 --- a/dom/chrome-webidl/BrowsingContext.webidl +++ b/dom/chrome-webidl/BrowsingContext.webidl @@ -52,6 +52,24 @@ enum PrefersColorSchemeOverride { @@ -1363,7 +1363,7 @@ index ed81524ff3ce803802578a38433b6b724df8ccf2..55022f28db9ca5695c0bdee8ffd9509c ~Geolocation(); diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp -index e638c5c1176487feb8bbfd2514c103171a5cc60d..a0ecfe3c8e611ad23ab9f03d69202c9b79a9dc2f 100644 +index d155786e6a4f3cc17593dabc2f78eb8291aacec8..69b7e35da5c639457159cdafaec393a4b64bc6ce 100644 --- a/dom/html/HTMLInputElement.cpp +++ b/dom/html/HTMLInputElement.cpp @@ -52,6 +52,7 @@ @@ -1388,10 +1388,10 @@ index e638c5c1176487feb8bbfd2514c103171a5cc60d..a0ecfe3c8e611ad23ab9f03d69202c9b return NS_OK; } diff --git a/dom/interfaces/base/nsIDOMWindowUtils.idl b/dom/interfaces/base/nsIDOMWindowUtils.idl -index e74922a6826fba2d6fbe92ef31ba8738b667dd3d..7b18bcb59a661c7df03ff7f791414f7026291020 100644 +index 5c5aa1c3384cc8aee8e08f84cc7af24ecec46662..9290b09f03fd77dc0c81d54360092ea112126920 100644 --- a/dom/interfaces/base/nsIDOMWindowUtils.idl +++ b/dom/interfaces/base/nsIDOMWindowUtils.idl -@@ -353,7 +353,8 @@ interface nsIDOMWindowUtils : nsISupports { +@@ -364,7 +364,8 @@ interface nsIDOMWindowUtils : nsISupports { [optional] in boolean aIsDOMEventSynthesized, [optional] in boolean aIsWidgetEventSynthesized, [optional] in long aButtons, @@ -1639,10 +1639,10 @@ index 2f71b284ee5f7e11f117c447834b48355784448c..d996e0a3cbbb19c1dc320c305c6d7403 * returned quads are further translated relative to the window * origin -- which is not the layout origin. Further translation diff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp -index 4e419b68f6554da4d82e51706c30111d1341fb3a..6057f0b5e64b4ad7f6cf0dea37eabbee7299702b 100644 +index 0ff821a12a6a7f4b844d34ffa1d23ce61257bcf5..ef3d5c0ce3a8974703f6627874c7b3e6b8f8ab29 100644 --- a/dom/workers/RuntimeService.cpp +++ b/dom/workers/RuntimeService.cpp -@@ -1002,7 +1002,7 @@ void PrefLanguagesChanged(const char* /* aPrefName */, void* /* aClosure */) { +@@ -968,7 +968,7 @@ void PrefLanguagesChanged(const char* /* aPrefName */, void* /* aClosure */) { AssertIsOnMainThread(); nsTArray languages; @@ -1651,7 +1651,7 @@ index 4e419b68f6554da4d82e51706c30111d1341fb3a..6057f0b5e64b4ad7f6cf0dea37eabbee RuntimeService* runtime = RuntimeService::GetService(); if (runtime) { -@@ -1205,8 +1205,7 @@ bool RuntimeService::RegisterWorker(WorkerPrivate& aWorkerPrivate) { +@@ -1171,8 +1171,7 @@ bool RuntimeService::RegisterWorker(WorkerPrivate& aWorkerPrivate) { } // The navigator overridden properties should have already been read. @@ -1661,7 +1661,7 @@ index 4e419b68f6554da4d82e51706c30111d1341fb3a..6057f0b5e64b4ad7f6cf0dea37eabbee mNavigatorPropertiesLoaded = true; } -@@ -1910,6 +1909,13 @@ void RuntimeService::PropagateStorageAccessPermissionGranted( +@@ -1866,6 +1865,13 @@ void RuntimeService::PropagateStorageAccessPermissionGranted( } } @@ -1675,7 +1675,7 @@ index 4e419b68f6554da4d82e51706c30111d1341fb3a..6057f0b5e64b4ad7f6cf0dea37eabbee void RuntimeService::NoteIdleThread(SafeRefPtr aThread) { AssertIsOnMainThread(); MOZ_ASSERT(aThread); -@@ -2329,6 +2335,14 @@ void PropagateStorageAccessPermissionGrantedToWorkers( +@@ -2285,6 +2291,14 @@ void PropagateStorageAccessPermissionGrantedToWorkers( } } @@ -1717,10 +1717,10 @@ index 8b1b46d69f2c90d851d292c285a1ba9bdbd4d9b7..dea5259b0a82e5e6d3c431fc78e60d5d bool IsWorkerGlobal(JSObject* global); diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp -index 36a05280ed0cd6a1bc6e78c8c05d945ec5766b94..16cd443e659692c759e37ceda9f6161f44e56d9e 100644 +index b69063614647affcaa6da82692a0325a2b327f30..cecbb234d460e0a15df4fe9a44a052615856f720 100644 --- a/dom/workers/WorkerPrivate.cpp +++ b/dom/workers/WorkerPrivate.cpp -@@ -687,6 +687,18 @@ class UpdateContextOptionsRunnable final : public WorkerControlRunnable { +@@ -692,6 +692,18 @@ class UpdateContextOptionsRunnable final : public WorkerControlRunnable { } }; @@ -1739,7 +1739,7 @@ index 36a05280ed0cd6a1bc6e78c8c05d945ec5766b94..16cd443e659692c759e37ceda9f6161f class UpdateLanguagesRunnable final : public WorkerRunnable { nsTArray mLanguages; -@@ -1882,6 +1894,16 @@ void WorkerPrivate::UpdateContextOptions( +@@ -1887,6 +1899,16 @@ void WorkerPrivate::UpdateContextOptions( } } @@ -1756,7 +1756,7 @@ index 36a05280ed0cd6a1bc6e78c8c05d945ec5766b94..16cd443e659692c759e37ceda9f6161f void WorkerPrivate::UpdateLanguages(const nsTArray& aLanguages) { AssertIsOnParentThread(); -@@ -4981,6 +5003,15 @@ void WorkerPrivate::UpdateContextOptionsInternal( +@@ -4986,6 +5008,15 @@ void WorkerPrivate::UpdateContextOptionsInternal( } } @@ -1773,10 +1773,10 @@ index 36a05280ed0cd6a1bc6e78c8c05d945ec5766b94..16cd443e659692c759e37ceda9f6161f const nsTArray& aLanguages) { WorkerGlobalScope* globalScope = GlobalScope(); diff --git a/dom/workers/WorkerPrivate.h b/dom/workers/WorkerPrivate.h -index c3e2b68830071b74004be9eb6694e6745703c330..d40ff85b1287d8392e53c9d6a60ef10eb5eaf969 100644 +index 930b8b3a3382df17e17cc8f628c657a68777bc6c..347b1b62457baf80f8a1f0df3e27e0d6bca872a1 100644 --- a/dom/workers/WorkerPrivate.h +++ b/dom/workers/WorkerPrivate.h -@@ -307,6 +307,8 @@ class WorkerPrivate final : public RelativeTimeline { +@@ -309,6 +309,8 @@ class WorkerPrivate final void UpdateContextOptionsInternal(JSContext* aCx, const JS::ContextOptions& aContextOptions); @@ -1785,7 +1785,7 @@ index c3e2b68830071b74004be9eb6694e6745703c330..d40ff85b1287d8392e53c9d6a60ef10e void UpdateLanguagesInternal(const nsTArray& aLanguages); void UpdateJSWorkerMemoryParameterInternal(JSContext* aCx, JSGCParamKey key, -@@ -924,6 +926,8 @@ class WorkerPrivate final : public RelativeTimeline { +@@ -929,6 +931,8 @@ class WorkerPrivate final void UpdateContextOptions(const JS::ContextOptions& aContextOptions); @@ -2006,10 +2006,10 @@ index f2723e654098ff27542e1eb16a536c11ad0af617..b0b480551ff7d895dfdeb5a980087485 /* Use accelerated SIMD routines. */ diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js -index fab5c7b41b8e13ae1ed0d8177cd7eb2b9a9569e1..4a2bbe44f1a5be588b4b0cd072412da94feecea2 100644 +index 37dd37048ca1e88d415ce717e76327db02dbddde..3353b73cbca404cf0403353f3f7e13851b6ad53f 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js -@@ -4583,7 +4583,9 @@ pref("devtools.experiment.f12.shortcut_disabled", false); +@@ -4579,7 +4579,9 @@ pref("devtools.experiment.f12.shortcut_disabled", false); // doesn't provide a way to lock the pref pref("dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled", false); #else @@ -2033,10 +2033,10 @@ index e869cd28d396aa87c522241d3e63d435ee8dbae6..2d307f089209721d88d231b03e862889 /** * Set the status and reason for the forthcoming synthesized response. diff --git a/netwerk/protocol/http/InterceptedHttpChannel.cpp b/netwerk/protocol/http/InterceptedHttpChannel.cpp -index 0e7e71e7ff313e370cd06f9e835143ece003c718..d2a2f0b206568a0205806c01af2e1d1b5f5874f3 100644 +index b9b0a1e9ac5e15106fdd417451bf4b6f5297fd6f..7c6fc15cc362492264aaa8500bbbac6670a2ca87 100644 --- a/netwerk/protocol/http/InterceptedHttpChannel.cpp +++ b/netwerk/protocol/http/InterceptedHttpChannel.cpp -@@ -649,6 +649,14 @@ void InterceptedHttpChannel::DoAsyncAbort(nsresult aStatus) { +@@ -652,6 +652,14 @@ void InterceptedHttpChannel::DoAsyncAbort(nsresult aStatus) { Unused << AsyncAbort(aStatus); } @@ -2156,7 +2156,7 @@ index 3862fe6830874c036592fd217cab7ad5f4cd3e27..3166b37db0e52f7f2972d2bcb7a72ed8 readonly attribute boolean securityCheckDisabled; }; diff --git a/services/settings/Utils.jsm b/services/settings/Utils.jsm -index bf3545250ccc085fa22a7c6b1603ae26b12dcd74..eee7d330eda3bed33fd864602deb5ac772c5ed71 100644 +index 594259d9f32e9fa6b66b4e69c4c2693232e10a4e..e91040735292ecc4f4e8e0d045ccd4c301e3995a 100644 --- a/services/settings/Utils.jsm +++ b/services/settings/Utils.jsm @@ -63,7 +63,7 @@ var Utils = { @@ -2223,7 +2223,7 @@ index 6cf104c07f5140d881eed17783d404075766ed41..1d476170119aa9b9e1007ea25d8039e8 if (provider.failed) { diff --git a/toolkit/components/startup/nsAppStartup.cpp b/toolkit/components/startup/nsAppStartup.cpp -index a28e55b794ff79a3d891d31d45281444984ebed4..8d9e5fa02511ead57da80158c8e9d58fccebaa24 100644 +index a76e612bc7149155305468307bebf0e69679897d..ba3c5dc0af69a34fcfbf04a3dbc506ef45833107 100644 --- a/toolkit/components/startup/nsAppStartup.cpp +++ b/toolkit/components/startup/nsAppStartup.cpp @@ -370,7 +370,7 @@ nsAppStartup::Quit(uint32_t aMode, int aExitCode, bool* aUserAllowedQuit) { @@ -2236,7 +2236,7 @@ index a28e55b794ff79a3d891d31d45281444984ebed4..8d9e5fa02511ead57da80158c8e9d58f if (windowEnumerator) { bool more; diff --git a/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp b/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp -index d55b12233dc4654cbd44e0b4bdcdd14af8d1f2e2..71673b15ef4b7b72f7faae17648d8dc1c9f82594 100644 +index 3e9672fdfe9ddab8acd0f8b18772aece92bb3b64..83454a9c27c96d72597445653beaa014c38728cd 100644 --- a/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp +++ b/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp @@ -174,8 +174,8 @@ nsBrowserStatusFilter::OnStateChange(nsIWebProgress* aWebProgress, @@ -2251,10 +2251,10 @@ index d55b12233dc4654cbd44e0b4bdcdd14af8d1f2e2..71673b15ef4b7b72f7faae17648d8dc1 int32_t aMaxSelfProgress, int32_t aCurTotalProgress, diff --git a/toolkit/components/windowwatcher/nsWindowWatcher.cpp b/toolkit/components/windowwatcher/nsWindowWatcher.cpp -index 2005c0dea00e5bf1d8ff3be47e304a03f51c0709..366f3f3e4087598bc90e8ba9b9b3d00e88bedffc 100644 +index 0c23d733ba096c44f799b806f5c13e2a2f99e63b..7dd0b8639dbc5b5788655a757df1bb7c4839da4f 100644 --- a/toolkit/components/windowwatcher/nsWindowWatcher.cpp +++ b/toolkit/components/windowwatcher/nsWindowWatcher.cpp -@@ -1792,7 +1792,11 @@ uint32_t nsWindowWatcher::CalculateChromeFlagsForContent( +@@ -1794,7 +1794,11 @@ uint32_t nsWindowWatcher::CalculateChromeFlagsForContent( // Open a minimal popup. *aIsPopupRequested = true; @@ -2268,10 +2268,10 @@ index 2005c0dea00e5bf1d8ff3be47e304a03f51c0709..366f3f3e4087598bc90e8ba9b9b3d00e /** diff --git a/toolkit/mozapps/update/UpdateService.jsm b/toolkit/mozapps/update/UpdateService.jsm -index 3d0faec56cb27bea8a0f5d9d241aca5a81ddcf0e..cc7290300de4b4b306cedffb1502e314398462aa 100644 +index 714c5d1d4ac9c34b39fd4ff8674b69f1b433f219..17b31e96694f23855d17ddde23cc304dc2af4072 100644 --- a/toolkit/mozapps/update/UpdateService.jsm +++ b/toolkit/mozapps/update/UpdateService.jsm -@@ -3569,7 +3569,7 @@ UpdateService.prototype = { +@@ -3573,7 +3573,7 @@ UpdateService.prototype = { }, get disabledForTesting() { @@ -2281,7 +2281,7 @@ index 3d0faec56cb27bea8a0f5d9d241aca5a81ddcf0e..cc7290300de4b4b306cedffb1502e314 Services.prefs.getBoolPref(PREF_APP_UPDATE_DISABLEDFORTESTING, false) ); diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild -index e9f7e1bd28f6786ba1277c6a8d19fea9d89215e6..ad562005dcc9af63a6bfd53a19eb8f8ec6130473 100644 +index 1f3898c40f4add3a9b7904e871d3d14e6d56c424..cb24b9574b99c4a612e8dc4632f2353fb29d4b96 100644 --- a/toolkit/toolkit.mozbuild +++ b/toolkit/toolkit.mozbuild @@ -159,6 +159,7 @@ if CONFIG['ENABLE_WEBDRIVER']: @@ -2330,7 +2330,7 @@ index 11f4ff8bbe2679f224f55c9e5a0c8bbf79cf0688..7e41e029504b057ba166ee3765317714 // Only run this code if LauncherProcessWin.h was included beforehand, thus // signalling that the hosting process should support launcher mode. diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp -index 679bb71697e0cbcba334472e696c5c096e92bfde..546fb62e72a42b39ac686d090cf30fe8b048611c 100644 +index 9ca3975c99c8bff3829bce1cf49d1235910c3ab8..6606eb02fba53ea8bd401d07460b85b068abd2bd 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -827,6 +827,13 @@ void nsDocLoader::DocLoaderIsEmpty(bool aFlushLayout, @@ -2348,10 +2348,10 @@ index 679bb71697e0cbcba334472e696c5c096e92bfde..546fb62e72a42b39ac686d090cf30fe8 // nsDocumentViewer::LoadComplete that doesn't do various things // that are not relevant here because this wasn't an actual diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp -index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc1156599d07b 100644 +index 6e9fb1aff06f247ad43c9e70bfa2dd88ee874d04..b7a5e5aef5eea020e0a19eea745a3afee7a83ac1 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp -@@ -102,6 +102,7 @@ +@@ -105,6 +105,7 @@ #include "mozilla/Components.h" #include "mozilla/ClearOnShutdown.h" @@ -2359,7 +2359,7 @@ index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc115 #include "mozilla/Preferences.h" #include "mozilla/ipc/URIUtils.h" -@@ -957,6 +958,12 @@ NS_IMETHODIMP nsExternalHelperAppService::ApplyDecodingForExtension( +@@ -993,6 +994,12 @@ NS_IMETHODIMP nsExternalHelperAppService::ApplyDecodingForExtension( return NS_OK; } @@ -2372,7 +2372,7 @@ index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc115 nsresult nsExternalHelperAppService::GetFileTokenForPath( const char16_t* aPlatformAppPath, nsIFile** aFile) { nsDependentString platformAppPath(aPlatformAppPath); -@@ -1637,7 +1644,12 @@ nsresult nsExternalAppHandler::SetUpTempFile(nsIChannel* aChannel) { +@@ -1646,7 +1653,12 @@ nsresult nsExternalAppHandler::SetUpTempFile(nsIChannel* aChannel) { // Strip off the ".part" from mTempLeafName mTempLeafName.Truncate(mTempLeafName.Length() - ArrayLength(".part") + 1); @@ -2385,7 +2385,7 @@ index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc115 mSaver = do_CreateInstance(NS_BACKGROUNDFILESAVERSTREAMLISTENER_CONTRACTID, &rv); NS_ENSURE_SUCCESS(rv, rv); -@@ -1817,7 +1829,36 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) { +@@ -1837,7 +1849,36 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) { return NS_OK; } @@ -2423,7 +2423,7 @@ index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc115 if (NS_FAILED(rv)) { nsresult transferError = rv; -@@ -1872,6 +1913,9 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) { +@@ -1892,6 +1933,9 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) { bool alwaysAsk = true; mMimeInfo->GetAlwaysAskBeforeHandling(&alwaysAsk); @@ -2433,7 +2433,7 @@ index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc115 if (alwaysAsk) { // But we *don't* ask if this mimeInfo didn't come from // our user configuration datastore and the user has said -@@ -2411,6 +2455,16 @@ nsExternalAppHandler::OnSaveComplete(nsIBackgroundFileSaver* aSaver, +@@ -2458,6 +2502,16 @@ nsExternalAppHandler::OnSaveComplete(nsIBackgroundFileSaver* aSaver, NotifyTransfer(aStatus); } @@ -2450,7 +2450,7 @@ index 7550a6692efe654ba10282ff77c4c936c45d2cc9..bce42c91d94aeae9bf20a18b6c4bc115 return NS_OK; } -@@ -2847,6 +2901,15 @@ NS_IMETHODIMP nsExternalAppHandler::Cancel(nsresult aReason) { +@@ -2931,6 +2985,15 @@ NS_IMETHODIMP nsExternalAppHandler::Cancel(nsresult aReason) { } } @@ -2560,7 +2560,7 @@ diff --git a/widget/cocoa/NativeKeyBindings.mm b/widget/cocoa/NativeKeyBindings. index 2b11df66d9445080d4d8a19a915b3e00285c5d32..caef1b65bbcff899f45c3e3cddfe76e88479ec30 100644 --- a/widget/cocoa/NativeKeyBindings.mm +++ b/widget/cocoa/NativeKeyBindings.mm -@@ -491,6 +491,13 @@ +@@ -491,6 +491,13 @@ void NativeKeyBindings::GetEditCommandsForTests(NativeKeyBindingsType aType, break; case KEY_NAME_INDEX_ArrowLeft: if (aEvent.IsAlt()) { @@ -2574,7 +2574,7 @@ index 2b11df66d9445080d4d8a19a915b3e00285c5d32..caef1b65bbcff899f45c3e3cddfe76e8 break; } if (aEvent.IsMeta() || (aEvent.IsControl() && aEvent.IsShift())) { -@@ -511,6 +518,13 @@ +@@ -511,6 +518,13 @@ void NativeKeyBindings::GetEditCommandsForTests(NativeKeyBindingsType aType, break; case KEY_NAME_INDEX_ArrowRight: if (aEvent.IsAlt()) { @@ -2588,7 +2588,7 @@ index 2b11df66d9445080d4d8a19a915b3e00285c5d32..caef1b65bbcff899f45c3e3cddfe76e8 break; } if (aEvent.IsMeta() || (aEvent.IsControl() && aEvent.IsShift())) { -@@ -531,6 +545,10 @@ +@@ -531,6 +545,10 @@ void NativeKeyBindings::GetEditCommandsForTests(NativeKeyBindingsType aType, break; case KEY_NAME_INDEX_ArrowUp: if (aEvent.IsControl()) { @@ -2599,7 +2599,7 @@ index 2b11df66d9445080d4d8a19a915b3e00285c5d32..caef1b65bbcff899f45c3e3cddfe76e8 break; } if (aEvent.IsMeta()) { -@@ -540,7 +558,7 @@ +@@ -540,7 +558,7 @@ void NativeKeyBindings::GetEditCommandsForTests(NativeKeyBindingsType aType, instance->AppendEditCommandsForSelector( !aEvent.IsShift() ? ToObjcSelectorPtr(@selector(moveToBeginningOfDocument:)) @@ -2608,7 +2608,7 @@ index 2b11df66d9445080d4d8a19a915b3e00285c5d32..caef1b65bbcff899f45c3e3cddfe76e8 aCommands); break; } -@@ -563,6 +581,10 @@ +@@ -563,6 +581,10 @@ void NativeKeyBindings::GetEditCommandsForTests(NativeKeyBindingsType aType, break; case KEY_NAME_INDEX_ArrowDown: if (aEvent.IsControl()) { @@ -2769,7 +2769,7 @@ index 7f91de9e67d7ffa02de3eef1d760e5cfd05e7ad6..753b8902026626e8f0a190ea3130ba5e } // namespace widget diff --git a/widget/headless/HeadlessWidget.cpp b/widget/headless/HeadlessWidget.cpp -index 4cd7a8be322851f2710b4c60fbd6377f8cc4abfc..6bfb3da3e82ebfb453cd036c8b22921d506a3762 100644 +index a2baba4c5ea46ef64d686fe9e45a5a7921072934..6615cacf122182faca6bbc9f041e9c0434122719 100644 --- a/widget/headless/HeadlessWidget.cpp +++ b/widget/headless/HeadlessWidget.cpp @@ -107,6 +107,8 @@ void HeadlessWidget::Destroy() { @@ -2781,7 +2781,7 @@ index 4cd7a8be322851f2710b4c60fbd6377f8cc4abfc..6bfb3da3e82ebfb453cd036c8b22921d nsBaseWidget::OnDestroy(); nsBaseWidget::Destroy(); -@@ -561,5 +563,15 @@ nsresult HeadlessWidget::SynthesizeNativeTouchPadPinch( +@@ -558,5 +560,15 @@ nsresult HeadlessWidget::SynthesizeNativeTouchPadPinch( DispatchPinchGestureInput(inputToDispatch); return NS_OK; } @@ -2798,10 +2798,10 @@ index 4cd7a8be322851f2710b4c60fbd6377f8cc4abfc..6bfb3da3e82ebfb453cd036c8b22921d } // namespace widget } // namespace mozilla diff --git a/widget/headless/HeadlessWidget.h b/widget/headless/HeadlessWidget.h -index 438456368c36f90e50ff1696456678b385da80c3..9f79c6af75b881a318b4beb6a4ef713db6b10c7f 100644 +index 393f786fdcf3ae55de85a7b06cf60703b7b5ad5b..24194fb3708dd67194193e95a16c5eb5ff4845a3 100644 --- a/widget/headless/HeadlessWidget.h +++ b/widget/headless/HeadlessWidget.h -@@ -134,6 +134,9 @@ class HeadlessWidget : public nsBaseWidget { +@@ -133,6 +133,9 @@ class HeadlessWidget : public nsBaseWidget { TouchpadGesturePhase aEventPhase, float aScale, LayoutDeviceIntPoint aPoint, int32_t aModifierFlags) override;