RESOLVED WONTFIX129394
Cancel load when image exceeds Settings::maximumDecodedSize()
https://bugs.webkit.org/show_bug.cgi?id=129394
Summary Cancel load when image exceeds Settings::maximumDecodedSize()
Daniel Bates
Reported 2014-02-26 14:25:40 PST
Currently when an image exceeds Settings::maximumDecodedSize() we continue the load. Instead we should cancel the load for such an image. Note, we may want to differentiate between an image that is loaded as a sub resource of a page from an image loaded as a document (i.e. navigating to an image resource directly) and have different maximum decoded size limits.
Attachments
Daniel Bates
Comment 1 2014-02-26 16:29:04 PST
I noticed this bug when analyzing the cause for bug #127029.
Daniel Bates
Comment 2 2014-04-02 14:10:23 PDT
We decided to remove the setting Settings::maximumDecodedSize() and its related logic in bug #131057 as it has various shortcomings, including the one represented by this bug. Should it turn out that we need such a setting then we should look to implement it again taking care to address this bug among other issues.
Note You need to log in before you can comment on or make changes to this bug.