mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Use spec compliant content-type extraction in more places and enable a <stylesheet>
quirk (#28321)
This changes includes two semi-related things: 1. Fixes some specification compliance issues when parsing mime types and charsets for `XMLHttpRequest`. 2. Implements a `<stylesheet>` parsing quirk involving mime types. Testing: There are tests for these changes. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
d8837e4a52
commit
6e97fc0bc4
17 changed files with 231 additions and 1148 deletions
|
@ -23,9 +23,6 @@
|
|||
[importScripts() requires scripty MIME types: zzz/zzz is blocked.]
|
||||
expected: FAIL
|
||||
|
||||
[importScripts() requires scripty MIME types: text/csv;bla;bla is blocked.]
|
||||
expected: FAIL
|
||||
|
||||
[importScripts() requires scripty MIME types: Text/html is blocked.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue