Files
browser/src
Francis Bouvier 8ab4379448 webapi: documents report the navigation response's content type
Fixes 9 failing files under /dom/nodes/Document-contentType/contentType/
(bmp, css, gif, jpg, mimeheader_01, png, txt, xml, and keeps the rest
green): a document created from a non-HTML response (the synthesized
image/text/raw documents) reported the text/html default from
document.contentType instead of the response's MIME type.

The frame records the response's MIME essence (type/subtype, lowercased,
parameters stripped) when the first chunk arrives, and applies it to
the new document's _content_type override once the navigation commits.
text/html responses keep the default.

The remaining file in the directory (contenttype_javascripturi) needs
iframes to navigate to javascript: URLs and document their string
result, which is a different mechanism.

Coverage: /dom/nodes/Document-contentType/: 14/15 files passing (9
newly passing, 1 subtest each).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 23:09:29 +02:00
..
2026-07-14 11:55:59 +08:00
2026-07-08 10:19:38 +08:00
2026-07-14 11:32:52 +08:00
2026-07-14 09:17:14 +08:00
2026-07-09 20:59:58 +08:00
2026-07-14 09:17:14 +08:00
2026-06-24 18:16:02 +08:00
2026-07-14 09:17:14 +08:00
2026-05-29 09:32:03 +08:00
2026-07-14 09:17:14 +08:00
2026-07-14 09:17:14 +08:00
2026-07-02 11:23:45 +02:00
2026-07-14 09:17:14 +08:00
2026-07-14 11:32:52 +08:00
2026-07-10 07:35:36 +08:00
2026-07-14 11:45:17 +08:00
2026-05-25 18:05:11 +02:00
2026-07-14 14:19:27 +08:00