gecko-dev/image
Kartikaya Gupta 77fbcf18c0 Bug 1651050 - Make sure the iframe is actually outside the "nearly visible" displayport. r=tnikkel
If the scrollable div ends up as the first-encountered scrollframe, it gets a
big displayport that is just over 5000px CSS pixels tall (on GeckoView). When we
check for images being "nearly visible" we expand that displayport further by a
pref-controlled multiplier, which ends up doubling the displayport height to
over 10000 CSS pixels. So for the image to actually get detected as outside the
"nearly visible rect" it needs to be positioned further down in the iframe.
This test was previously passing on GeckoView because the scrollable div was
not getting detected as the first-encountered scrollframe; the root scrollframe
for the top-level document was the one getting the displayport even though it
didn't really need it. A later patch in this bug changes the first-encountered
scrollframe, causing this test to fail without this patch.

Differential Revision: https://phabricator.services.mozilla.com/D82777
2020-07-08 23:50:16 +00:00
..
build Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
decoders Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
encoders Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
test Bug 1651050 - Make sure the iframe is actually outside the "nearly visible" displayport. r=tnikkel 2020-07-08 23:50:16 +00:00
AnimationFrameBuffer.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
AnimationFrameBuffer.h
AnimationParams.h
AnimationSurfaceProvider.cpp Bug 1628606. Make sure to mark the surface cache entry available before sending the frame complete notification. r=aosmond 2020-04-09 13:17:40 +00:00
AnimationSurfaceProvider.h
BMPHeaders.h Backed out changeset 40784ea31188 (bug 651482) for Reftest failures in bmp-corrupted/wrapper.html?invalid-compression-BITFIELDS.bmp. CLOSED TREE 2020-05-22 12:21:32 +03:00
ClippedImage.cpp Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
ClippedImage.h Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
CopyOnWrite.h
DecodedSurfaceProvider.cpp Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika 2020-04-07 15:16:23 +00:00
DecodedSurfaceProvider.h
DecodePool.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
DecodePool.h
Decoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
Decoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
DecoderFactory.cpp Backed out changeset 6c865ed1f998 (bug 1641389) for perma failures on test_animation_operators.html. CLOSED TREE 2020-05-28 05:43:40 +03:00
DecoderFactory.h Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin 2020-05-01 22:56:04 +00:00
DecoderFlags.h
Downscaler.cpp
Downscaler.h
DownscalingFilter.h Bug 1594425 - Part 2. Switch image decoders to use SurfaceFormat::OS_RGBA. r=tnikkel 2019-11-12 18:22:33 +00:00
DynamicImage.cpp Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
DynamicImage.h
FrameAnimator.cpp Bug 1634839. Fix img.decode for animated images that aren't in the document. r=aosmond 2020-05-04 18:43:32 +00:00
FrameAnimator.h Bug 1629490. The composited frame is now invalid for animated images that have finished. r=aosmond 2020-04-20 03:38:27 +00:00
FrameTimeout.h
FrozenImage.cpp Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
FrozenImage.h Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
ICOFileHeaders.h
IDecodingTask.cpp Bug 1616411 - Part 3: Make RasterImage deal with and apply image orientation. r=tnikkel 2020-04-17 02:57:30 +00:00
IDecodingTask.h Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
Image.cpp Bug 1610381 - Part 3. Improve image memory reporting by including validation state. r=jrmuizel 2020-01-21 16:32:11 +00:00
Image.h Bug 1625797 - Replace RasterImage nsIProperties impl with accessors for hotspot coordinate. r=tnikkel 2020-03-31 21:16:39 +00:00
ImageBlocker.cpp Bug 1357107 - Move the handling of the permissions.default.image pref to ImageBlocker.cpp. Original patch by ehsan. r=bzbarsky 2020-01-22 10:45:15 +00:00
ImageBlocker.h Bug 1357107 - Move the handling of the permissions.default.image pref to ImageBlocker.cpp. Original patch by ehsan. r=bzbarsky 2020-01-22 10:45:15 +00:00
ImageCacheKey.cpp Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
ImageCacheKey.h Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi 2020-06-03 06:09:52 +00:00
ImageFactory.cpp Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +00:00
ImageFactory.h
ImageLogging.h
ImageMemoryReporter.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
ImageMemoryReporter.h Bug 1552317 - Fix codespell errors for image/. r=tnikkel 2019-09-12 09:00:52 +00:00
ImageMetadata.h Bug 1626570 - Improve handling of copying arrays in image/. r=tnikkel 2020-05-06 11:54:32 +00:00
ImageOps.cpp Bug 1616411 - Part 4: Make nsLayoutUtils::OrientImage undo any automatic RasterImage orientation when required. r=tnikkel 2020-04-17 02:57:32 +00:00
ImageOps.h Bug 1616411 - Part 4: Make nsLayoutUtils::OrientImage undo any automatic RasterImage orientation when required. r=tnikkel 2020-04-17 02:57:32 +00:00
ImageRegion.h
ImageWrapper.cpp Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
ImageWrapper.h
ImgDrawResult.h Bug 1614198 - Use cbindgen instead of nsStyleImage. r=aosmond 2020-02-11 20:56:20 +00:00
imgFrame.cpp Bug 1641594 - Remove the wrapper around recycled surfaces. r=tnikkel 2020-06-11 17:49:13 +00:00
imgFrame.h Bug 1641594 - Remove the wrapper around recycled surfaces. r=tnikkel 2020-06-11 17:49:13 +00:00
imgICache.idl
imgIContainer.idl Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
imgIContainerDebug.idl
imgIEncoder.idl
imgILoader.idl Bug 1628727 - Stop using nsISupports as argument type in some functions of imgLoader; r=tnikkel 2020-04-10 21:14:49 +00:00
imgINotificationObserver.idl Bug 1621835. Make imgINotificationObserver::Notify a void method, since no one examines its return value anyway. r=emilio 2020-03-12 04:25:34 +00:00
imgIRequest.idl Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
imgIScriptedNotificationObserver.idl
imgITools.idl Bug 1530402 - Provide imgTools.decodeFromChannelAsync. r=aosmond,snorp 2019-11-18 16:48:53 +00:00
imgLoader.cpp Bug 1646768 - Add Telemetry for MCB-Download Blocking r=ckerschb 2020-07-09 09:58:52 +00:00
imgLoader.h Bug 1599160 - Better integration of the shared stylesheet cache with the network cache. r=tnikkel,mayhemer,heycam 2020-06-12 19:06:04 +00:00
imgRequest.cpp Bug 1599160 - Better integration of the shared stylesheet cache with the network cache. r=tnikkel,mayhemer,heycam 2020-06-12 19:06:04 +00:00
imgRequest.h Bug 1642140 - Image link-preloads: do not overprioritize, never set UrgentStart, always set LOAD_BACKGROUND, r=edgar,tnikkel+tnikkel 2020-06-02 20:28:30 +00:00
imgRequestProxy.cpp Bug 1603121 - Remove imgRequestProxy::IsOnEventTarget; r=tnikkel 2020-07-03 08:54:28 +00:00
imgRequestProxy.h Bug 1603121 - Remove imgRequestProxy::IsOnEventTarget; r=tnikkel 2020-07-03 08:54:28 +00:00
imgTools.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
imgTools.h
IProgressObserver.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in image. r=tnikkel 2020-03-04 09:09:43 +00:00
ISurfaceProvider.h
LookupResult.h Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
moz.build Bug 1641594 - Remove the wrapper around recycled surfaces. r=tnikkel 2020-06-11 17:49:13 +00:00
MultipartImage.cpp
MultipartImage.h
nsIIconURI.idl
Orientation.h Bug 1616411 - Part 4: Make nsLayoutUtils::OrientImage undo any automatic RasterImage orientation when required. r=tnikkel 2020-04-17 02:57:32 +00:00
OrientedImage.cpp Bug 1616411 - Part 6a: Make OrientedImage::GetFrameAtSize return an appropriately sized surface. r=tnikkel 2020-04-17 02:57:46 +00:00
OrientedImage.h Bug 1616411 - Part 2: Don't bother passing in the size to OrientedImage::OrientSurface. r=tnikkel 2020-04-17 02:57:22 +00:00
PlaybackType.h
ProgressTracker.cpp Bug 1620594 - Part 5: Use GetMainThreadSerialEventTarget instead of SystemGroup::EventTargetFor. r=nika 2020-04-07 15:17:07 +00:00
ProgressTracker.h Bug 1552317 - Fix codespell errors for image/. r=tnikkel 2019-09-12 09:00:52 +00:00
RasterImage.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
RasterImage.h Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond 2020-04-20 21:04:45 +00:00
ScriptedNotificationObserver.cpp Bug 1621835. Make imgINotificationObserver::Notify a void method, since no one examines its return value anyway. r=emilio 2020-03-12 04:25:34 +00:00
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp Bug 1642989 - Use RemoveLastElements instead of RemoveElementsAt where possible. r=froydnj 2020-06-08 08:50:15 +00:00
SourceBuffer.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
StreamingLexer.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
SurfaceCache.cpp Bug 1616411 - Part 4a: Make SurfaceCache aware that native image sizes can be affected by orientation. r=tnikkel 2020-04-17 02:57:34 +00:00
SurfaceCache.h Bug 1648463 - Move SVGForeignObjectFrame SVGImageFrame and SVGUseFrame to mozilla namespace r=dholbert,jgilbert 2020-06-25 20:42:49 +00:00
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj 2020-01-20 16:17:06 +00:00
SurfaceFlags.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
SurfacePipe.cpp Bug 1551088 - Part 5. Expose SurfaceFilter input row directly to avoid copy if possible. r=tnikkel 2019-10-02 13:37:28 +00:00
SurfacePipe.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
SurfacePipeFactory.h Bug 1594425 - Part 2. Switch image decoders to use SurfaceFormat::OS_RGBA. r=tnikkel 2019-11-12 18:22:33 +00:00
SVGDocumentWrapper.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
SVGDocumentWrapper.h
SVGDrawingParameters.h
VectorImage.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
VectorImage.h Bug 1598480 - Make SVG images respond to theme changes. r=tnikkel,emilio 2019-12-13 02:04:07 +00:00