gecko-dev/image
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
..
build Bug 1511670 - Add WebP image encoding support. r=aosmond 2021-11-06 13:09:07 +00:00
decoders Bug 1778272 - Revert the change to the LoadInfo release function. r=necko-reviewers,kershaw 2022-07-06 08:10:51 +00:00
encoders Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
test Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie 2022-06-23 17:49:07 +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 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
BlobSurfaceProvider.cpp Bug 1763642 - Fix assertion where we try to free stale blob keys. r=gfx-reviewers,lsalzman 2022-04-07 16:07:36 +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
BMPHeaders.h Bug 1757929 - Avoid some conflicts with WINDOWS define. r=tnikkel 2022-05-05 11:37:51 +00:00
ClippedImage.cpp Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel 2021-11-27 11:47:40 +00:00
ClippedImage.h Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel 2021-11-27 11:47:40 +00:00
CopyOnWrite.h
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
DecodePool.cpp Bug 1734811 - consider to use higher priority for the imglib tasks r=tnikkel 2021-10-08 19:29:37 +00:00
DecodePool.h Bug 1207753 - image thread-safety annotations r=aosmond 2022-03-21 20:04:39 +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 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel 2021-10-06 14:41:17 +00:00
DecoderFactory.h Bug 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel 2021-10-06 14:41:17 +00:00
DecoderFlags.h
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 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +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 1769195. Don't bother to try to do a partial draw of a background image if we haven't decoded any pixels. r=aosmond 2022-05-20 09:02:32 +00:00
FrozenImage.h Bug 1769195. Don't bother to try to do a partial draw of a background image if we haven't decoded any pixels. r=aosmond 2022-05-20 09:02:32 +00:00
ICOFileHeaders.h
IDecodingTask.cpp Bug 1734811 - consider to use higher priority for the imglib tasks r=tnikkel 2021-10-08 19:29:37 +00:00
IDecodingTask.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
Image.cpp Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel 2021-11-27 11:47:40 +00:00
Image.h Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel 2021-11-27 11:47:40 +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 1765313, part 2 - Move the ShouldAllowAccessFor functions to StorageAccess.h, r=anti-tracking-reviewers,timhuang 2022-06-08 21:57:16 +00:00
ImageCacheKey.h Backed out 2 changesets (bug 1728331) for causing failures at RTCPeerConnection-videoDetectorTest.html. CLOSED TREE 2022-03-29 00:04:47 +03:00
ImageFactory.cpp 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
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
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 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +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
imgFrame.cpp Bug 1765871. Deal with oriented image frames in imgFrame::Finish. r=aosmond 2022-05-07 06:50:47 +00:00
imgFrame.h Bug 1770464. Correctly guard access to imgFrame::mDecoded with monitor. r=aosmond 2022-05-24 12:23:38 +00:00
imgICache.idl
imgIContainer.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
imgIContainerDebug.idl
imgIEncoder.idl Bug 1750475. Allow quality parameter to be passed through the webp encoder from canvas data url encoding functions. r=lsalzman 2022-01-19 09:50:33 +00:00
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl Bug 1769195. Don't bother to try to do a partial draw of a background image if we haven't decoded any pixels. r=aosmond 2022-05-20 09:02:32 +00:00
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1761242 - Expose computing security flags for early hint preloader r=ckerschb,smaug 2022-06-15 09:59:44 +00:00
imgLoader.h Bug 1207753 - image thread-safety annotations r=aosmond 2022-03-21 20:04:39 +00:00
imgRequest.cpp Bug 1746052, add a means to get the filename that should be used for saving an image to disk, r=aosmond 2022-05-06 10:00:52 +00:00
imgRequest.h Bug 1746052, add a means to get the filename that should be used for saving an image to disk, r=aosmond 2022-05-06 10:00:52 +00:00
imgRequestProxy.cpp Bug 1769195. Don't bother to try to do a partial draw of a background image if we haven't decoded any pixels. r=aosmond 2022-05-20 09:02:32 +00:00
imgRequestProxy.h
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
IProgressObserver.h
ISurfaceProvider.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
LookupResult.h
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
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
nsIIconURI.idl
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 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
OrientedImage.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
PlaybackType.h
ProgressTracker.cpp Bug 1734811 - consider to use higher priority for the imglib tasks r=tnikkel 2021-10-08 19:29:37 +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 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
RasterImage.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
Resolution.h
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h Bug 1207753 - gfx & image thread-safety annotations r=gfx-reviewers,aosmond 2022-03-21 18:05:31 +00:00
StreamingLexer.h
SurfaceCache.cpp Bug 1763581. If we reset an animated image animation make sure we can always reset the animation on the AnimationSurfaceProvider if it exists. r=aosmond 2022-04-21 08:01:10 +00:00
SurfaceCache.h Bug 1763581. If we reset an animated image animation make sure we can always reset the animation on the AnimationSurfaceProvider if it exists. r=aosmond 2022-04-21 08:01:10 +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 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
SurfacePipeFactory.h Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
SVGDocumentWrapper.cpp
SVGDocumentWrapper.h
SVGDrawingCallback.h
SVGDrawingParameters.h
VectorImage.cpp Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
VectorImage.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +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