[Webkit-unassigned] [Bug 201243] New: HTMLImageElement::decode() should return a resolved promise for decoding non bitmap images
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 28 15:38:06 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201243
Bug ID: 201243
Summary: HTMLImageElement::decode() should return a resolved
promise for decoding non bitmap images
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
Created attachment 377496
--> https://bugs.webkit.org/attachment.cgi?id=377496&action=review
test case
Open the attached test case. In this test case, decode() is called for an SVG data url image.
Result: an alert messages says 'decode() promise was rejected'.
Expected: an alert messages says 'decode() promise was resolved'.
The specs: https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode says "If decoding does not need to be performed for this image (for example because it is a vector graphic), resolve promise with undefined."
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190828/cea2b892/attachment-0001.html>
More information about the webkit-unassigned
mailing list