diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /layout/style/SheetLoadData.h | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | layout/style/SheetLoadData.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layout/style/SheetLoadData.h b/layout/style/SheetLoadData.h index c817e4c1f3..6621af35bd 100644 --- a/layout/style/SheetLoadData.h +++ b/layout/style/SheetLoadData.h @@ -90,7 +90,9 @@ class SheetLoadData final // so aBytes1 and aBytes2 refer to those pieces. nsresult VerifySheetReadyToParse(nsresult aStatus, const nsACString& aBytes1, const nsACString& aBytes2, - nsIChannel* aChannel); + nsIChannel* aChannel, + nsIURI* aFinalChannelURI, + nsIPrincipal* aPrincipal); NS_DECL_ISUPPORTS @@ -237,6 +239,8 @@ class SheetLoadData final // listening for the load. bool mIntentionallyDropped = false; + const bool mRecordErrors; + bool ShouldDefer() const { return mWasAlternate || !mMediaMatched; } RefPtr<StyleSheet> ValueForCache() const; |