zaggy1024
8d70b2d53e
Bug 1788119 - Part 1 - Keep parser and decoder instances persistent in nsAVIFDecoder. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D156650
2023-01-27 21:25:48 +00:00
Butkovits Atila
2e5eede2fe
Backed out 5 changesets (bug 1788119) for causing bustages complaining about AVIFDecodedData. CLOSED TREE
...
Backed out changeset 430e71478ff5 (bug 1788119)
Backed out changeset 9493029c76b9 (bug 1788119)
Backed out changeset 7d5cc211e3f5 (bug 1788119)
Backed out changeset 3eaac75dde3c (bug 1788119)
Backed out changeset 1f8eacf96c71 (bug 1788119)
2023-01-27 22:54:08 +02:00
zaggy1024
935f7ba36f
Bug 1788119 - Part 5 - Add tests for animated AVIF files. r=tnikkel
...
Depends on D156653
Differential Revision: https://phabricator.services.mozilla.com/D166703
2023-01-27 19:54:30 +00:00
zaggy1024
5c801c6e9e
Bug 1788119 - Part 3 - Add initial support for animated AVIF sequences. r=tnikkel
...
Depends on D156651
Differential Revision: https://phabricator.services.mozilla.com/D156652
2023-01-27 19:54:29 +00:00
zaggy1024
bb345c73b5
Bug 1788119 - Part 1 - Keep parser and decoder instances persistent in nsAVIFDecoder. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D156650
2023-01-27 19:54:28 +00:00
Norisz Fay
58c65f7c8f
Backed out 5 changesets (bug 1788119) for causing build bustages on DecoderData.cpp CLOSED TREE
...
Backed out changeset 56abc66f7e84 (bug 1788119)
Backed out changeset 00d82acfaa2f (bug 1788119)
Backed out changeset 4ba88410cdf6 (bug 1788119)
Backed out changeset eeb1461933aa (bug 1788119)
Backed out changeset 8dce9350abb8 (bug 1788119)
2023-01-27 21:11:42 +02:00
zaggy1024
7e97386dbe
Bug 1788119 - Part 5 - Add tests for animated AVIF files. r=tnikkel
...
Depends on D156653
Differential Revision: https://phabricator.services.mozilla.com/D166703
2023-01-27 18:35:15 +00:00
zaggy1024
a50faf8760
Bug 1788119 - Part 3 - Add initial support for animated AVIF sequences. r=tnikkel
...
Depends on D156651
Differential Revision: https://phabricator.services.mozilla.com/D156652
2023-01-27 18:35:14 +00:00
zaggy1024
13ebc5f3b4
Bug 1788119 - Part 1 - Keep parser and decoder instances persistent in nsAVIFDecoder. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D156650
2023-01-27 18:35:13 +00:00
Gijs Kruitbosch
129735a58b
Bug 1811854 - switch remaining tests to BrowserTestUtils.loadURIString from BrowserTestUtils.loadURI, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D167558
2023-01-24 13:19:11 +00:00
Robert Longson
9fba7e0126
Bug 1808102 - Move contextPaint to Document class r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D165763
2023-01-17 19:13:41 +00:00
Emilio Cobos Álvarez
3a8536568d
Bug 1809006 - Respect the bypass cache flag in IsImageAvailable. r=tnikkel
...
Not sure testing this is worth the effort, your call.
Differential Revision: https://phabricator.services.mozilla.com/D166286
2023-01-09 11:13:38 +00:00
Cosmin Sabou
b250194a88
Backed out changeset 76edc70a7ded (bug 1809006) for turning bug 1809112
into permafail. CLOSED TREE
2023-01-09 15:05:18 +02:00
Emilio Cobos Álvarez
8c3cea316f
Bug 1809128 - Simplify scheme check in imgLoader. r=tnikkel
...
Just a minor thing I noticed while going through this code.
Differential Revision: https://phabricator.services.mozilla.com/D166292
2023-01-09 11:14:30 +00:00
Emilio Cobos Álvarez
13ee6f9072
Bug 1809006 - Respect the bypass cache flag in IsImageAvailable. r=tnikkel
...
Not sure testing this is worth the effort, your call.
Differential Revision: https://phabricator.services.mozilla.com/D166286
2023-01-09 11:13:38 +00:00
Joel Maher
a86bf4d953
Bug 1808642 - adjust reftest expectations for windows 11. jfkthame r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D166205
2023-01-06 19:25:29 +00:00
Sylvestre Ledru
1f8d23143a
Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D165559
2022-12-28 09:52:44 +00:00
Timothy Nikkel
f9d4662dba
Bug 1801397. Render questionable 1x1 gifs with no image data like other clients. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D162450
2022-12-15 00:41:56 +00:00
Manuel Bucher
17df5816aa
Bug 1771867 - Early Hints Phase 2 - Part 7: Pass early hint preload to image preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161177
2022-12-02 16:15:55 +00:00
Csoregi Natalia
5a260d61a4
Backed out 13 changesets (bug 1771867) for causing CanonicalBrowsingContext crashes. CLOSED TREE
...
Backed out changeset 120838b58449 (bug 1771867)
Backed out changeset aea7ca0bbd17 (bug 1771867)
Backed out changeset 2fe2afdee09d (bug 1771867)
Backed out changeset 8bdb1f682d22 (bug 1771867)
Backed out changeset a9f3158ed688 (bug 1771867)
Backed out changeset 1177913e1edf (bug 1771867)
Backed out changeset d33ccbbf407d (bug 1771867)
Backed out changeset 110ac12e16f5 (bug 1771867)
Backed out changeset 7f20525f5e94 (bug 1771867)
Backed out changeset b3d65b1aa872 (bug 1771867)
Backed out changeset 7cdf3cef2773 (bug 1771867)
Backed out changeset 5090eae24a5c (bug 1771867)
Backed out changeset f8a03d226c73 (bug 1771867)
2022-12-02 13:44:55 +02:00
Manuel Bucher
e4a53f90d5
Bug 1771867 - Early Hints Phase 2 - Part 7: Pass early hint preload to image preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161177
2022-12-02 09:45:26 +00:00
Nika Layzell
1f06e7ba7b
Bug 1793463 - Part 6: Remove nsIProtocolHandler.{defaultPort,protocolFlags}, r=necko-reviewers,valentin
...
This removes all implementations of these types. Some implementations in JS
code were also removed in the previous part, when updating tests to use
`Services.io.registerProtocolHandler`.
Code which used to access these members should go through the IOService now
instead.
Differential Revision: https://phabricator.services.mozilla.com/D162805
2022-12-01 15:43:19 +00:00
Nika Layzell
bca0a6965b
Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag
...
This adds a new set of options to static components.conf files to allow
specifying the protocol flags and default ports of a protocol handler, and
generates a separate table just for this purpose.
This will be used in the next part as part of replacing the existing protocol
handler lookup infrastructure.
Differential Revision: https://phabricator.services.mozilla.com/D162803
2022-12-01 15:43:19 +00:00
Marian-Vasile Laza
7492025127
Backed out 7 changesets (bug 1793463) for causing bustages on nsIOService.cpp. CLOSED TREE
...
Backed out changeset 47c3acb30de2 (bug 1793463)
Backed out changeset 71afe900eb17 (bug 1793463)
Backed out changeset d168599a269e (bug 1793463)
Backed out changeset d0f18d300818 (bug 1793463)
Backed out changeset a116e6f089f2 (bug 1793463)
Backed out changeset eba1123c8b56 (bug 1793463)
Backed out changeset 68a3eb8a3057 (bug 1793463)
2022-12-01 02:30:02 +02:00
Nika Layzell
20db36cecb
Bug 1793463 - Part 6: Remove nsIProtocolHandler.{defaultPort,protocolFlags}, r=necko-reviewers,valentin
...
This removes all implementations of these types. Some implementations in JS
code were also removed in the previous part, when updating tests to use
`Services.io.registerProtocolHandler`.
Code which used to access these members should go through the IOService now
instead.
Differential Revision: https://phabricator.services.mozilla.com/D162805
2022-11-30 18:13:43 +00:00
Nika Layzell
90f7562d95
Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag
...
This adds a new set of options to static components.conf files to allow
specifying the protocol flags and default ports of a protocol handler, and
generates a separate table just for this purpose.
This will be used in the next part as part of replacing the existing protocol
handler lookup infrastructure.
Differential Revision: https://phabricator.services.mozilla.com/D162803
2022-11-30 18:13:42 +00:00
Cristian Tuns
dee91a94c7
Backed out changeset 791d453288b4 (bug 1801397) for causing gtest failures with ImageDecoders CLOSED TREE
2022-11-29 01:20:08 -05:00
Timothy Nikkel
8df39133e8
Bug 1801397. Render questionable 1x1 gifs with no image data like other clients. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D162450
2022-11-29 05:35:49 +00:00
Botond Ballo
68c71a503c
Bug 1802225 - Remove Layers.{h,cpp}. r=tnikkel,geckoview-reviewers,jgilbert,media-playback-reviewers,padenot,m_kato
...
Where appropriate, `#include "Layers.h"` is replaced with
more specific inclusions.
Differential Revision: https://phabricator.services.mozilla.com/D162934
2022-11-29 01:52:03 +00:00
Emilio Cobos Álvarez
d05b1727e9
Bug 1800979 - Mark CSS image value loads as not cancelable. r=tnikkel
...
Yes, the test took 15 times as much as the fix.
Differential Revision: https://phabricator.services.mozilla.com/D162474
2022-11-20 00:22:20 +00:00
Daniel Holbert
7f83cbcfba
Bug 1800342: Make NS_NewPipe2 and NS_NewPipe infallible, to reflect reality. r=xpcom-reviewers,necko-reviewers,nika,kershaw
...
This patch doesn't change behavior; these APIs were already effectively
infallible, in the sense that it was impossible for them to return anything
other than NS_OK.
The actual API changes here are in xpcom/io/nsIPipe.idl and
xpcom/io/nsPipe3.cpp, and the rest of this patch is just updates to callsites,
removing code that handled failure-flavored return values from these functions.
(All of this removed code was already dead code, effectively.)
Differential Revision: https://phabricator.services.mozilla.com/D161947
2022-11-14 23:22:16 +00:00
Brad Werth
987a61fc5c
Bug 1798532 Part 3: Allow JPEGDecoder to handle frame data in the footer. r=tnikkel
...
This also modifies red-bad-marker.jpg to add a SOF6 marker (0xFFC6) in the
footer.
Differential Revision: https://phabricator.services.mozilla.com/D161637
2022-11-09 17:01:35 +00:00
Brad Werth
11d3c18e08
Bug 1798532 Part 2: Test display of a JPEG with 0xb6 markers. r=tnikkel
...
This has been edited to add one 0xb6 marker after the header, and one
after the end of image marker.
Depends on D161187
Differential Revision: https://phabricator.services.mozilla.com/D161332
2022-11-07 22:20:36 +00:00
Brad Werth
cbb5bf5c93
Bug 1798532 Part 1: Ignore JPEG unknown markers. r=tnikkel
...
This will push through any unknown marker errors from libjpeg, but still
fail for other errors. Dropping markers prevents infinite loops in processing.
Differential Revision: https://phabricator.services.mozilla.com/D161187
2022-11-07 22:20:36 +00:00
Razvan Cojocaru
1629218702
Bug 1060421 - Change the type of [Int]PointTyped::[x|y] back to [Int]CoordTyped. r=botond
...
[Int]CoordTyped no longer inherits Units because otherwise
instances of [Int]IntPointTyped may get one Base subobject because
it inherits Units, and others because of BasePoint's Coord members,
which end up increasing the [Int]CoordTyped's objects size (since
according to the ISO C++ standard, different Base subobject are
required to have different addresses).
Differential Revision: https://phabricator.services.mozilla.com/D160713
2022-11-04 18:29:35 +00:00
Jens Stutte
a71d351e3b
Bug 1797688 - Part 6: Substitute gXPCOMThreadsShutDown with InOrBeyond(XPCOMShutdownFinal) in SurfaceCacheImpl. r=xpcom-reviewers,mccr8
...
To release the images, `ClearReleasingImages` basically takes all the `RefPtr<Image>` out of `mReleasingImagesOnMainThread` under a lock and then clears them, all on the main thread. This can be safely done before as late as XPCOMShutdownFinal on the main thread in order to avoid leaks.
Differential Revision: https://phabricator.services.mozilla.com/D160624
2022-11-01 14:08:45 +00:00
Jens Stutte
c9e6f9840c
Bug 1797688 - Part 5: Substitute gXPCOMThreadsShutDown with InOrBeyond(XPCOMShutdownThreads) in ProgressTracker::RemoveObserver. r=xpcom-reviewers,mccr8,tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D160623
2022-11-01 14:08:44 +00:00
Jens Stutte
81a4773b22
Bug 1797688 - Part 4: Bail out from IDecodingTask::NotifyProgress and NotifyDecodeComplete InOrBeyond(XPCOMShutdownThreads). r=xpcom-reviewers,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D160622
2022-11-01 14:08:44 +00:00
Andrew Osmond
9d245b8325
Bug 1794722 - Part 2. Remove all uses of gfxVars::UseWebRender(). r=jrmuizel,media-playback-reviewers,alwu
...
This is always true.
Differential Revision: https://phabricator.services.mozilla.com/D160121
2022-10-28 12:36:06 +00:00
Cristian Tuns
1303ee58d8
Backed out 3 changesets (bug 1794722) for causing multiple failures on RemoteProcessMonitor CLOSED TREE
...
Backed out changeset 0217af5b1aa6 (bug 1794722)
Backed out changeset d7805be9dfb3 (bug 1794722)
Backed out changeset 0093f071f1a5 (bug 1794722)
2022-10-27 20:52:36 -04:00
Andrew Osmond
93abf26cbc
Bug 1794722 - Part 2. Remove all uses of gfxVars::UseWebRender(). r=jrmuizel,media-playback-reviewers,alwu
...
This is always true.
Differential Revision: https://phabricator.services.mozilla.com/D160121
2022-10-28 00:08:03 +00:00
Timothy Nikkel
19b7441082
Bug 1794754. Return NEED_MORE_DATA from nsWebPDecoder::ReadHeader if ICC was specified but chunk not found r=aosmond
...
Bug 1780834 caused this bug. If we are not complete then we might need to
wait for more data to come in that has the ICCP chunk.
Differential Revision: https://phabricator.services.mozilla.com/D159137
2022-10-20 07:53:25 +00:00
Timothy Nikkel
b06cb79c08
Bug 1795779. Don't call TimeStamp::Now for the profiler every time an image is drawn if the profiler isn't active. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D159554
2022-10-18 06:57:13 +00:00
Kershaw Chang
278e75d974
Bug 1794766 - Use CancelWithReason in imgRequest and nsLoadGroup, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D159148
2022-10-13 08:54:12 +00:00
Masatoshi Kimura
a6888b17a9
Bug 327074 - Allow RLE bitmaps with extra pixels per row to render. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D159028
2022-10-12 03:58:32 +00:00
Brad Werth
949fa28f4f
Bug 1765187 Part 1: Track color primaries independently from coefficients. r=media-playback-reviewers,jgilbert,alwu
...
This patch attempts to read color primary information from platform
agnostic decoders. It doesn't use any of this information to change how
the video frame is displayed.
It also cleans up some VPX transfer characteristics, to ensure they are
actually retrieved from the codec information, when available.
Differential Revision: https://phabricator.services.mozilla.com/D156362
2022-10-10 20:12:58 +00:00
Chun-Min Chang
c3449a3361
Bug 1774300 - Implement VideoFrame Constructor for I420A ArrayBuffer* r=padenot,jgilbert
...
This patch allows constructing a VideoFrame from the ArrayBuffer* in
I420A format, which contains the I420 data with an extra alpha channel
data.
Depends on D149584
Differential Revision: https://phabricator.services.mozilla.com/D149943
2022-10-06 00:37:22 +00:00
Butkovits Atila
dd8f948670
Backed out 19 changesets (bug 1793497, bug 1774300) for causing lint failure. CLOSED TREE
...
Backed out changeset f5460317d244 (bug 1793497)
Backed out changeset 5af8771526a1 (bug 1774300)
Backed out changeset 3ab7aead37b5 (bug 1774300)
Backed out changeset 5f837d7e621b (bug 1774300)
Backed out changeset 56bfa6480cb5 (bug 1774300)
Backed out changeset db37fffc8519 (bug 1774300)
Backed out changeset d5d263cedbc9 (bug 1774300)
Backed out changeset 52fdd5a613f4 (bug 1774300)
Backed out changeset 6ce76e0d6fd2 (bug 1774300)
Backed out changeset c5f67f22597e (bug 1774300)
Backed out changeset 4a7dca31703e (bug 1774300)
Backed out changeset e56596b91a86 (bug 1774300)
Backed out changeset 825ae6e7be9b (bug 1774300)
Backed out changeset 19f750d86a73 (bug 1774300)
Backed out changeset 50995e55c546 (bug 1774300)
Backed out changeset 33b150b4c911 (bug 1774300)
Backed out changeset 2bc06d0e8808 (bug 1774300)
Backed out changeset ba9bc5c631b0 (bug 1774300)
Backed out changeset 4a145bdd6b86 (bug 1774300)
2022-10-05 01:05:57 +03:00
Chun-Min Chang
c4b771507e
Bug 1774300 - Implement VideoFrame Constructor for I420A ArrayBuffer* r=padenot,jgilbert
...
This patch allows constructing a VideoFrame from the ArrayBuffer* in
I420A format, which contains the I420 data with an extra alpha channel
data.
Depends on D149584
Differential Revision: https://phabricator.services.mozilla.com/D149943
2022-10-04 21:38:26 +00:00
Mark Banner
226c0dffea
Bug 1792861 - Fix ESLint no-unused-vars issues on global scopes in image/test. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D158346
2022-10-01 09:03:11 +00:00
Andrew McCreight
2da84b8ac4
Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika
...
There are only 3 places where nsMemory.h is still needed (image/RasterImage.cpp,
gfx/thebes/gfxFT2FontList.cpp, and nsMemory.cpp). Remove the rest.
Differential Revision: https://phabricator.services.mozilla.com/D158213
2022-09-28 15:17:46 +00:00
Emilio Cobos Álvarez
4ec1be44bb
Bug 1792435 - Fix triggering principal set-up for static image requests. r=dlrobertson
...
That is, for printing. Those don't have an owning request, see the
comment on the image principal code.
Differential Revision: https://phabricator.services.mozilla.com/D158193
2022-09-28 03:56:58 +00:00
Dan Robertson
2eb1b8240a
Bug 1655598 - Cross origin image request should not respect image orientation. r=emilio
...
A cross origin image request should not respect the given style image
orientation, but should use any image orientation provided by the image.
Differential Revision: https://phabricator.services.mozilla.com/D156919
2022-09-28 03:56:57 +00:00
Dan Robertson
b7b30e5a1d
Bug 1655598 - The imgIRequest uri attribute should be infallible. r=emilio
...
The implementation of GetURI always returns NS_OK, and therefore the URI can
be marked as infallible.
Differential Revision: https://phabricator.services.mozilla.com/D157009
2022-09-28 03:56:57 +00:00
Butkovits Atila
d45dd05bf4
Backed out 2 changesets (bug 1655598) for causing Bug 1792435. a=backout
...
Backed out changeset 9eb3b3e7295b (bug 1655598)
Backed out changeset 052c6f05c623 (bug 1655598)
2022-09-27 12:37:10 +03:00
Dan Robertson
607672e1b4
Bug 1655598 - Cross origin image request should not respect image orientation. r=emilio
...
A cross origin image request should not respect the given style image
orientation, but should use any image orientation provided by the image.
Differential Revision: https://phabricator.services.mozilla.com/D156919
2022-09-25 00:07:56 +00:00
Dan Robertson
6b7a505d18
Bug 1655598 - The imgIRequest uri attribute should be infallible. r=emilio
...
The implementation of GetURI always returns NS_OK, and therefore the URI can
be marked as infallible.
Differential Revision: https://phabricator.services.mozilla.com/D157009
2022-09-25 00:07:55 +00:00
Dana Keeler
923d7b2029
Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D157136
2022-09-20 03:58:49 +00:00
Nika Layzell
0316dc51b9
Bug 1790614 - Part 2: Use {ASSERT,ENSURE}_NS_{SUCCEEEDED,FAILED} in gtests, r=ahal,necko-reviewers
...
These macros will produce better outputs when they fail than these existing
patterns using `ENSURE_TRUE(NS_SUCCEEDED(...))` or similar, so this is a bulk
rewrite of existing tests to use them.
It should also help with discoverability when people base their tests off of
other existing tests.
Differential Revision: https://phabricator.services.mozilla.com/D157214
2022-09-15 14:51:50 +00:00
Nika Layzell
449e73f1c7
Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D156893
2022-09-09 18:22:36 +00:00
Marian-Vasile Laza
78b100abc0
Backed out changeset 10ea141649b6 (bug 1348272) for causing mochitest failures on test_domparsing.xhtml. CLOSED TREE
2022-09-09 19:21:48 +03:00
Nika Layzell
b24f79de71
Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D156893
2022-09-09 13:29:30 +00:00
Kershaw Chang
d164608d66
Bug 1760580 - P2: Provide a reason when request is cancelled with NS_BINDING_ABORTED, r=necko-reviewers,media-playback-reviewers,valentin,chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D156071
2022-09-08 09:11:19 +00:00
Kershaw Chang
cc6c147f88
Bug 1760580 - P1: Make nsIRequest support to store canceled reason, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D156070
2022-09-08 09:11:18 +00:00
Timothy Nikkel
31d2695f81
Bug 1786818. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D155462
2022-09-08 03:29:36 +00:00
Mark Banner
3644b07dd2
Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for a few test files. r=mossop
...
This also moves the layout disabling to the layout section - to be enabled later.
Differential Revision: https://phabricator.services.mozilla.com/D155177
2022-08-26 13:39:39 +00:00
Timothy Nikkel
ad4d2d61f1
Bug 1784835. Use checkedint in webp encoder to avoid overflow. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D154622
2022-08-23 08:42:49 +00:00
Emilio Cobos Álvarez
645b3eb6fd
Bug 1782595 - Use the preferred color-scheme to propagate to SVG images. r=tnikkel
...
We have tests for the explicit color-scheme in the WPT, and testing this
properly needs prefs to switch the light/dark preference so tests can't
go there.
Undoing https://hg.mozilla.org/integration/autoland/rev/f31efc2a9229
should be enough to cover the difference between preferred and used
color-scheme.
Depends on D154923
Differential Revision: https://phabricator.services.mozilla.com/D154924
2022-08-18 15:49:52 +00:00
Andi-Bogdan Postelnicu
eeac3728d2
Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
...
Updated with clang-format version 14.0.5 (taskcluster-DydCt-ryTuKvBYw1HQOugw)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D154661
2022-08-16 07:08:27 +00:00
Timothy Nikkel
30b8b1b093
Bug 1782877. Encoding webp with quality 100 should use lossless. r=aosmond
...
Chrome and Safari do, and it makes sense.
Differential Revision: https://phabricator.services.mozilla.com/D153578
2022-08-12 23:15:38 +00:00
Mike Hommey
99d04c97e8
Bug 1784205 - Avoid returning SIID_INVALID as a SHSTOCKICONID because it's not part of the enum. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D154355
2022-08-11 08:26:53 +00:00
Fabrice Desré
c50cb528fc
Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel
3ccd75af8d
Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD
2022-08-03 18:55:00 +03:00
Andreea Pavel
fdb7cb2ecd
Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Mark Banner
7428be4a86
Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Andreea Pavel
89d63c91e6
Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE
2022-08-02 04:59:08 +03:00
Fabrice Desré
0f4ac7ad97
Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Timothy Nikkel
b5a9365200
Bug 1780834. If a webp file header specifies ICCP but no ICCP chunk is found just ignore it and continue. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D152588
2022-07-26 08:24:27 +00:00
Emilio Cobos Álvarez
42b7f1a58c
Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana
...
This prevents copies and avoids the hack we have to avoid this, which
right now is using nsDependent{C,}String.
Non-virtual actors can still use `nsString` if they need to on the
receiving end.
Differential Revision: https://phabricator.services.mozilla.com/D152519
2022-07-25 20:19:48 +00:00
Andi-Bogdan Postelnicu
806f346204
Bug 1519636 - Reformat recent changes to the Google coding style. r=marco
...
Updated with clang-format version 14.0.5 (taskcluster-ThuAJINyTKOILKeakawQZw)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D151908
2022-07-15 08:27:50 +00:00
Emilio Cobos Álvarez
4414d74633
Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond
...
All its members are optional, so we can just use it as a plain struct
rather than Maybe<> all around, which simplifies the code and prevents
silly bugs like bug 1779592.
Mostly automatic via:
rg -l 'SVGImageContext' . | xargs sed -i 's/Maybe<SVGImageContext>/SVGImageContext/g'
With trivial build fixes.
Not intended to change behavior.
Differential Revision: https://phabricator.services.mozilla.com/D151846
2022-07-14 16:03:25 +00:00
Emilio Cobos Álvarez
5b5d69a8c4
Bug 1779457 - Fix test_mq_dynamic_svg.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-07-14 12:37:41 +02:00
Tooru Fujisawa
54623364da
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Sebastian Hengst
07c1520097
Bug 1774376 - update further metadata mapping files to Graphics Bugzilla components. DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D151558
2022-07-11 22:38:30 +00:00
Andreea Pavel
7738a75fdd
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
8cd6ed7409
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
52c95734e7
Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
47c8f80432
Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa
bf93d07148
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Nika Layzell
7ced96212e
Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana
...
We'll probably want to do something more accurate in the future with a
custom clang static analysis pass which validates that XPIDL interfaces
have the expected vtable and struct layout, however doing so would be
more involved than the string matching done in this patch.
In addition to checking for extra virtual methods, we'll likely also
want to check for data members on interfaces, and reject them unless the
class is marked as `[builtinclass]` in addition to some other attribute
which we'll need to add to prevent them from being implemented in Rust
(as c++ data members will not be reflected by the rust macro).
There were 2 instances of a comment which contained the word 'virtual'
within a CDATA block. These comments were moved out of the CDATA block
to avoid triggering the error.
Differential Revision: https://phabricator.services.mozilla.com/D151068
2022-07-06 14:53:06 +00:00
Dragana Damjanovic
0cb9ae544a
Bug 1778272 - Revert the change to the LoadInfo release function. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D151103
2022-07-06 08:10:51 +00:00
Razvan Cojocaru
47f3281d5e
Bug 1775209 - Change local variables of type gfx::Size, which actually represent scales, to MatrixScales. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149866
2022-06-24 19:00:38 +00:00
Joel Maher
5bf232d7af
Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D150127
2022-06-23 17:49:07 +00:00
Andrew Osmond
2a6e181df2
Bug 1775495 - Avoid trigger extra async image decodes when sync decodes are requested. r=jrmuizel
...
When we request a sync decode, if there is an outstanding pending
async decode, but we don't have all the network data, we would end up
triggering an extra async decode. This patch ensures that we only
trigger sync decodes if they will actually execute as sync.
Differential Revision: https://phabricator.services.mozilla.com/D150008
2022-06-22 17:31:28 +00:00
Razvan Cojocaru
5b663ef76f
Bug 1773387 - Change local variables of type gfxSize, which actually represent scales, to MatrixScalesDouble. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149565
2022-06-20 19:17:14 +00:00
Razvan Cojocaru
1b6260e0ad
Bug 1773385 - Change the type of DownscalingFilter::mScale to MatrixScalesDouble. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149522
2022-06-17 21:32:10 +00:00
Razvan Cojocaru
08ea6a8367
Bug 1773384 - Change the type of Downscaler::mScale to MatrixScalesDouble. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149380
2022-06-15 22:37:48 +00:00
Manuel Bucher
14dd2f26fc
Bug 1761242 - Expose computing security flags for early hint preloader r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144798
2022-06-15 09:59:44 +00:00
Joel Maher
490f3d046c
Bug 1773523 - allow_xul_xbl support in manifests. r=mccr8,gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D148681
2022-06-09 19:01:01 +00:00
Benjamin VanderSloot
5157d54b3b
Bug 1765313, part 2 - Move the ShouldAllowAccessFor functions to StorageAccess.h, r=anti-tracking-reviewers,timhuang
...
These functions are used to check if an object or context should have storage access.
Therefore they belong in StorageAccess.h with other functions that serve this purpose.
Differential Revision: https://phabricator.services.mozilla.com/D148285
2022-06-08 21:57:16 +00:00