no-bug: Sync upstream Firefox to version 151.0 (gh-13706)

This commit is contained in:
mr. m
2026-05-16 00:29:01 +02:00
committed by GitHub
parent 1659838194
commit 90a6ebe948
133 changed files with 1802 additions and 758 deletions

View File

@@ -1,8 +1,8 @@
diff --git a/docshell/base/BrowsingContext.h b/docshell/base/BrowsingContext.h
index dc64d5c13628cb7393705ebf96110705b045471f..497c2e646e2bde4d7732fa28efe7496264d58fa0 100644
index 4e20d7b602932621baf9082f6d28911701b7aa5b..8a59b81f0c82c94bac9d5c536a4b12f69f260dcf 100644
--- a/docshell/base/BrowsingContext.h
+++ b/docshell/base/BrowsingContext.h
@@ -263,6 +263,8 @@ struct EmbedderColorSchemes {
@@ -265,6 +265,8 @@ struct EmbedderColorSchemes {
FIELD(HistoryEntryCount, uint32_t) \
FIELD(HasRestoreData, bool) \
FIELD(SessionStoreEpoch, uint32_t) \
@@ -11,7 +11,7 @@ index dc64d5c13628cb7393705ebf96110705b045471f..497c2e646e2bde4d7732fa28efe74962
/* Whether we can execute scripts in this BrowsingContext. Has no effect \
* unless scripts are also allowed in the parent WindowContext. */ \
FIELD(AllowJavascript, bool) \
@@ -674,6 +676,8 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache {
@@ -680,6 +682,8 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache {
bool FullscreenAllowed() const;
@@ -20,7 +20,7 @@ index dc64d5c13628cb7393705ebf96110705b045471f..497c2e646e2bde4d7732fa28efe74962
float FullZoom() const { return GetFullZoom(); }
float TextZoom() const { return GetTextZoom(); }
@@ -1274,6 +1278,8 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache {
@@ -1284,6 +1288,8 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache {
}
void DidSet(FieldIndex<IDX_SessionStoreEpoch>, uint32_t aOldValue);

View File

@@ -1,5 +1,5 @@
diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
index 76f707e5f1e8e20a6acec9a445781377c052ba59..4f8f14deace21ff56157b77c15bcb93e1792e354 100644
index 9f6fc3eac6f20aedeb993306818fc536f5ce851a..7269a78061f4be829acd2e1b053565b2f945cb54 100644
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -115,7 +115,7 @@ static const RedirEntry kRedirMap[] = {