mirror of
https://github.com/servo/servo
synced 2026-05-01 20:07:22 +02:00
Servo currently completely ignores `<meta charset>` tags. When we find one with an encoding that is incompatible to the current one, then we should reload the page and start over with the new encoding. A common optimization that has even made its way into the specification is to wait for a few bytes to arrive and inspect them for `meta` tags, so the browser is able to use the correct encoding from the very beginng. In practice, I've run into problems with our WPT harness when reloading the page after `meta` tags. Therefore, this change implement the optimization first, so we never have to reload when running WPT. I've implemented prescanning in a way where we wait for 1024 bytes to arrive or for one second to pass, whichever one happens first. This causes a large number of web platform tests to flip around. I've looked at most of the new failures and I believe they're reasonable. Testing: New tests start to pass. Part of https://github.com/servo/servo/issues/6414 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
85 lines
2.1 KiB
INI
Vendored
85 lines
2.1 KiB
INI
Vendored
[xmldecl-2.html]
|
|
[Check encoding windows-1251, kilobyte-plus-one-after.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1251, kilobyte-plus-one-before.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1251, kilobyte-plus-one-after-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1251, kilobyte-plus-one-before-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, encodingencoding.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, encoding-equals-encoding.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, ENCODING.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, gt-between-xml-and-encoding.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, no-quotes.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, no-quotes-space.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, one-around-label.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, space-around-label.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, space-before.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, unmatched-quotes.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, XML.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, zero-around-label.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, encodingencoding-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, encoding-equals-encoding-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, ENCODING-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, gt-between-xml-and-encoding-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, no-quotes-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, no-quotes-space-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, one-around-label-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, space-around-label-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, space-before-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, unmatched-quotes-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, XML-trail.htm]
|
|
expected: FAIL
|
|
|
|
[Check encoding windows-1252, zero-around-label-trail.htm]
|
|
expected: FAIL
|