gecko-dev/image
Nika Layzell 19d2b08163 Bug 1728331 - Part 5: Respect AppType in ImageCacheKey, r=emilio
This attribute is not used in Gecko, but exists for use by other
applications. Specifically, the APP_TYPE_EDITOR type is given permission
to load privileged images as tested by browser_docshell_type_editor.js.
Before these changes, that test passed because the docshell was loaded
in a different process, so the cache was empty when each load occurred,
but after my changes the process ends up being re-used, so the image
cache bypasses this check.

This changes the image cache key to also include the app type
information so that it will be compared before re-using the entry.

Differential Revision: https://phabricator.services.mozilla.com/D126557
2024-06-24 23:19:29 +00:00
..
build
decoders Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
encoders
test Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
AnimationFrameBuffer.cpp
AnimationFrameBuffer.h
AnimationParams.h
AnimationSurfaceProvider.cpp
AnimationSurfaceProvider.h
AutoRestoreSVGState.h
BMPHeaders.h
BlobSurfaceProvider.cpp
BlobSurfaceProvider.h
ClippedImage.cpp
ClippedImage.h
CopyOnWrite.h
DecodePool.cpp
DecodePool.h
DecodedSurfaceProvider.cpp
DecodedSurfaceProvider.h
Decoder.cpp Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
Decoder.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
DecoderFactory.cpp Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
DecoderFactory.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
DecoderFlags.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
Downscaler.cpp
Downscaler.h
DownscalingFilter.h
DynamicImage.cpp
DynamicImage.h
FrameAnimator.cpp
FrameAnimator.h
FrameTimeout.h
FrozenImage.cpp
FrozenImage.h
ICOFileHeaders.h
IDecodingTask.cpp
IDecodingTask.h
IProgressObserver.h
ISurfaceProvider.h
Image.cpp
Image.h
ImageBlocker.cpp
ImageBlocker.h
ImageCacheKey.cpp Bug 1728331 - Part 5: Respect AppType in ImageCacheKey, r=emilio 2024-06-24 23:19:29 +00:00
ImageCacheKey.h Bug 1728331 - Part 5: Respect AppType in ImageCacheKey, r=emilio 2024-06-24 23:19:29 +00:00
ImageFactory.cpp
ImageFactory.h
ImageLogging.h
ImageMemoryReporter.cpp
ImageMemoryReporter.h
ImageMetadata.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
ImageOps.cpp Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
ImageOps.h
ImageRegion.h
ImageWrapper.cpp
ImageWrapper.h
ImgDrawResult.h
LookupResult.h
MultipartImage.cpp
MultipartImage.h
Orientation.h
OrientedImage.cpp
OrientedImage.h
PlaybackType.h
ProgressTracker.cpp
ProgressTracker.h
RasterImage.cpp Bug 1901076 - Part 1. Include animated images loop count in metadata decoding results. r=tnikkel 2024-06-24 22:44:30 +00:00
RasterImage.h
Resolution.h
SVGDocumentWrapper.cpp
SVGDocumentWrapper.h
SVGDrawingCallback.h
SVGDrawingParameters.h
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h
StreamingLexer.h
SurfaceCache.cpp
SurfaceCache.h
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h
SurfaceFlags.h
SurfacePipe.cpp
SurfacePipe.h
SurfacePipeFactory.h
VectorImage.cpp
VectorImage.h
WebRenderImageProvider.h
imgFrame.cpp
imgFrame.h
imgICache.idl
imgIContainer.idl
imgIContainerDebug.idl
imgIEncoder.idl
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1904004 - Use OriginAttributes::IsPrivateBrowsing instead of open coding PBM checks. r=timhuang,cookie-reviewers,anti-tracking-reviewers,profiler-reviewers,necko-reviewers,kershaw,dom-storage-reviewers,janv,canaltinova,dom-worker-reviewers,asuth 2024-06-24 11:06:18 +00:00
imgLoader.h
imgRequest.cpp
imgRequest.h
imgRequestProxy.cpp
imgRequestProxy.h
imgTools.cpp
imgTools.h
moz.build
nsIIconURI.idl