db2c7e2e1d
* https://www.mozilla.org/en-US/firefox/74.0/releasenotes/ MFSA 2020-08 (bsc#1166238) * CVE-2020-6805 (bmo#1610880) Use-after-free when removing data about origins * CVE-2020-6806 (bmo#1612308) BodyStream::OnInputStreamReady was missing protections against state confusion * CVE-2020-6807 (bmo#1614971) Use-after-free in cubeb during stream destruction * CVE-2020-6808 (bmo#1247968) URL Spoofing via javascript: URL * CVE-2020-6809 (bmo#1420296) Web Extensions with the all-urls permission could access local files * CVE-2020-6810 (bmo#1432856) Focusing a popup while in fullscreen could have obscured the fullscreen notification * CVE-2020-6811 (bmo#1607742) Devtools' 'Copy as cURL' feature did not fully escape website-controlled data, potentially leading to command injection * CVE-2019-20503 (bmo#1613765) Out of bounds reads in sctp_load_addresses_from_init * CVE-2020-6812 (bmo#1616661) The names of AirPods with personally identifiable information were exposed to websites with camera or microphone permission * CVE-2020-6813 (bmo#1605814) @import statements in CSS could bypass the Content Security Policy nonce feature * CVE-2020-6814 (bmo#1592078,bmo#1604847,bmo#1608256,bmo#1612636, OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=809
41 lines
1.7 KiB
Diff
41 lines
1.7 KiB
Diff
# HG changeset patch
|
|
# Parent 883d2c7fec80b9714ccfefa461a02f5b09e3ee09
|
|
Problem description: Tab-titles that are too long to fit into a tab get faded out.
|
|
On big endian this is broken and instead of fading out, the
|
|
tab gets white and the font transparent, leading to an unreadable
|
|
tab-title
|
|
Solution: This is not a real solution, but a hack. The real solution would have been
|
|
to byte-swap the correct buffer, but I could not find it.
|
|
So the next best thing is to deactivate the fading-effect. Now all tab-titles
|
|
are readable, albeit not as pretty to look at as they could be.
|
|
Side-effects: I have not yet found an unwanted side-effect.
|
|
|
|
diff --git a/gfx/2d/DrawTargetSkia.cpp b/gfx/2d/DrawTargetSkia.cpp
|
|
--- a/gfx/2d/DrawTargetSkia.cpp
|
|
+++ b/gfx/2d/DrawTargetSkia.cpp
|
|
@@ -1856,16 +1856,24 @@ void DrawTargetSkia::PushLayerWithBlend(
|
|
}
|
|
|
|
SkCanvas::SaveLayerRec saveRec(
|
|
aBounds.IsEmpty() ? nullptr : &bounds, &paint, nullptr, clipImage.get(),
|
|
&clipMatrix,
|
|
SkCanvas::kPreserveLCDText_SaveLayerFlag |
|
|
(aCopyBackground ? SkCanvas::kInitWithPrevious_SaveLayerFlag : 0));
|
|
|
|
+#if MOZ_BIG_ENDIAN()
|
|
+ // Pushing a layer where an aMask is defined produces wrong output.
|
|
+ // We _should_ endian swap the data, but I couldn't find a workable way to do so
|
|
+ // Therefore I deactivate those layers in the meantime.
|
|
+ // The result is: Tab-titles that are longer than the available space should be faded out.
|
|
+ // The fading doesn't work, so we deactivate the fading-effect here.
|
|
+ if (!aMask)
|
|
+#endif
|
|
mCanvas->saveLayer(saveRec);
|
|
|
|
SetPermitSubpixelAA(aOpaque);
|
|
|
|
#ifdef MOZ_WIDGET_COCOA
|
|
CGContextRelease(mCG);
|
|
mCG = nullptr;
|
|
#endif
|