[wpt-sync] Sync PR 50253 - [rust png] Legacy codec: Report failure for truncated, complete input.
Categories
(Core :: Audio/Video: Web Codecs, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50253 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50253
Details from upstream follow.
Lukasz Anforowicz <lukasza@chromium.org> wrote:
[rust png] Legacy codec: Report failure for truncated, complete input.
This CL modifies
blink::PNGImageDecoder
to callSetFailed
when
working with a truncated, complete input. Before this CL the code
has incorrectly treated this situation as recoverable.After this CL, the behavior of
blink::PNGImageDecoder
matches that
ofblink::SkiaImageDecoderBase
. Aligning the behavior it the main
motivation for this CL.Bug: chromium:391701378
Change-Id: I499a69da6994659ea03dc93967779f691436d0d2
Reviewed-on: https://chromium-review.googlesource.com/6191776
WPT-Export-Revision: c7fe5bb1fb7c7efb635e4a05addf2abe457cdb56
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 2 tests and 41 subtests
Status Summary
Firefox
PASS
: 60
FAIL
: 22
ERROR
: 2
Chrome
PASS
: 80
FAIL
: 2
ERROR
: 2
Links
Details
New Tests That Don't Pass
- /webcodecs/image-decoder.https.any.worker.html [wpt.fyi]:
ERROR
(Chrome:ERROR
)- Test multi-track AVIF image decoding w/ preferAnimation=false.:
FAIL
(Chrome:PASS
) - Test multi-track AVIF image decoding w/ preferAnimation=true.:
FAIL
(Chrome:PASS
) - Test JPEG image YUV 4:2:0 decoding.:
FAIL
(Chrome:PASS
) - Test AVIF image YUV 4:2:0 decoding.:
FAIL
(Chrome:PASS
) - Test AVIF image YUV 4:2:2 decoding.:
FAIL
(Chrome:PASS
) - Test AVIF image YUV 4:4:4 decoding.:
FAIL
(Chrome:PASS
) - Test WEBP image YUV 4:2:0 decoding.:
FAIL
(Chrome:PASS
) - Test invalid mime type rejects decode() requests:
FAIL
(Chrome:PASS
) - Test invalid mime type rejects decodeMetadata() requests:
FAIL
(Chrome:PASS
) - Test decoding a partial ArrayBuffer results in EncodingError:
FAIL
(Chrome:FAIL
) - Test track selection in multi track image.:
FAIL
(Chrome:PASS
)
- Test multi-track AVIF image decoding w/ preferAnimation=false.:
- /webcodecs/image-decoder.https.any.html [wpt.fyi]:
ERROR
(Chrome:ERROR
)- Test multi-track AVIF image decoding w/ preferAnimation=false.:
FAIL
(Chrome:PASS
) - Test multi-track AVIF image decoding w/ preferAnimation=true.:
FAIL
(Chrome:PASS
) - Test JPEG image YUV 4:2:0 decoding.:
FAIL
(Chrome:PASS
) - Test AVIF image YUV 4:2:0 decoding.:
FAIL
(Chrome:PASS
) - Test AVIF image YUV 4:2:2 decoding.:
FAIL
(Chrome:PASS
) - Test AVIF image YUV 4:4:4 decoding.:
FAIL
(Chrome:PASS
) - Test WEBP image YUV 4:2:0 decoding.:
FAIL
(Chrome:PASS
) - Test invalid mime type rejects decode() requests:
FAIL
(Chrome:PASS
) - Test invalid mime type rejects decodeMetadata() requests:
FAIL
(Chrome:PASS
) - Test decoding a partial ArrayBuffer results in EncodingError:
FAIL
(Chrome:FAIL
) - Test track selection in multi track image.:
FAIL
(Chrome:PASS
)
- Test multi-track AVIF image decoding w/ preferAnimation=false.:
Comment 4•25 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f820f501831f
https://hg.mozilla.org/mozilla-central/rev/ddf5cb5a6821
Description
•