Switch to data_url::mime for document content type (#36522)

The data_url Mime parser has a more conformant behavior in most cases,
including dealing with charsets.

Testing: wpt expectations with new passes are updated.

Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
webbeef 2025-04-15 10:12:48 -07:00 committed by GitHub
parent 32d59cfff4
commit 98884a5081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 112 additions and 178 deletions

View file

@ -35,12 +35,6 @@
[text/html;charset="gbk]
expected: FAIL
[text/html;charset="\\ gbk"]
expected: FAIL
[text/html;charset="\\g\\b\\k"]
expected: FAIL
[text/html;charset="gbk"x]
expected: FAIL