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>
8 lines
178 B
HTML
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>
|