Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
browser(firefox-stable): roll to Firefox 88.0 (#6249)
Andrey Lushnikov4dd8a1c8f1cf
diff --git a/browser_patches/firefox-stable/BUILD_NUMBER b/browser_patches/firefox-stable/BUILD_NUMBERindex e826719807..7098048c84 100644--- a/browser_patches/firefox-stable/BUILD_NUMBER+++ b/browser_patches/firefox-stable/BUILD_NUMBER@@ -1,2 +1,2 @@-1242-Changed: [email protected] Fri 09 Apr 2021 09:56:28 PM PDT+1243+Changed: [email protected] Tue 20 Apr 2021 01:41:52 PM PDTdiff --git a/browser_patches/firefox-stable/UPSTREAM_CONFIG.sh b/browser_patches/firefox-stable/UPSTREAM_CONFIG.shindex 978ea85053..e6845a95ba 100644--- a/browser_patches/firefox-stable/UPSTREAM_CONFIG.sh+++ b/browser_patches/firefox-stable/UPSTREAM_CONFIG.sh@@ -1,3 +1,3 @@REMOTE_URL="https://github.com/mozilla/gecko-dev"BASE_BRANCH="release"-BASE_REVISION="4068febfd76d9ec557591240d7496be42c27c17f"+BASE_REVISION="16ac03f1dc5ecf19aadcbac16c273e58b69cc8ab"diff --git a/browser_patches/firefox-stable/juggler/content/FrameTree.js b/browser_patches/firefox-stable/juggler/content/FrameTree.jsindex e2f8828b94..1dd040fbf2 100644--- a/browser_patches/firefox-stable/juggler/content/FrameTree.js+++ b/browser_patches/firefox-stable/juggler/content/FrameTree.js@@ -54,7 +54,7 @@ class FrameTree {this._onWorkerCreated(workerDebugger);const flags = Ci.nsIWebProgress.NOTIFY_STATE_DOCUMENT |- Ci.nsIWebProgress.NOTIFY_FRAME_LOCATION;+ Ci.nsIWebProgress.NOTIFY_LOCATION;this._eventListeners = [helper.addObserver(this._onDOMWindowCreated.bind(this), 'content-document-global-created'),helper.addObserver(this._onDOMWindowCreated.bind(this), 'juggler-dom-window-reused'),@@ -231,7 +231,7 @@ class FrameTree {this.emit(FrameTree.Events.Load, frame);}- onFrameLocationChange(progress, request, location, flags) {+ onLocationChange(progress, request, location, flags) {const docShell = progress.DOMWindow.docShell;const frame = this._docShellToFrame.get(docShell);const sameDocumentNavigation = !!(flags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT);diff --git a/browser_patches/firefox-stable/patches/bootstrap.diff b/browser_patches/firefox-stable/patches/bootstrap.diffindex 0ea3cf1157..5577c43efc 100644--- a/browser_patches/firefox-stable/patches/bootstrap.diff+++ b/browser_patches/firefox-stable/patches/bootstrap.diff@@ -26,10 +26,10 @@ index a91df31c96afda66f478a5a38eaa4352039c2a0b..ee777c1746284027fb3aa2f1686f8082+ readonly attribute boolean isUpdatePendingForJugglerAccessibility;};diff --git a/accessible/xpcom/xpcAccessibleDocument.cpp b/accessible/xpcom/xpcAccessibleDocument.cpp-index 57566c4569fba26bb5d74f4eb202e93dcf65778f..7b3305b9fb5ccf4796cc1bd2e0fffdcaa1f81330 100644+index ec83b699e1449b2610b43b35694ee18d80cee2ff..66854bda7d8c20627949289b9f2e2e161a00fea8 100644--- a/accessible/xpcom/xpcAccessibleDocument.cpp+++ b/accessible/xpcom/xpcAccessibleDocument.cpp-@@ -143,6 +143,15 @@ xpcAccessibleDocument::GetVirtualCursor(nsIAccessiblePivot** aVirtualCursor) {+@@ -142,6 +142,15 @@ xpcAccessibleDocument::GetVirtualCursor(nsIAccessiblePivot** aVirtualCursor) {return NS_OK;}@@ -46,7 +46,7 @@ index 57566c4569fba26bb5d74f4eb202e93dcf65778f..7b3305b9fb5ccf4796cc1bd2e0fffdca// xpcAccessibleDocumentdiff --git a/accessible/xpcom/xpcAccessibleDocument.h b/accessible/xpcom/xpcAccessibleDocument.h-index b08377cf1016ee8c24cf8782adf861a5b6dca0ac..cc606615f855026930375079bde89a3ebd580d46 100644+index 94aab80cef662a0ba092557cf2a9882c3dc919ac..f1df85042035d89665d7103faf52a8922856a052 100644--- a/accessible/xpcom/xpcAccessibleDocument.h+++ b/accessible/xpcom/xpcAccessibleDocument.h@@ -48,6 +48,8 @@ class xpcAccessibleDocument : public xpcAccessibleHyperText,@@ -172,7 +172,7 @@ index 040c7b124dec6bb254563bbe74fe50012cb077a3..b4e6b8132786af70e8ad0dce88b67c28const transportProvider = {setListener(upgradeListener) {diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp-index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f12ca63222 100644+index dffed2bfcca2ef93c0ee97129baa30743bf15b9f..de8cbb9884553088354b4f58c77ac5a0c33c37b9 100644--- a/docshell/base/nsDocShell.cpp+++ b/docshell/base/nsDocShell.cpp@@ -15,6 +15,12 @@@@ -188,7 +188,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1#include "mozilla/ArrayUtils.h"#include "mozilla/Attributes.h"#include "mozilla/AutoRestore.h"-@@ -61,6 +67,7 @@+@@ -62,6 +68,7 @@#include "mozilla/dom/ContentFrameMessageManager.h"#include "mozilla/dom/DocGroup.h"#include "mozilla/dom/Element.h"@@ -196,7 +196,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1#include "mozilla/dom/HTMLAnchorElement.h"#include "mozilla/dom/HTMLIFrameElement.h"#include "mozilla/dom/PerformanceNavigation.h"-@@ -82,6 +89,7 @@+@@ -83,6 +90,7 @@#include "mozilla/dom/LoadURIOptionsBinding.h"#include "mozilla/dom/JSWindowActorChild.h"#include "mozilla/ipc/ProtocolUtils.h"@@ -204,7 +204,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1#include "mozilla/net/DocumentChannel.h"#include "mozilla/net/ParentChannelWrapper.h"#include "mozilla/net/UrlClassifierFeatureFactory.h"-@@ -106,6 +114,7 @@+@@ -107,6 +115,7 @@#include "nsIDocShellTreeItem.h"#include "nsIDocShellTreeOwner.h"#include "mozilla/dom/Document.h"@@ -212,7 +212,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1#include "nsIDocumentLoaderFactory.h"#include "nsIDOMWindow.h"#include "nsIEditingSession.h"-@@ -200,6 +209,7 @@+@@ -201,6 +210,7 @@#include "nsGlobalWindow.h"#include "nsISearchService.h"#include "nsJSEnvironment.h"@@ -220,7 +220,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1#include "nsNetCID.h"#include "nsNetUtil.h"#include "nsObjectLoadingContent.h"-@@ -395,6 +405,12 @@ nsDocShell::nsDocShell(BrowsingContext* aBrowsingContext,+@@ -396,6 +406,12 @@ nsDocShell::nsDocShell(BrowsingContext* aBrowsingContext,mAllowDNSPrefetch(true),mAllowWindowControl(true),mCSSErrorReportingEnabled(false),@@ -232,16 +232,8 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1+ mColorSchemeOverride(COLOR_SCHEME_OVERRIDE_NONE),mAllowAuth(mItemType == typeContent),mAllowKeywordFixup(false),- mIsOffScreenBrowser(false),-@@ -1448,6 +1464,7 @@ bool nsDocShell::SetCurrentURI(nsIURI* aURI, nsIRequest* aRequest,- }- }--+ FireOnFrameLocationChange(this, aRequest, aURI, aLocationFlags);- if (!isSubFrame && !isRoot) {- /*- * We don't want to send OnLocationChange notifications when-@@ -3276,6 +3293,203 @@ nsDocShell::GetMessageManager(ContentFrameMessageManager** aMessageManager) {+ mDisableMetaRefreshWhenInactive(false),+@@ -3345,6 +3361,203 @@ nsDocShell::GetMessageManager(ContentFrameMessageManager** aMessageManager) {return NS_OK;}@@ -445,7 +437,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1NS_IMETHODIMPnsDocShell::GetIsNavigating(bool* aOut) {*aOut = mIsNavigating;-@@ -4914,7 +5128,7 @@ nsDocShell::GetIsOffScreenBrowser(bool* aIsOffScreen) {+@@ -4969,7 +5182,7 @@ nsDocShell::GetVisibility(bool* aVisibility) {}void nsDocShell::ActivenessMaybeChanged() {@@ -454,7 +446,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1if (RefPtr<PresShell> presShell = GetPresShell()) {presShell->SetIsActive(isActive);}-@@ -8642,6 +8856,12 @@ nsresult nsDocShell::PerformRetargeting(nsDocShellLoadState* aLoadState) {+@@ -8708,6 +8921,12 @@ nsresult nsDocShell::PerformRetargeting(nsDocShellLoadState* aLoadState) {true, // aForceNoOpenergetter_AddRefs(newBC));MOZ_ASSERT(!newBC);@@ -467,7 +459,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1return rv;}-@@ -12642,6 +12862,9 @@ class OnLinkClickEvent : public Runnable {+@@ -12707,6 +12926,9 @@ class OnLinkClickEvent : public Runnable {mHandler->OnLinkClickSync(mContent, mLoadState, mNoOpenerImplied,mTriggeringPrincipal);}@@ -477,7 +469,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1return NS_OK;}-@@ -12727,6 +12950,8 @@ nsresult nsDocShell::OnLinkClick(+@@ -12793,6 +13015,8 @@ nsresult nsDocShell::OnLinkClick(nsCOMPtr<nsIRunnable> ev =new OnLinkClickEvent(this, aContent, loadState, noOpenerImplied,aIsTrusted, aTriggeringPrincipal);@@ -487,7 +479,7 @@ index fed621a4fe569104d92685500aed6ec729768037..f56b6e9c42c83c18887a1067b9ad40f1}diff --git a/docshell/base/nsDocShell.h b/docshell/base/nsDocShell.h-index 50c1e78a4d985fb5500179594f973477101a17f6..ff1beacdedcedb865c0839440192a77892e199f8 100644+index c29b1e05f3620a017156fd93d0928eca5e956859..4d89e1d5d2ebd3115fc06cfb1c7b6c08ea454d6d 100644--- a/docshell/base/nsDocShell.h+++ b/docshell/base/nsDocShell.h@@ -14,6 +14,7 @@@@ -522,7 +514,7 @@ index 50c1e78a4d985fb5500179594f973477101a17f6..ff1beacdedcedb865c0839440192a778// Create a content viewer within this nsDocShell for the given// `WindowGlobalChild` actor.nsresult CreateContentViewerForActor(-@@ -988,6 +999,8 @@ class nsDocShell final : public nsDocLoader,+@@ -992,6 +1003,8 @@ class nsDocShell final : public nsDocLoader,bool CSSErrorReportingEnabled() const { return mCSSErrorReportingEnabled; }@@ -531,7 +523,7 @@ index 50c1e78a4d985fb5500179594f973477101a17f6..ff1beacdedcedb865c0839440192a778// 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-@@ -1225,6 +1238,15 @@ class nsDocShell final : public nsDocLoader,+@@ -1236,6 +1249,15 @@ class nsDocShell final : public nsDocLoader,bool mAllowDNSPrefetch : 1;bool mAllowWindowControl : 1;bool mCSSErrorReportingEnabled : 1;@@ -546,9 +538,9 @@ index 50c1e78a4d985fb5500179594f973477101a17f6..ff1beacdedcedb865c0839440192a778+bool mAllowAuth : 1;bool mAllowKeywordFixup : 1;- bool mIsOffScreenBrowser : 1;+ bool mDisableMetaRefreshWhenInactive : 1;diff --git a/docshell/base/nsIDocShell.idl b/docshell/base/nsIDocShell.idl-index afa1eee3a6107067be52bf635e94be4271facee0..8d3e7bca533da4e55cc43843de552a12036d8340 100644+index d326491a03b83c4015f7bc3c779b0c5909e2db43..21f343bda776cd71212fc728d634dabcbe2d97da 100644--- a/docshell/base/nsIDocShell.idl+++ b/docshell/base/nsIDocShell.idl@@ -44,6 +44,7 @@ interface nsIURI;@@ -556,10 +548,10 @@ index afa1eee3a6107067be52bf635e94be4271facee0..8d3e7bca533da4e55cc43843de552a12interface nsIContentViewer;interface nsIContentSecurityPolicy;+interface nsIDOMGeoPosition;- interface nsIDocShellLoadInfo;interface nsIEditor;interface nsIEditingSession;-@@ -888,6 +889,35 @@ interface nsIDocShell : nsIDocShellTreeItem+ interface nsIInputStream;+@@ -880,6 +881,35 @@ interface nsIDocShell : nsIDocShellTreeItem*/void synchronizeLayoutHistoryState();@@ -596,10 +588,10 @@ index afa1eee3a6107067be52bf635e94be4271facee0..8d3e7bca533da4e55cc43843de552a12* This attempts to save any applicable layout history state (like* scroll position) in the nsISHEntry. This is normally donediff --git a/dom/base/Document.cpp b/dom/base/Document.cpp-index 48af2c30f3604a94e6bc1da7848aed3c8ac11c1e..17df24bfdd2d9752686a46b6bb0afc575b091fcb 100644+index 93baac5ba84922575d8d334533f553f3ad69cfa0..eb4ae377a31301b2df1d06ed63b331b7ba849c9c 100644--- a/dom/base/Document.cpp+++ b/dom/base/Document.cpp-@@ -3490,6 +3490,9 @@ void Document::SendToConsole(nsCOMArray<nsISecurityConsoleMessage>& aMessages) {+@@ -3496,6 +3496,9 @@ void Document::SendToConsole(nsCOMArray<nsISecurityConsoleMessage>& aMessages) {}void Document::ApplySettingsFromCSP(bool aSpeculative) {@@ -609,7 +601,7 @@ index 48af2c30f3604a94e6bc1da7848aed3c8ac11c1e..17df24bfdd2d9752686a46b6bb0afc57nsresult rv = NS_OK;if (!aSpeculative) {// 1) apply settings from regular CSP-@@ -3544,6 +3547,11 @@ nsresult Document::InitCSP(nsIChannel* aChannel) {+@@ -3558,6 +3561,11 @@ nsresult Document::InitCSP(nsIChannel* aChannel) {return NS_OK;}@@ -621,7 +613,7 @@ index 48af2c30f3604a94e6bc1da7848aed3c8ac11c1e..17df24bfdd2d9752686a46b6bb0afc57// If this is a data document - no need to set CSP.if (mLoadedAsData) {return NS_OK;-@@ -4336,6 +4344,10 @@ bool Document::HasFocus(ErrorResult& rv) const {+@@ -4350,6 +4358,10 @@ bool Document::HasFocus(ErrorResult& rv) const {return false;}@@ -632,7 +624,7 @@ index 48af2c30f3604a94e6bc1da7848aed3c8ac11c1e..17df24bfdd2d9752686a46b6bb0afc57// Is there a focused DOMWindow?nsCOMPtr<mozIDOMWindowProxy> focusedWindow;fm->GetFocusedWindow(getter_AddRefs(focusedWindow));-@@ -16821,6 +16833,19 @@ void Document::RemoveToplevelLoadingDocument(Document* aDoc) {+@@ -16984,6 +16996,19 @@ void Document::RemoveToplevelLoadingDocument(Document* aDoc) {StylePrefersColorScheme Document::PrefersColorScheme(IgnoreRFP aIgnoreRFP) const {@@ -653,10 +645,10 @@ index 48af2c30f3604a94e6bc1da7848aed3c8ac11c1e..17df24bfdd2d9752686a46b6bb0afc57nsContentUtils::ShouldResistFingerprinting(this)) {return StylePrefersColorScheme::Light;diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp-index 7764a6a690bb97fd4082292c13456a40040fb959..2135ca3d83557a6729907e14ff587ca070ab745e 100644+index 407eecefd4e1cdf58f63714783ecf18cc6e28dce..a479467953fdfb54fb5183ce86794339aa36ca9a 100644--- a/dom/base/Navigator.cpp+++ b/dom/base/Navigator.cpp-@@ -326,14 +326,18 @@ void Navigator::GetAppName(nsAString& aAppName, CallerType aCallerType) const {+@@ -323,14 +323,18 @@ void Navigator::GetAppName(nsAString& aAppName, CallerType aCallerType) const {* for more detail.*//* static */@@ -677,7 +669,7 @@ index 7764a6a690bb97fd4082292c13456a40040fb959..2135ca3d83557a6729907e14ff587ca0// Split values on commas.for (nsDependentSubstring lang :-@@ -385,7 +389,9 @@ void Navigator::GetLanguage(nsAString& aLanguage) {+@@ -382,7 +386,9 @@ void Navigator::GetLanguage(nsAString& aLanguage) {}void Navigator::GetLanguages(nsTArray<nsString>& aLanguages) {@@ -688,7 +680,7 @@ index 7764a6a690bb97fd4082292c13456a40040fb959..2135ca3d83557a6729907e14ff587ca0// The returned value is cached by the binding code. The window listens to the// accept languages change and will clear the cache when needed. It has to-@@ -549,7 +555,13 @@ bool Navigator::CookieEnabled() {+@@ -546,7 +552,13 @@ bool Navigator::CookieEnabled() {return granted;}@@ -704,10 +696,10 @@ index 7764a6a690bb97fd4082292c13456a40040fb959..2135ca3d83557a6729907e14ff587ca0void Navigator::GetBuildID(nsAString& aBuildID, CallerType aCallerType,ErrorResult& aRv) const {diff --git a/dom/base/Navigator.h b/dom/base/Navigator.h-index 99be251bf05a0252d624c6b0e216e5fa9be58260..cca8719a07ce51aa386ac45c72b01711423ec740 100644+index 601df3313ab59d4abd894fdf8d554bd1f0fddc9f..e24a7fb1fe4abcd9bf2d71baa6081f059fab14b2 100644--- a/dom/base/Navigator.h+++ b/dom/base/Navigator.h-@@ -221,7 +221,7 @@ class Navigator final : public nsISupports, public nsWrapperCache {+@@ -218,7 +218,7 @@ class Navigator final : public nsISupports, public nsWrapperCache {StorageManager* Storage();@@ -717,10 +709,10 @@ index 99be251bf05a0252d624c6b0e216e5fa9be58260..cca8719a07ce51aa386ac45c72b01711dom::MediaCapabilities* MediaCapabilities();dom::MediaSession* MediaSession();diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp-index 0b0893e9d363e43761ca7dea849286904a852837..9d8fa6e7f688cb0728797dcbd84996e2a7d45958 100644+index a5d51c1f6b638c912810395c73ce9cf709055d8b..591679731cdae27b5722f5a6d4ffdca31b408247 100644--- a/dom/base/nsContentUtils.cpp+++ b/dom/base/nsContentUtils.cpp-@@ -8078,7 +8078,8 @@ nsresult nsContentUtils::SendMouseEvent(+@@ -8087,7 +8087,8 @@ nsresult nsContentUtils::SendMouseEvent(bool aIgnoreRootScrollFrame, float aPressure,unsigned short aInputSourceArg, uint32_t aIdentifier, bool aToWindow,bool* aPreventDefault, bool aIsDOMEventSynthesized,@@ -730,7 +722,7 @@ index 0b0893e9d363e43761ca7dea849286904a852837..9d8fa6e7f688cb0728797dcbd84996e2nsPoint offset;nsCOMPtr<nsIWidget> widget = GetWidget(aPresShell, &offset);if (!widget) return NS_ERROR_FAILURE;-@@ -8135,6 +8136,7 @@ nsresult nsContentUtils::SendMouseEvent(+@@ -8144,6 +8145,7 @@ nsresult nsContentUtils::SendMouseEvent(event.mTime = PR_IntervalNow();event.mFlags.mIsSynthesizedForTests = aIsDOMEventSynthesized;event.mExitFrom = exitFrom;@@ -739,10 +731,10 @@ index 0b0893e9d363e43761ca7dea849286904a852837..9d8fa6e7f688cb0728797dcbd84996e2nsPresContext* presContext = aPresShell->GetPresContext();if (!presContext) return NS_ERROR_FAILURE;diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h-index 0826877af91df92b966559c856454305f7176695..aed20ad4ece699c82a96a5e7d63311af90255175 100644+index 4fe89763c1025383ec7708d1a246158b06788e78..5d5c09aea00f02c3b50e9b12dfd88a6b5f6cefe3 100644--- a/dom/base/nsContentUtils.h+++ b/dom/base/nsContentUtils.h-@@ -2905,7 +2905,7 @@ class nsContentUtils {+@@ -2902,7 +2902,7 @@ class nsContentUtils {int32_t aModifiers, bool aIgnoreRootScrollFrame, float aPressure,unsigned short aInputSourceArg, uint32_t aIdentifier, bool aToWindow,bool* aPreventDefault, bool aIsDOMEventSynthesized,@@ -752,7 +744,7 @@ index 0826877af91df92b966559c856454305f7176695..aed20ad4ece699c82a96a5e7d63311afstatic void FirePageShowEventForFrameLoaderSwap(nsIDocShellTreeItem* aItem,diff --git a/dom/base/nsDOMWindowUtils.cpp b/dom/base/nsDOMWindowUtils.cpp-index cdb923ebc316b14ae6d6c0e3c5fa0c4e33bcea69..5b4f06a789a946c4173b943204ac2758044a758a 100644+index 7818ce8becf9a0f0815621e6bcc52ead8e994801..b0aa4d90f845c649c92dcf3b73d2212a8c3c3de6 100644--- a/dom/base/nsDOMWindowUtils.cpp+++ b/dom/base/nsDOMWindowUtils.cpp@@ -687,7 +687,7 @@ nsDOMWindowUtils::SendMouseEvent(@@ -802,10 +794,10 @@ index 08e81b1c24a17729ec7b6c9e048c2febe57e18dc..cb09fe30de0a42c89da220e3bf8afe5fMOZ_CAN_RUN_SCRIPTnsresult SendTouchEventCommon(diff --git a/dom/base/nsFocusManager.cpp b/dom/base/nsFocusManager.cpp-index b3b54771d09b4ac6af4169f0eac4fc07d5136eb7..beaaf74c915dbd4a17c018fcdb45f2c0cdcc076a 100644+index ab0843a3ba30c7225169ab7788ec6ed4ba89875f..1744e25408e39146e1e9b2e06ce25fa9b2c09f87 100644--- a/dom/base/nsFocusManager.cpp+++ b/dom/base/nsFocusManager.cpp-@@ -1538,6 +1538,10 @@ void nsFocusManager::SetFocusInner(Element* aNewContent, int32_t aFlags,+@@ -1587,6 +1587,10 @@ void nsFocusManager::SetFocusInner(Element* aNewContent, int32_t aFlags,(GetActiveBrowsingContext() == newRootBrowsingContext);}@@ -816,7 +808,7 @@ index b3b54771d09b4ac6af4169f0eac4fc07d5136eb7..beaaf74c915dbd4a17c018fcdb45f2c0// Exit fullscreen if a website focuses another windowif (StaticPrefs::full_screen_api_exit_on_windowRaise() &&!isElementInActiveWindow &&-@@ -2768,7 +2772,9 @@ void nsFocusManager::RaiseWindow(nsPIDOMWindowOuter* aWindow,+@@ -2823,7 +2827,9 @@ void nsFocusManager::RaiseWindow(nsPIDOMWindowOuter* aWindow,}}@@ -828,10 +820,10 @@ index b3b54771d09b4ac6af4169f0eac4fc07d5136eb7..beaaf74c915dbd4a17c018fcdb45f2c0// care of lowering the present active window. This happens in// a separate runnable to avoid touching multiple windows indiff --git a/dom/base/nsGlobalWindowOuter.cpp b/dom/base/nsGlobalWindowOuter.cpp-index 752c067adb8461df787a67fc9c3a4aeed927d3e0..bc7077973f5958f778df5d5e31f8f81d2fe492bb 100644+index 653c8c03fbdc16e54b1637ca4b399f45152be60c..d8d43b6dc1e1d8474312a9b9ffcede97b2cfb935 100644--- a/dom/base/nsGlobalWindowOuter.cpp+++ b/dom/base/nsGlobalWindowOuter.cpp-@@ -2461,7 +2461,7 @@ nsresult nsGlobalWindowOuter::SetNewDocument(Document* aDocument,+@@ -2463,7 +2463,7 @@ nsresult nsGlobalWindowOuter::SetNewDocument(Document* aDocument,&nsGlobalWindowInner::FireOnNewGlobalObject));}@@ -840,7 +832,7 @@ index 752c067adb8461df787a67fc9c3a4aeed927d3e0..bc7077973f5958f778df5d5e31f8f81d// We should probably notify. However if this is the, arguably bad,// situation when we're creating a temporary non-chrome-about-blank// document in a chrome docshell, don't notify just yet. Instead wait-@@ -2480,10 +2480,16 @@ nsresult nsGlobalWindowOuter::SetNewDocument(Document* aDocument,+@@ -2482,10 +2482,16 @@ nsresult nsGlobalWindowOuter::SetNewDocument(Document* aDocument,}();if (!isContentAboutBlankInChromeDocshell) {@@ -861,7 +853,7 @@ index 752c067adb8461df787a67fc9c3a4aeed927d3e0..bc7077973f5958f778df5d5e31f8f81d}}-@@ -2607,6 +2613,19 @@ void nsGlobalWindowOuter::DispatchDOMWindowCreated() {+@@ -2609,6 +2615,19 @@ void nsGlobalWindowOuter::DispatchDOMWindowCreated() {}}@@ -881,7 +873,7 @@ index 752c067adb8461df787a67fc9c3a4aeed927d3e0..bc7077973f5958f778df5d5e31f8f81dvoid nsGlobalWindowOuter::ClearStatus() { SetStatusOuter(u""_ns); }void nsGlobalWindowOuter::SetDocShell(nsDocShell* aDocShell) {-@@ -3841,6 +3860,14 @@ Maybe<CSSIntSize> nsGlobalWindowOuter::GetRDMDeviceSize(+@@ -3843,6 +3862,14 @@ Maybe<CSSIntSize> nsGlobalWindowOuter::GetRDMDeviceSize(}}}@@ -897,10 +889,10 @@ index 752c067adb8461df787a67fc9c3a4aeed927d3e0..bc7077973f5958f778df5d5e31f8f81d}diff --git a/dom/base/nsGlobalWindowOuter.h b/dom/base/nsGlobalWindowOuter.h-index 44163e0faaff91d4a6fbc32ff8fa9ffbf16e118c..a0bc652f650f5e05615ae9fabf2ccb8eaa949fa7 100644+index 409a78e9dcaf8dcd6fb5324154b2b9dbb0c83bf7..8c6806fdc5b1a116ab3ccf438a13713a185105b3 100644--- a/dom/base/nsGlobalWindowOuter.h+++ b/dom/base/nsGlobalWindowOuter.h-@@ -324,6 +324,7 @@ class nsGlobalWindowOuter final : public mozilla::dom::EventTarget,+@@ -323,6 +323,7 @@ class nsGlobalWindowOuter final : public mozilla::dom::EventTarget,// Outer windows only.void DispatchDOMWindowCreated();@@ -962,7 +954,7 @@ index 9c939cae4dadc45136a115370ec22376af5edc0d..2da7f0eba192e4c8f91c792bec14ccddDOMQuad& aQuad, const GeometryNode& aFrom,const ConvertCoordinateOptions& aOptions, CallerType aCallerType,diff --git a/dom/base/nsINode.h b/dom/base/nsINode.h-index 7ba2a9b84d51a2d72eca9624a102554a4ac60260..10644adced58c07e52f8650e35fa49383ec1309c 100644+index 071019c3f062519a8068b4b24365919077983079..39dac4494359b36a5233fe364968f85360c315f5 100644--- a/dom/base/nsINode.h+++ b/dom/base/nsINode.h@@ -2059,6 +2059,10 @@ class nsINode : public mozilla::dom::EventTarget {@@ -1112,7 +1104,7 @@ index d92bd1c738016f93c66dbdc449c70937c37b6f9a..16fb91cc37b5ce2a8522c56e61e5aed8~Geolocation();diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp-index 8257892ad1763a15936e18adbda304d001f58316..01543dd7ab6eeead5f46dec38d39e123f0d8cd8f 100644+index c4d19016588cae91aa190db4e90f955635770d6f..fe8ef10cd75238b5820c7f98a370af8bb4e93f0c 100644--- a/dom/html/HTMLInputElement.cpp+++ b/dom/html/HTMLInputElement.cpp@@ -52,6 +52,7 @@@@ -1137,7 +1129,7 @@ index 8257892ad1763a15936e18adbda304d001f58316..01543dd7ab6eeead5f46dec38d39e123return NS_OK;}diff --git a/dom/interfaces/base/nsIDOMWindowUtils.idl b/dom/interfaces/base/nsIDOMWindowUtils.idl-index f115889acabb06ab41fef26ad6ce9adc3b819275..4a51023178aa934026a306b3a1d197031c8363d7 100644+index b3f6b63d2e52b517ca56fc88afb2bd5785717bd3..0b3c3d78468e1ebf7e1df889cbfc5273c8fd93de 100644--- a/dom/interfaces/base/nsIDOMWindowUtils.idl+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl@@ -353,7 +353,8 @@ interface nsIDOMWindowUtils : nsISupports {@@ -1150,24 +1142,6 @@ index f115889acabb06ab41fef26ad6ce9adc3b819275..4a51023178aa934026a306b3a1d19703/** Synthesize a touch event. The event types supported are:* touchstart, touchend, touchmove, and touchcancel-diff --git a/dom/ipc/BrowserChild.cpp b/dom/ipc/BrowserChild.cpp-index 30642165f95fad28396058be5bbad8807e6613cf..6b440732b16e2a4241c1b7e66fa6f32ec77fa755 100644---- a/dom/ipc/BrowserChild.cpp-+++ b/dom/ipc/BrowserChild.cpp-@@ -3587,6 +3587,13 @@ NS_IMETHODIMP BrowserChild::OnStateChange(nsIWebProgress* aWebProgress,- return NS_OK;- }--+NS_IMETHODIMP BrowserChild::OnFrameLocationChange(nsIWebProgress *aWebProgress,-+ nsIRequest *aRequest,-+ nsIURI *aLocation,-+ uint32_t aFlags) {-+ return NS_OK;-+}-+- NS_IMETHODIMP BrowserChild::OnProgressChange(nsIWebProgress* aWebProgress,- nsIRequest* aRequest,- int32_t aCurSelfProgress,diff --git a/dom/media/systemservices/video_engine/desktop_capture_impl.cc b/dom/media/systemservices/video_engine/desktop_capture_impl.ccindex 7bc92fe4408c2878c9d7c8bdb97a7c257258ee31..8885feebedf53c0748cef19d80ce5aa23adc900b 100644--- a/dom/media/systemservices/video_engine/desktop_capture_impl.cc@@ -1257,10 +1231,10 @@ index 75995564e5438261a2886840ecad32d2f1d7663f..dfdabcedcda4e212ed0ffd7bc4def570// and the capturer thread. It is created prior to the capturer thread// starting and is destroyed after it is stopped.diff --git a/dom/script/ScriptSettings.cpp b/dom/script/ScriptSettings.cpp-index 589b46999c7f917c55e9e5e042f45a01cca7e9eb..128eb07822da31d1f6040b2505247c71fc9353b0 100644+index 153c2063f2ae131150ecfb1bd8586584fcac1283..d6564b550d78642ac7f92d7dfd8dda5e0c8ea01d 100644--- a/dom/script/ScriptSettings.cpp+++ b/dom/script/ScriptSettings.cpp-@@ -195,6 +195,30 @@ ScriptSettingsStackEntry::~ScriptSettingsStackEntry() {+@@ -178,6 +178,30 @@ ScriptSettingsStackEntry::~ScriptSettingsStackEntry() {MOZ_ASSERT_IF(mGlobalObject, mGlobalObject->HasJSGlobal());}@@ -1291,7 +1265,7 @@ index 589b46999c7f917c55e9e5e042f45a01cca7e9eb..128eb07822da31d1f6040b2505247c71// If the entry or incumbent global ends up being something that the subject// principal doesn't subsume, we don't want to use it. This never happens on// the web, but can happen with asymmetric privilege relationships (i.e.-@@ -222,7 +246,7 @@ static nsIGlobalObject* ClampToSubject(nsIGlobalObject* aGlobalOrNull) {+@@ -205,7 +229,7 @@ static nsIGlobalObject* ClampToSubject(nsIGlobalObject* aGlobalOrNull) {NS_ENSURE_TRUE(globalPrin, GetCurrentGlobal());if (!nsContentUtils::SubjectPrincipalOrSystemIfNativeCaller()->SubsumesConsideringDomain(globalPrin)) {@@ -1331,10 +1305,10 @@ index 2f71b284ee5f7e11f117c447834b48355784448c..d996e0a3cbbb19c1dc320c305c6d7403* returned quads are further translated relative to the window* origin -- which is not the layout origin. Further translationdiff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp-index e7df6ded13a38436942414d16161445e74d2a40a..fe4a0fb8f88ce81d87b3377d6ab49a3356edef72 100644+index e3973d018cb4763d2fe1c5b5c13d757274ff955a..9986e9039b575ca5324333efac10b353b11d9f25 100644--- a/dom/workers/RuntimeService.cpp+++ b/dom/workers/RuntimeService.cpp-@@ -1009,7 +1009,7 @@ void PrefLanguagesChanged(const char* /* aPrefName */, void* /* aClosure */) {+@@ -1017,7 +1017,7 @@ void PrefLanguagesChanged(const char* /* aPrefName */, void* /* aClosure */) {AssertIsOnMainThread();nsTArray<nsString> languages;@@ -1343,7 +1317,7 @@ index e7df6ded13a38436942414d16161445e74d2a40a..fe4a0fb8f88ce81d87b3377d6ab49a33RuntimeService* runtime = RuntimeService::GetService();if (runtime) {-@@ -1212,8 +1212,7 @@ bool RuntimeService::RegisterWorker(WorkerPrivate& aWorkerPrivate) {+@@ -1220,8 +1220,7 @@ bool RuntimeService::RegisterWorker(WorkerPrivate& aWorkerPrivate) {}// The navigator overridden properties should have already been read.@@ -1353,7 +1327,7 @@ index e7df6ded13a38436942414d16161445e74d2a40a..fe4a0fb8f88ce81d87b3377d6ab49a33mNavigatorPropertiesLoaded = true;}-@@ -1932,6 +1931,13 @@ void RuntimeService::PropagateStorageAccessPermissionGranted(+@@ -1933,6 +1932,13 @@ void RuntimeService::PropagateStorageAccessPermissionGranted(}}@@ -1367,7 +1341,7 @@ index e7df6ded13a38436942414d16161445e74d2a40a..fe4a0fb8f88ce81d87b3377d6ab49a33void RuntimeService::NoteIdleThread(SafeRefPtr<WorkerThread> aThread) {AssertIsOnMainThread();MOZ_ASSERT(aThread);-@@ -2350,6 +2356,14 @@ void PropagateStorageAccessPermissionGrantedToWorkers(+@@ -2351,6 +2357,14 @@ void PropagateStorageAccessPermissionGrantedToWorkers(}}@@ -1383,10 +1357,10 @@ index e7df6ded13a38436942414d16161445e74d2a40a..fe4a0fb8f88ce81d87b3377d6ab49a33MOZ_ASSERT(!NS_IsMainThread());MOZ_ASSERT(aCx);diff --git a/dom/workers/RuntimeService.h b/dom/workers/RuntimeService.h-index 67eac10dabd93da344a1366dee5d1c4428a4352c..1c31651d8087c90983c08fe184b344853af87033 100644+index 0ca5f99fab6fe97135a0852d538d6fed027ae054..472c00b8b75c4d79e0dd62973445824420e14d2e 100644--- a/dom/workers/RuntimeService.h+++ b/dom/workers/RuntimeService.h-@@ -121,6 +121,8 @@ class RuntimeService final : public nsIObserver {+@@ -122,6 +122,8 @@ class RuntimeService final : public nsIObserver {void PropagateStorageAccessPermissionGranted(const nsPIDOMWindowInner& aWindow);@@ -1409,10 +1383,10 @@ index 8b1b46d69f2c90d851d292c285a1ba9bdbd4d9b7..dea5259b0a82e5e6d3c431fc78e60d5dbool IsWorkerGlobal(JSObject* global);diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp-index 658542ba0b1f676622c76b683acb31af7ffcad2b..f4602d4d5b64f2cff7a2ade322f421c38ff3d22c 100644+index 1cf8c5814747fae96d6025ee87c8c44e81a964a2..d27f4c8e3387a667da65074c2751d731bd72cc36 100644--- a/dom/workers/WorkerPrivate.cpp+++ b/dom/workers/WorkerPrivate.cpp-@@ -660,6 +660,18 @@ class UpdateContextOptionsRunnable final : public WorkerControlRunnable {+@@ -663,6 +663,18 @@ class UpdateContextOptionsRunnable final : public WorkerControlRunnable {}};@@ -1431,7 +1405,7 @@ index 658542ba0b1f676622c76b683acb31af7ffcad2b..f4602d4d5b64f2cff7a2ade322f421c3class UpdateLanguagesRunnable final : public WorkerRunnable {nsTArray<nsString> mLanguages;-@@ -1840,6 +1852,16 @@ void WorkerPrivate::UpdateContextOptions(+@@ -1869,6 +1881,16 @@ void WorkerPrivate::UpdateContextOptions(}}@@ -1448,7 +1422,7 @@ index 658542ba0b1f676622c76b683acb31af7ffcad2b..f4602d4d5b64f2cff7a2ade322f421c3void WorkerPrivate::UpdateLanguages(const nsTArray<nsString>& aLanguages) {AssertIsOnParentThread();-@@ -4810,6 +4832,15 @@ void WorkerPrivate::UpdateContextOptionsInternal(+@@ -4856,6 +4878,15 @@ void WorkerPrivate::UpdateContextOptionsInternal(}}@@ -1465,10 +1439,10 @@ index 658542ba0b1f676622c76b683acb31af7ffcad2b..f4602d4d5b64f2cff7a2ade322f421c3const nsTArray<nsString>& aLanguages) {WorkerGlobalScope* globalScope = GlobalScope();diff --git a/dom/workers/WorkerPrivate.h b/dom/workers/WorkerPrivate.h-index 49255ca854d9082186fb8055f0a40d7f57e6d6e2..94dc99e306c823ee5d515c469f289c0d1c6dff02 100644+index adc174f8a62718c537986137e9fd4dc1cc312560..d0fd10b4a492c73f7cc32dc407f334e991669f7d 100644--- a/dom/workers/WorkerPrivate.h+++ b/dom/workers/WorkerPrivate.h-@@ -299,6 +299,8 @@ class WorkerPrivate : public RelativeTimeline {+@@ -300,6 +300,8 @@ class WorkerPrivate : public RelativeTimeline {void UpdateContextOptionsInternal(JSContext* aCx,const JS::ContextOptions& aContextOptions);@@ -1477,7 +1451,7 @@ index 49255ca854d9082186fb8055f0a40d7f57e6d6e2..94dc99e306c823ee5d515c469f289c0dvoid UpdateLanguagesInternal(const nsTArray<nsString>& aLanguages);void UpdateJSWorkerMemoryParameterInternal(JSContext* aCx, JSGCParamKey key,-@@ -888,6 +890,8 @@ class WorkerPrivate : public RelativeTimeline {+@@ -889,6 +891,8 @@ class WorkerPrivate : public RelativeTimeline {void UpdateContextOptions(const JS::ContextOptions& aContextOptions);@@ -1487,10 +1461,10 @@ index 49255ca854d9082186fb8055f0a40d7f57e6d6e2..94dc99e306c823ee5d515c469f289c0dvoid UpdateJSWorkerMemoryParameter(JSGCParamKey key, Maybe<uint32_t> value);diff --git a/js/public/Date.h b/js/public/Date.h-index e7a54d86c44499a3ec2adf1c156b9f9dfb0bc6b4..f56c1b419c4cb52bc371f6b8dbfffba464326fc4 100644+index bb69d58dc96ed7f0b37f73e26abdd0bdfeaaf556..8436d439f72287176a2fe6a1a837d3db73409e67 100644--- a/js/public/Date.h+++ b/js/public/Date.h-@@ -56,6 +56,8 @@ namespace JS {+@@ -53,6 +53,8 @@ namespace JS {*/extern JS_PUBLIC_API void ResetTimeZone();@@ -1500,7 +1474,7 @@ index e7a54d86c44499a3ec2adf1c156b9f9dfb0bc6b4..f56c1b419c4cb52bc371f6b8dbfffba4inline ClippedTime TimeClip(double time);diff --git a/js/src/debugger/Object.cpp b/js/src/debugger/Object.cpp-index f18d56852366daaaba853568b74b2b82b4f8ee5d..b2ca28ec8abc3f55694f5409c1a11ecdbc71e132 100644+index 0c37c9341cc74dd0aed506510910015b4ca02123..04bae8ceeecd2ade8014ef7ae46aaf32a96e3af7 100644--- a/js/src/debugger/Object.cpp+++ b/js/src/debugger/Object.cpp@@ -2362,7 +2362,11 @@ Maybe<Completion> DebuggerObject::call(JSContext* cx,@@ -1623,10 +1597,10 @@ index 64a4a71b03b28872f376aac8eee12805bebd1bd8..f6fa7d731f3b0c7c4fcb26babad3fc2c/*** 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 667990b9d411963f23734652e04c5b5aa5574eef..9408cd2c88443c1a0053b1d9d15146a51900e320 100644+index 114d11aedbd5b6a3315066a20a31e78e74fe603d..f7ae5af41d0f88b10a67498fcea4a2ae96a19fcf 100644--- a/netwerk/protocol/http/InterceptedHttpChannel.cpp+++ b/netwerk/protocol/http/InterceptedHttpChannel.cpp-@@ -602,6 +602,14 @@ void InterceptedHttpChannel::DoAsyncAbort(nsresult aStatus) {+@@ -603,6 +603,14 @@ void InterceptedHttpChannel::DoAsyncAbort(nsresult aStatus) {Unused << AsyncAbort(aStatus);}@@ -1642,10 +1616,10 @@ index 667990b9d411963f23734652e04c5b5aa5574eef..9408cd2c88443c1a0053b1d9d15146a5InterceptedHttpChannel::ResetInterception(void) {if (mCanceled) {diff --git a/parser/html/nsHtml5TreeOpExecutor.cpp b/parser/html/nsHtml5TreeOpExecutor.cpp-index f26b8b48dce213a955c28243a6ade09e3385955c..9574b2c26f202ecbb717f0c80272eda7d722e36f 100644+index 70c13fea724631e7dc68b05774607f6b555e5264..b379fa3f7d8003bdbb1bc177d8a5f6ffe1cdb6a3 100644--- a/parser/html/nsHtml5TreeOpExecutor.cpp+++ b/parser/html/nsHtml5TreeOpExecutor.cpp-@@ -1244,9 +1244,12 @@ void nsHtml5TreeOpExecutor::AddSpeculationCSP(const nsAString& aCSP) {+@@ -1264,9 +1264,12 @@ void nsHtml5TreeOpExecutor::AddSpeculationCSP(const nsAString& aCSP) {if (!StaticPrefs::security_csp_enable()) {return;}@@ -1660,10 +1634,10 @@ index f26b8b48dce213a955c28243a6ade09e3385955c..9574b2c26f202ecbb717f0c80272eda7nsCOMPtr<nsIContentSecurityPolicy> preloadCsp = mDocument->GetPreloadCsp();if (!preloadCsp) {diff --git a/security/manager/ssl/SSLServerCertVerification.cpp b/security/manager/ssl/SSLServerCertVerification.cpp-index 3c5512c95e9c1f6f06387238063a29c01f7aab64..357aaf8a0f45ee81864d25e2205d6276188ca81e 100644+index 195399cd2d6e8c2e23c5b7593df41098f1ff98d3..d2752617a2886a3203f725439ca225e311e90b2a 100644--- a/security/manager/ssl/SSLServerCertVerification.cpp+++ b/security/manager/ssl/SSLServerCertVerification.cpp-@@ -977,8 +977,8 @@ PRErrorCode AuthCertificateParseResults(+@@ -971,8 +971,8 @@ PRErrorCode AuthCertificateParseResults(return SEC_ERROR_NO_MEMORY;}nsresult rv = overrideService->HasMatchingOverride(@@ -1675,10 +1649,10 @@ index 3c5512c95e9c1f6f06387238063a29c01f7aab64..357aaf8a0f45ee81864d25e2205d6276// remove the errors that are already overridenremainingDisplayErrors &= ~overrideBits;diff --git a/security/manager/ssl/nsCertOverrideService.cpp b/security/manager/ssl/nsCertOverrideService.cpp-index 04fdc8b475dbf14d934bb4b8ffdf9dad2c32a1ab..04f3889910a2fc626da682d1d9c5e04d0d35cd32 100644+index 84a0195c698884e50eb8f44270b731452eaeba8b..7c46e5558f3b4cf7510902de7d95305b6ee595e8 100644--- a/security/manager/ssl/nsCertOverrideService.cpp+++ b/security/manager/ssl/nsCertOverrideService.cpp-@@ -522,13 +522,20 @@ nsCertOverrideService::RememberTemporaryValidityOverrideUsingFingerprint(+@@ -524,13 +524,20 @@ nsCertOverrideService::RememberTemporaryValidityOverrideUsingFingerprint(NS_IMETHODIMPnsCertOverrideService::HasMatchingOverride(const nsACString& aHostName,@@ -1701,7 +1675,7 @@ index 04fdc8b475dbf14d934bb4b8ffdf9dad2c32a1ab..04f3889910a2fc626da682d1d9c5e04d}if (disableAllSecurityCheck) {nsCertOverride::OverrideBits all = nsCertOverride::OverrideBits::Untrusted |-@@ -740,12 +747,21 @@ static bool IsDebugger() {+@@ -744,12 +751,21 @@ static bool IsDebugger() {NS_IMETHODIMPnsCertOverrideService::@@ -1759,7 +1733,7 @@ index 23276fbe1933b87eca13f41550c4a9ec78b1c76b..02ad890e2a884f9988ec02eef8872783+ [optional] in uint32_t aUserContextId);};diff --git a/services/settings/Utils.jsm b/services/settings/Utils.jsm-index 66df8509044600a0d71eb36bb838f96087a53ef1..e4558874434e3aa57bc26344f0ca89b3ebb837bf 100644+index ee23591a6a72560b635a4184fedf18c74c447250..ca07729ef9e66f339be92d179712e6e19500a4e9 100644--- a/services/settings/Utils.jsm+++ b/services/settings/Utils.jsm@@ -59,7 +59,7 @@ var Utils = {@@ -1786,10 +1760,10 @@ index 1e9bea1655af731fc003f8d0cab3ad4d2ad29f5d..5081c0e1ee0c41c6a79bd2ed358a5744// ignored for Linux.const unsigned long CHROME_SUPPRESS_ANIMATION = 0x01000000;diff --git a/toolkit/components/startup/nsAppStartup.cpp b/toolkit/components/startup/nsAppStartup.cpp-index dd475eb83b3bc0206f33807d416fb7b29326986c..207f76bf7e3bf2725a036ecaa280672e39e81005 100644+index 98ba344b18a70a1596b88836b4427bf61165f0b2..8b3b7a00c031c030a2aa0355e78e5d13830c5c5b 100644--- a/toolkit/components/startup/nsAppStartup.cpp+++ b/toolkit/components/startup/nsAppStartup.cpp-@@ -341,7 +341,7 @@ nsAppStartup::Quit(uint32_t aMode, int aExitCode, bool* aUserAllowedQuit) {+@@ -343,7 +343,7 @@ nsAppStartup::Quit(uint32_t aMode, int aExitCode, bool* aUserAllowedQuit) {nsCOMPtr<nsISimpleEnumerator> windowEnumerator;nsCOMPtr<nsIWindowMediator> mediator(do_GetService(NS_WINDOWMEDIATOR_CONTRACTID));@@ -1799,33 +1773,25 @@ index dd475eb83b3bc0206f33807d416fb7b29326986c..207f76bf7e3bf2725a036ecaa280672eif (windowEnumerator) {bool more;diff --git a/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp b/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp-index 318037b12e9ea7b8bad92498950ac48ff936fb3c..44db941025a5253da38572600cd0fc57f54ee6bf 100644+index 318037b12e9ea7b8bad92498950ac48ff936fb3c..30cbfcee188080f922dad0d9c1277cbe1c97b2cc 100644--- a/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp+++ b/toolkit/components/statusfilter/nsBrowserStatusFilter.cpp-@@ -162,8 +162,16 @@ nsBrowserStatusFilter::OnStateChange(nsIWebProgress* aWebProgress,+@@ -162,8 +162,8 @@ nsBrowserStatusFilter::OnStateChange(nsIWebProgress* aWebProgress,}NS_IMETHODIMP-nsBrowserStatusFilter::OnProgressChange(nsIWebProgress* aWebProgress,- nsIRequest* aRequest,-+nsBrowserStatusFilter::OnFrameLocationChange(nsIWebProgress *aWebProgress,-+ nsIRequest *aRequest,-+ nsIURI *aLocation,-+ uint32_t aFlags) {-+ return NS_OK;-+}-+-+NS_IMETHODIMP+nsBrowserStatusFilter::OnProgressChange(nsIWebProgress *aWebProgress,+ nsIRequest *aRequest,int32_t aCurSelfProgress,int32_t aMaxSelfProgress,int32_t aCurTotalProgress,diff --git a/toolkit/components/windowwatcher/nsWindowWatcher.cpp b/toolkit/components/windowwatcher/nsWindowWatcher.cpp-index c6da134e1c4c028420659a1ca26bf51116de71b1..93738c34673bfec06557e856f11ad1993597eb6b 100644+index 027f269e5e54c5acf2685b4214bbb3ef034fcfc2..926f467eea464220387fe28c70c580da19a20361 100644--- a/toolkit/components/windowwatcher/nsWindowWatcher.cpp+++ b/toolkit/components/windowwatcher/nsWindowWatcher.cpp-@@ -1816,6 +1816,10 @@ uint32_t nsWindowWatcher::CalculateChromeFlagsForContent(+@@ -1819,6 +1819,10 @@ uint32_t nsWindowWatcher::CalculateChromeFlagsForContent(uint32_t chromeFlags = CalculateChromeFlagsHelper(nsIWebBrowserChrome::CHROME_WINDOW_BORDERS, aFeatures, aSizeSpec);@@ -1837,20 +1803,20 @@ index c6da134e1c4c028420659a1ca26bf51116de71b1..93738c34673bfec06557e856f11ad199}diff --git a/toolkit/mozapps/update/UpdateService.jsm b/toolkit/mozapps/update/UpdateService.jsm-index e615f7d6fdc08a3c68ab6b9f4f575b2ddd1038f7..98ce556255487de47171060a3f15aef7b0b89562 100644+index ad2ee1e00bf2cd99a3b69cc012cb6abf3e6934b8..02aa359809db920ce8eba12bbba8f8e2dad319b9 100644--- a/toolkit/mozapps/update/UpdateService.jsm+++ b/toolkit/mozapps/update/UpdateService.jsm-@@ -3582,7 +3582,7 @@ UpdateService.prototype = {+@@ -3593,7 +3593,7 @@ UpdateService.prototype = {).running;}- return (+ return true || (- (Cu.isInAutomation || marionetteRunning) &&+ (Cu.isInAutomation || marionetteRunning || RemoteAgent.listening) &&Services.prefs.getBoolPref(PREF_APP_UPDATE_DISABLEDFORTESTING, false));diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild-index bbc3c98e4885f23f03f83b7c2aa00e4eb4faaef5..45dcb084904c1d2729ef1e2cd1bef1a4665d8848 100644+index bfa04334b3e79cf0edcc84ac67cf8e4027a2ec7e..c24e440493b586338717cc962c1ea8c3b357f541 100644--- a/toolkit/toolkit.mozbuild+++ b/toolkit/toolkit.mozbuild@@ -167,6 +167,7 @@ if CONFIG['ENABLE_MARIONETTE']:@@ -1898,7 +1864,7 @@ index 109c53cac98302d657d2a5a997f2ba687db14515..4d3c4beddaf627441e28f2a49d793d56// 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 1a3b80cd646c4ed461b2d5d92db523d084028e08..71e2914a4c388cdb6da3a683087770ce8ddfbb07 100644+index 1a3b80cd646c4ed461b2d5d92db523d084028e08..5eae90bb836e99ad33cfa4c05a49a19a5b13032b 100644--- a/uriloader/base/nsDocLoader.cpp+++ b/uriloader/base/nsDocLoader.cpp@@ -790,6 +790,13 @@ void nsDocLoader::DocLoaderIsEmpty(bool aFlushLayout,@@ -1915,110 +1881,8 @@ index 1a3b80cd646c4ed461b2d5d92db523d084028e08..71e2914a4c388cdb6da3a683087770ce// This is a very cut-down version of// nsDocumentViewer::LoadComplete that doesn't do various things// that are not relevant here because this wasn't an actual-@@ -1350,6 +1357,24 @@ void nsDocLoader::FireOnLocationChange(nsIWebProgress* aWebProgress,- }- }--+void nsDocLoader::FireOnFrameLocationChange(nsIWebProgress* aWebProgress,-+ nsIRequest* aRequest,-+ nsIURI *aUri,-+ uint32_t aFlags) {-+ NOTIFY_LISTENERS(nsIWebProgress::NOTIFY_FRAME_LOCATION,-+ nsCOMPtr<nsIWebProgressListener2> listener2 =-+ do_QueryReferent(info.mWeakListener);-+ if (!listener2)-+ continue;-+ listener2->OnFrameLocationChange(aWebProgress, aRequest, aUri, aFlags);-+ );-+-+ // Pass the notification up to the parent...-+ if (mParent) {-+ mParent->FireOnFrameLocationChange(aWebProgress, aRequest, aUri, aFlags);-+ }-+}-+- void nsDocLoader::FireOnStatusChange(nsIWebProgress* aWebProgress,- nsIRequest* aRequest, nsresult aStatus,- const char16_t* aMessage) {-diff --git a/uriloader/base/nsDocLoader.h b/uriloader/base/nsDocLoader.h-index 9f39fca7f2c7212c383a02b34079d54ce8cd0fac..71e8ca931656b89863427665eb2e7f17a81566f3 100644---- a/uriloader/base/nsDocLoader.h-+++ b/uriloader/base/nsDocLoader.h-@@ -209,6 +209,11 @@ class nsDocLoader : public nsIDocumentLoader,- nsIURI* aURI, int32_t aDelay,- bool aSameURI);--+ void FireOnFrameLocationChange(nsIWebProgress* aWebProgress,-+ nsIRequest* aRequest,-+ nsIURI *aUri,-+ uint32_t aFlags);-+- // this function is overridden by the docshell, it is provided so that we- // can pass more information about redirect state (the normal OnStateChange- // doesn't get the new channel).-diff --git a/uriloader/base/nsIWebProgress.idl b/uriloader/base/nsIWebProgress.idl-index 70079adfff8a1b625ffd5aad5572c960cec5b646..5822ca46fb4022b0b31288f5492fcb4a2ac9baa1 100644---- a/uriloader/base/nsIWebProgress.idl-+++ b/uriloader/base/nsIWebProgress.idl-@@ -87,6 +87,10 @@ interface nsIWebProgress : nsISupports- * NOTIFY_REFRESH- * Receive onRefreshAttempted events.- * This is defined on nsIWebProgressListener2.-+ *-+ * NOTIFY_FRAME_LOCATION-+ * Receive onFrameLocationChange events.-+ * This is defined on nsIWebProgressListener2.- */- const unsigned long NOTIFY_PROGRESS = 0x00000010;- const unsigned long NOTIFY_STATUS = 0x00000020;-@@ -94,11 +98,12 @@ interface nsIWebProgress : nsISupports- const unsigned long NOTIFY_LOCATION = 0x00000080;- const unsigned long NOTIFY_REFRESH = 0x00000100;- const unsigned long NOTIFY_CONTENT_BLOCKING = 0x00000200;-+ const unsigned long NOTIFY_FRAME_LOCATION = 0x00000400;-- /**- * This flag enables all notifications.- */-- const unsigned long NOTIFY_ALL = 0x000003ff;-+ const unsigned long NOTIFY_ALL = 0x000007ff;-- /**- * Registers a listener to receive web progress events.-diff --git a/uriloader/base/nsIWebProgressListener2.idl b/uriloader/base/nsIWebProgressListener2.idl-index 87701f8d2cfee8bd84acd28c62b3be4989c9474c..ae1aa85c019cb21d4f7e79c35e8afe72709468a1 100644---- a/uriloader/base/nsIWebProgressListener2.idl-+++ b/uriloader/base/nsIWebProgressListener2.idl-@@ -66,4 +66,27 @@ interface nsIWebProgressListener2 : nsIWebProgressListener {- in nsIURI aRefreshURI,- in long aMillis,- in boolean aSameURI);-+-+ /**-+ * Called when the location of the window or its subframes changes. This is not-+ * when a load is requested, but rather once it is verified that the load is-+ * going to occur in the given window. For instance, a load that starts in a-+ * window might send progress and status messages for the new site, but it-+ * will not send the onLocationChange until we are sure that we are loading-+ * this new page here.-+ *-+ * @param aWebProgress-+ * The nsIWebProgress instance that fired the notification.-+ * @param aRequest-+ * The associated nsIRequest. This may be null in some cases.-+ * @param aLocation-+ * The URI of the location that is being loaded.-+ * @param aFlags-+ * This is a value which explains the situation or the reason why-+ * the location has changed.-+ */-+ void onFrameLocationChange(in nsIWebProgress aWebProgress,-+ in nsIRequest aRequest,-+ in nsIURI aLocation,-+ [optional] in unsigned long aFlags);- };diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp-index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f68a3f0b59 100644+index 520bc2c396ee1f09f928559348ca0e7c14316fbf..3da775e7807f738635196a537feed978eb10596f 100644--- a/uriloader/exthandler/nsExternalHelperAppService.cpp+++ b/uriloader/exthandler/nsExternalHelperAppService.cpp@@ -101,6 +101,7 @@@@ -2042,7 +1906,7 @@ index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f6nsresult nsExternalHelperAppService::GetFileTokenForPath(const char16_t* aPlatformAppPath, nsIFile** aFile) {nsDependentString platformAppPath(aPlatformAppPath);-@@ -1568,7 +1575,12 @@ nsresult nsExternalAppHandler::SetUpTempFile(nsIChannel* aChannel) {+@@ -1569,7 +1576,12 @@ nsresult nsExternalAppHandler::SetUpTempFile(nsIChannel* aChannel) {// Strip off the ".part" from mTempLeafNamemTempLeafName.Truncate(mTempLeafName.Length() - ArrayLength(".part") + 1);@@ -2055,7 +1919,7 @@ index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f6mSaver =do_CreateInstance(NS_BACKGROUNDFILESAVERSTREAMLISTENER_CONTRACTID, &rv);NS_ENSURE_SUCCESS(rv, rv);-@@ -1741,7 +1753,36 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) {+@@ -1742,7 +1754,36 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) {return NS_OK;}@@ -2093,7 +1957,7 @@ index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f6if (NS_FAILED(rv)) {nsresult transferError = rv;-@@ -1794,6 +1835,11 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) {+@@ -1795,6 +1836,11 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest* request) {bool alwaysAsk = true;mMimeInfo->GetAlwaysAskBeforeHandling(&alwaysAsk);@@ -2105,7 +1969,7 @@ index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f6if (alwaysAsk) {// But we *don't* ask if this mimeInfo didn't come from// our user configuration datastore and the user has said-@@ -2200,6 +2246,16 @@ nsExternalAppHandler::OnSaveComplete(nsIBackgroundFileSaver* aSaver,+@@ -2201,6 +2247,16 @@ nsExternalAppHandler::OnSaveComplete(nsIBackgroundFileSaver* aSaver,NotifyTransfer(aStatus);}@@ -2122,7 +1986,7 @@ index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f6return NS_OK;}-@@ -2587,6 +2643,15 @@ NS_IMETHODIMP nsExternalAppHandler::Cancel(nsresult aReason) {+@@ -2588,6 +2644,15 @@ NS_IMETHODIMP nsExternalAppHandler::Cancel(nsresult aReason) {}}@@ -2139,10 +2003,10 @@ index 92927822d792fa2d10a247264e1ec796c3b0cb11..10377d008c034b1b291e4d518c0c16f6// OnStartRequest)mDialog = nullptr;diff --git a/uriloader/exthandler/nsExternalHelperAppService.h b/uriloader/exthandler/nsExternalHelperAppService.h-index 8c87587e9ee70d2786ee0d73d3cce8be387a382d..90acb4cb1075639821c58e4506731b7acab18e61 100644+index 5735e73bcde72f0bb72ea9f7bc66cc445bf9813a..f228b8c44e06a9d1893a066dfde3eeb11f34d4fe 100644--- a/uriloader/exthandler/nsExternalHelperAppService.h+++ b/uriloader/exthandler/nsExternalHelperAppService.h-@@ -206,6 +206,8 @@ class nsExternalHelperAppService : public nsIExternalHelperAppService,+@@ -207,6 +207,8 @@ class nsExternalHelperAppService : public nsIExternalHelperAppService,mozilla::dom::BrowsingContext* aContentContext, bool aForceSave,nsIInterfaceRequestor* aWindowContext,nsIStreamListener** aStreamListener);@@ -2151,7 +2015,7 @@ index 8c87587e9ee70d2786ee0d73d3cce8be387a382d..90acb4cb1075639821c58e4506731b7a};/**-@@ -397,6 +399,9 @@ class nsExternalAppHandler final : public nsIStreamListener,+@@ -398,6 +400,9 @@ class nsExternalAppHandler final : public nsIStreamListener,* Upon successful return, both mTempFile and mSaver will be valid.*/nsresult SetUpTempFile(nsIChannel* aChannel);@@ -2210,7 +2074,7 @@ index 657e15bc07426745b9488b903c5a53b8d977fb2d..4f61835e64d537ab7a35c2c2fb059e67/**diff --git a/widget/InProcessCompositorWidget.cpp b/widget/InProcessCompositorWidget.cpp-index aa52dab7d4b45c42d3dfdc63b9982ac2bab5f21f..ba46d7d54920aba478aeb9ba007991e875184242 100644+index 3ebf466afd8aae8ab38ac5b711da2e100626ecf8..c8be7b53f0054c16adb9e76f424675dd9a3600a0 100644--- a/widget/InProcessCompositorWidget.cpp+++ b/widget/InProcessCompositorWidget.cpp@@ -4,7 +4,10 @@@@ -2224,10 +2088,10 @@ index aa52dab7d4b45c42d3dfdc63b9982ac2bab5f21f..ba46d7d54920aba478aeb9ba007991e8#include "nsBaseWidget.h"#if defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_WIDGET_SUPPORTS_OOP_COMPOSITING)-@@ -25,6 +28,12 @@ RefPtr<CompositorWidget> CompositorWidget::CreateLocal(- // only remaining explanation that doesn't involve memory corruption,- // so placing a release assert here.- MOZ_RELEASE_ASSERT(aWidget);+@@ -27,6 +30,12 @@ RefPtr<CompositorWidget> CompositorWidget::CreateLocal(+ // do it after the static_cast.+ nsBaseWidget* widget = static_cast<nsBaseWidget*>(aWidget);+ MOZ_RELEASE_ASSERT(widget);+ if (aInitData.type() ==+ CompositorWidgetInitData::THeadlessCompositorWidgetInitData) {+ return new HeadlessCompositorWidget(@@ -2235,10 +2099,10 @@ index aa52dab7d4b45c42d3dfdc63b9982ac2bab5f21f..ba46d7d54920aba478aeb9ba007991e8+ static_cast<HeadlessWidget*>(aWidget));+ }# ifdef MOZ_WIDGET_ANDROID- return new AndroidCompositorWidget(aOptions,- static_cast<nsBaseWidget*>(aWidget));+ return new AndroidCompositorWidget(aOptions, widget);+ # elsediff --git a/widget/cocoa/NativeKeyBindings.mm b/widget/cocoa/NativeKeyBindings.mm-index 6a74e57ead4968e5cf5da73b2a2e093e8862f5da..9e44c36a6961a2d7548a874d8934f20f00db1f14 100644+index 2b11df66d9445080d4d8a19a915b3e00285c5d32..caef1b65bbcff899f45c3e3cddfe76e88479ec30 100644--- a/widget/cocoa/NativeKeyBindings.mm+++ b/widget/cocoa/NativeKeyBindings.mm@@ -491,6 +491,13 @@ void NativeKeyBindings::GetEditCommandsForTests(NativeKeyBindingsType aType,@@ -2301,7 +2165,7 @@ index 6a74e57ead4968e5cf5da73b2a2e093e8862f5da..9e44c36a6961a2d7548a874d8934f20f}if (aEvent.IsMeta()) {diff --git a/widget/headless/HeadlessCompositorWidget.cpp b/widget/headless/HeadlessCompositorWidget.cpp-index b31a969b7ab3d0fc80912b110d91dfdf3e5991f4..45456bd34713a32695c0fe6a84588f31e40c137d 100644+index b31a969b7ab3d0fc80912b110d91dfdf3e5991f4..beb2343fe704e0f700693fd13280689caca0e4ca 100644--- a/widget/headless/HeadlessCompositorWidget.cpp+++ b/widget/headless/HeadlessCompositorWidget.cpp@@ -3,6 +3,7 @@@@ -2312,7 +2176,7 @@ index b31a969b7ab3d0fc80912b110d91dfdf3e5991f4..45456bd34713a32695c0fe6a84588f31#include "mozilla/widget/PlatformWidgetTypes.h"#include "HeadlessCompositorWidget.h"#include "VsyncDispatcher.h"-@@ -17,6 +18,32 @@ HeadlessCompositorWidget::HeadlessCompositorWidget(+@@ -17,6 +18,33 @@ HeadlessCompositorWidget::HeadlessCompositorWidget(mClientSize = aInitData.InitialClientSize();}@@ -2333,7 +2197,8 @@ index b31a969b7ab3d0fc80912b110d91dfdf3e5991f4..45456bd34713a32695c0fe6a84588f31+}++already_AddRefed<gfx::DrawTarget> HeadlessCompositorWidget::StartRemoteDrawingInRegion(-+ LayoutDeviceIntRegion& aInvalidRegion, layers::BufferMode* aBufferMode) {++ const LayoutDeviceIntRegion& aInvalidRegion,++ layers::BufferMode* aBufferMode) {+ if (!mDrawTarget)+ return nullptr;+@@ -2345,7 +2210,7 @@ index b31a969b7ab3d0fc80912b110d91dfdf3e5991f4..45456bd34713a32695c0fe6a84588f31void HeadlessCompositorWidget::ObserveVsync(VsyncObserver* aObserver) {if (RefPtr<CompositorVsyncDispatcher> cvd =mWidget->GetCompositorVsyncDispatcher()) {-@@ -29,6 +56,58 @@ nsIWidget* HeadlessCompositorWidget::RealWidget() { return mWidget; }+@@ -29,6 +57,58 @@ nsIWidget* HeadlessCompositorWidget::RealWidget() { return mWidget; }void HeadlessCompositorWidget::NotifyClientSizeChanged(const LayoutDeviceIntSize& aClientSize) {mClientSize = aClientSize;@@ -2405,23 +2270,22 @@ index b31a969b7ab3d0fc80912b110d91dfdf3e5991f4..45456bd34713a32695c0fe6a84588f31LayoutDeviceIntSize HeadlessCompositorWidget::GetClientSize() {diff --git a/widget/headless/HeadlessCompositorWidget.h b/widget/headless/HeadlessCompositorWidget.h-index 7f91de9e67d7ffa02de3eef1d760e5cfd05e7ad6..b0e3572413f80e5bd125f777c3247b10b8521a73 100644+index 7f91de9e67d7ffa02de3eef1d760e5cfd05e7ad6..684293dab3e81e8a60d245f979f2051df395948f 100644--- a/widget/headless/HeadlessCompositorWidget.h+++ b/widget/headless/HeadlessCompositorWidget.h-@@ -23,9 +23,13 @@ class HeadlessCompositorWidget final : public CompositorWidget,+@@ -23,8 +23,12 @@ class HeadlessCompositorWidget final : public CompositorWidget,HeadlessWidget* aWindow);void NotifyClientSizeChanged(const LayoutDeviceIntSize& aClientSize);+ void SetSnapshotListener(HeadlessWidget::SnapshotListener&& listener);// CompositorWidget Overrides-+ already_AddRefed<gfx::DrawTarget> StartRemoteDrawingInRegion(-+ LayoutDeviceIntRegion& aInvalidRegion, layers::BufferMode* aBufferMode) override;-+++ const LayoutDeviceIntRegion& aInvalidRegion,++ layers::BufferMode* aBufferMode) override;+uintptr_t GetWidgetKey() override;- LayoutDeviceIntSize GetClientSize() override;@@ -42,9 +46,18 @@ class HeadlessCompositorWidget final : public CompositorWidget,}@@ -2442,10 +2306,10 @@ index 7f91de9e67d7ffa02de3eef1d760e5cfd05e7ad6..b0e3572413f80e5bd125f777c3247b10} // namespace widgetdiff --git a/widget/headless/HeadlessWidget.cpp b/widget/headless/HeadlessWidget.cpp-index 46e24a8c457fac3a90cc7cb37a71be11e86cf00f..98f3266722cecfa39a9caf66eae7a96c993200bf 100644+index 9a3e710b752852a6bb023feeb18ac18019dda87b..afebd348a2526b5f425c7af8ceb4d3872cb957ad 100644--- a/widget/headless/HeadlessWidget.cpp+++ b/widget/headless/HeadlessWidget.cpp-@@ -107,6 +107,8 @@ void HeadlessWidget::Destroy() {+@@ -108,6 +108,8 @@ void HeadlessWidget::Destroy() {}}@@ -2454,7 +2318,7 @@ index 46e24a8c457fac3a90cc7cb37a71be11e86cf00f..98f3266722cecfa39a9caf66eae7a96cnsBaseWidget::OnDestroy();nsBaseWidget::Destroy();-@@ -556,5 +558,15 @@ nsresult HeadlessWidget::SynthesizeNativeTouchPadPinch(+@@ -565,5 +567,15 @@ nsresult HeadlessWidget::SynthesizeNativeTouchPadPinch(DispatchPinchGestureInput(inputToDispatch);return NS_OK;}@@ -2471,10 +2335,10 @@ index 46e24a8c457fac3a90cc7cb37a71be11e86cf00f..98f3266722cecfa39a9caf66eae7a96c} // namespace widget} // namespace mozilladiff --git a/widget/headless/HeadlessWidget.h b/widget/headless/HeadlessWidget.h-index 7dbbdca1c34939ce1899046155d3203e6226ffa1..10c3ef76916a88224c77a5c7f1249616391b94e2 100644+index 225f9636dd5c26c571136b53bb4061b6f39f7537..48c03c3d301b9b76cfefe4371e45c8262a0fa50c 100644--- a/widget/headless/HeadlessWidget.h+++ b/widget/headless/HeadlessWidget.h-@@ -157,6 +157,9 @@ class HeadlessWidget : public nsBaseWidget {+@@ -143,6 +143,9 @@ class HeadlessWidget : public nsBaseWidget {TouchpadPinchPhase aEventPhase, float aScale, LayoutDeviceIntPoint aPoint,int32_t aModifierFlags) override;