Files
rust_browser/tests/goldens/fixtures/188-object-non-image-mime-fallback.html
Zachary D. Rowitsch 7ca8efabb9 Skip image decode for non-image MIME types in <object> fallback chain
When an <object> element's data URI returns a non-image MIME type (e.g.
application/x-unknown), skip the image decode attempt and fall through
to child fallback content. Previously the 5-byte payload was sent to the
image decoder, producing a spurious warning before fallback worked anyway.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 14:39:31 -05:00

8 lines
178 B
HTML

<!DOCTYPE html>
<html>
<head><title>Object non-image MIME fallback</title></head>
<body>
<object data="data:application/x-unknown,ERROR"><p>Fallback</p></object>
</body>
</html>