gecko-dev/image
Nika Layzell d02de7ba99 Bug 1840647 - Part 2: Stop using GetWebExposedOriginSerialization in imgLoader, r=tnikkel
The current behaviour would treat all null principals as the same, and
is using an extra comparison for origin attributes explicitly in
addition to the web exposed origin serialization. As far as I can tell,
this will never be called with a null `aPrincipal`, but I figured it was
worth fixing.

This changes the logic to use full principals for comparison, rather
than serializing to strings.

Differential Revision: https://phabricator.services.mozilla.com/D182227
2023-07-07 17:08:35 +00:00
..
build Bug 1511670 - Add WebP image encoding support. r=aosmond 2021-11-06 13:09:07 +00:00
decoders Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
encoders Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8 2023-03-15 19:52:34 +00:00
test Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu 2023-06-28 13:21:00 +00:00
AnimationFrameBuffer.cpp Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
AnimationFrameBuffer.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
AnimationParams.h
AnimationSurfaceProvider.cpp Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
AnimationSurfaceProvider.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
AutoRestoreSVGState.h Bug 1808102 - Move contextPaint to Document class r=emilio 2023-01-17 19:13:41 +00:00
BMPHeaders.h Bug 1757929 - Avoid some conflicts with WINDOWS define. r=tnikkel 2022-05-05 11:37:51 +00:00
BlobSurfaceProvider.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
BlobSurfaceProvider.h Bug 1711061 - Part 10. Implement BlobSurfaceProvider for non-rasterized blob recordings. r=tnikkel 2021-11-27 11:47:39 +00:00
ClippedImage.cpp Bug 1276351: apply code formatting via Lando 2023-03-27 07:23:36 +00:00
ClippedImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
CopyOnWrite.h
DecodePool.cpp Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
DecodePool.h Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
DecodedSurfaceProvider.cpp Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel 2021-11-27 11:47:36 +00:00
DecodedSurfaceProvider.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
Decoder.cpp Bug 1765871. Deal with oriented image frames in imgFrame::Finish. r=aosmond 2022-05-07 06:50:47 +00:00
Decoder.h Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
DecoderFactory.cpp Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
DecoderFactory.h Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
DecoderFlags.h Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
Downscaler.cpp Bug 1773384 - Change the type of Downscaler::mScale to MatrixScalesDouble. r=botond 2022-06-15 22:37:48 +00:00
Downscaler.h Bug 1773384 - Change the type of Downscaler::mScale to MatrixScalesDouble. r=botond 2022-06-15 22:37:48 +00:00
DownscalingFilter.h Bug 1773385 - Change the type of DownscalingFilter::mScale to MatrixScalesDouble. r=botond 2022-06-17 21:32:10 +00:00
DynamicImage.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
DynamicImage.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
FrameAnimator.cpp Bug 1765116. Don't ignore any potential invalidation rect from calling UpdateState in FrameAnimator::ResetAnimation. r=aosmond 2022-04-22 09:00:42 +00:00
FrameAnimator.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
FrameTimeout.h
FrozenImage.cpp Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
FrozenImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
ICOFileHeaders.h
IDecodingTask.cpp Bug 1797688 - Part 4: Bail out from IDecodingTask::NotifyProgress and NotifyDecodeComplete InOrBeyond(XPCOMShutdownThreads). r=xpcom-reviewers,mccr8 2022-11-01 14:08:44 +00:00
IDecodingTask.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
IProgressObserver.h
ISurfaceProvider.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
Image.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
Image.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
ImageBlocker.cpp Bug 1720280: Avoid NullPtr deref in ImageBlocker::ShouldLoad. r=smaug 2021-12-09 12:09:40 +00:00
ImageBlocker.h
ImageCacheKey.cpp Bug 1832528 - Make cors mode part of the image cache key. r=tnikkel 2023-05-25 22:25:31 +00:00
ImageCacheKey.h Bug 1832528 - Make cors mode part of the image cache key. r=tnikkel 2023-05-25 22:25:31 +00:00
ImageFactory.cpp Bug 1812368 - Truncate the URLs we are passing into profiler markers r=julienw 2023-02-09 10:16:51 +00:00
ImageFactory.h Bug 1756587. Fix a couple of aInnerWindowId parameters to be uint64_t in ImageFactory.cpp. r=aosmond 2022-02-26 07:22:44 +00:00
ImageLogging.h
ImageMemoryReporter.cpp
ImageMemoryReporter.h
ImageMetadata.h Bug 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel 2021-10-06 14:41:17 +00:00
ImageOps.cpp Bug 1704332 - Remove various image-orientation related prefs. r=tnikkel 2021-04-11 17:39:12 +00:00
ImageOps.h
ImageRegion.h Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel 2021-11-27 11:47:39 +00:00
ImageWrapper.cpp Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
ImageWrapper.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
ImgDrawResult.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
LookupResult.h
MultipartImage.cpp Bug 1530209 - Removed context argument from various methods. r=necko-reviewers,valentin 2021-11-24 11:25:41 +00:00
MultipartImage.h Bug 1530209 - Removed context argument from various methods. r=necko-reviewers,valentin 2021-11-24 11:25:41 +00:00
Orientation.h Bug 1732115 - Part 2. Move OrientedPixel and related to image/Orientation.h. r=tnikkel 2021-10-06 14:41:17 +00:00
OrientedImage.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
OrientedImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
PlaybackType.h
ProgressTracker.cpp Bug 1797688 - Part 5: Substitute gXPCOMThreadsShutDown with InOrBeyond(XPCOMShutdownThreads) in ProgressTracker::RemoveObserver. r=xpcom-reviewers,mccr8,tnikkel 2022-11-01 14:08:44 +00:00
ProgressTracker.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
RasterImage.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
RasterImage.h Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
Resolution.h Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel 2021-05-05 09:41:24 +00:00
SVGDocumentWrapper.cpp Bug 1786818. r=mstange 2022-09-08 03:29:36 +00:00
SVGDocumentWrapper.h Bug 1708443 - Part 3. Move VectorImage::mIsDrawing to SVGDocumentWrapper. r=tnikkel 2021-04-29 14:15:01 +00:00
SVGDrawingCallback.h Bug 1708443 - Part 2. Move SVGDrawingCallback declaration to own header. r=tnikkel 2021-04-29 14:15:01 +00:00
SVGDrawingParameters.h Bug 1519636 - Reformat recent changes to the Google coding style. r=marco 2022-07-15 08:27:50 +00:00
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
StreamingLexer.h
SurfaceCache.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
SurfaceCache.h Bug 1519636 - Reformat recent changes to the Google coding style. r=marco 2022-07-15 08:27:50 +00:00
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h
SurfaceFlags.h Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel 2021-11-27 11:47:39 +00:00
SurfacePipe.cpp Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
SurfacePipe.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
SurfacePipeFactory.h Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
VectorImage.cpp Bug 1831457. Call MaybeRestrictSVGContext in VectorImage::GetImageProvider. r=aosmond 2023-07-06 11:59:34 +00:00
VectorImage.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
WebRenderImageProvider.h Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel 2021-11-27 11:47:36 +00:00
imgFrame.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
imgFrame.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
imgICache.idl Bug 1705033 - Added ImageCacheCleaner deleteByBaseDomain. r=tnikkel,timhuang 2021-05-27 12:37:04 +00:00
imgIContainer.idl Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
imgIContainerDebug.idl
imgIEncoder.idl Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin 2022-09-09 18:22:36 +00:00
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1840647 - Part 2: Stop using GetWebExposedOriginSerialization in imgLoader, r=tnikkel 2023-07-07 17:08:35 +00:00
imgLoader.h Bug 1832553 - Remove the chrome / non-chrome image cache split. r=tnikkel 2023-05-13 08:31:46 +00:00
imgRequest.cpp Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
imgRequest.h Bug 1655598 - Cross origin image request should not respect image orientation. r=emilio 2022-09-28 03:56:57 +00:00
imgRequestProxy.cpp Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
imgRequestProxy.h Bug 1800979 - Mark CSS image value loads as not cancelable. r=tnikkel 2022-11-20 00:22:20 +00:00
imgTools.cpp Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
imgTools.h
moz.build Bug 1774376 - update further metadata mapping files to Graphics Bugzilla components. DONTBUILD 2022-07-11 22:38:30 +00:00
nsIIconURI.idl