diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /layout/style/SheetLoadData.h | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/style/SheetLoadData.h')
-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; |