f2f6b49a7f
- Firefox 130.0.1 Release * Enterprise: Added an enterprise policy to disable the *Firefox Labs* section in *Settings*. (bmo#1911826) * Fixed a recent regression causing some UI elements to be rendered as left-to-right instead of right-to-left for users of our Saraiki localization. (bmo#1917175) * Linux: Fixed black rendering of AVIF images when Firefox is built with GCC. (bmo#1916038) - removed obsolete patches mozilla-bmo1916038.patch - Mozilla Firefox 130.0 MFSA 2024-39 (bsc#1229821) * CVE-2024-8385 (bmo#1911909) WASM type confusion involving ArrayTypes * CVE-2024-8381 (bmo#1912715) Type confusion when looking up a property name in a "with" block * CVE-2024-8388 (bmo#1902996, bmo#1839074, bmo#1865413, bmo#1868970, bmo#1873367, bmo#1877820, bmo#1884642, bmo#1886469, bmo#1894326, bmo#1894891, bmo#1897648) Fullscreen notice on Android could be hidden under various panels and OS prompts * CVE-2024-8382 (bmo#1906744) Internal event interfaces were exposed to web content when browser EventHandler listener callbacks ran * CVE-2024-8383 (bmo#1908496) Firefox did not ask before openings news: links in an external application * CVE-2024-8384 (bmo#1911288) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1174
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# User M. Sirringhaus <msirringhaus@suse.de>
|
|
# Date 1645518286 -3600
|
|
# Tue Feb 22 09:24:46 2022 +0100
|
|
# Node ID 81832d035e101471dcf52dd91de287268add7a91
|
|
# Parent 66f7ce16eb4965108687280e5443edd610631efb
|
|
imported patch svg-rendering.patch
|
|
|
|
diff --git a/image/imgFrame.cpp b/image/imgFrame.cpp
|
|
--- a/image/imgFrame.cpp
|
|
+++ b/image/imgFrame.cpp
|
|
@@ -372,6 +372,17 @@ nsresult imgFrame::InitWithDrawable(gfxD
|
|
return NS_ERROR_OUT_OF_MEMORY;
|
|
}
|
|
|
|
+#if MOZ_BIG_ENDIAN()
|
|
+ if (aBackend == gfx::BackendType::SKIA && canUseDataSurface) {
|
|
+ // SKIA is lying about what format it returns on big endian
|
|
+ for (int ii=0; ii < mRawSurface->GetSize().Height()*mRawSurface->Stride() / 4; ++ii) {
|
|
+ uint32_t *vals = (uint32_t*)(mRawSurface->GetData());
|
|
+ uint32_t val = ((vals[ii] << 8) & 0xFF00FF00 ) | ((vals[ii] >> 8) & 0xFF00FF );
|
|
+ vals[ii] = (val << 16) | (val >> 16);
|
|
+ }
|
|
+ }
|
|
+#endif
|
|
+
|
|
if (!canUseDataSurface) {
|
|
// We used an offscreen surface, which is an "optimized" surface from
|
|
// imgFrame's perspective.
|