Auto merge of #22432 - servo:encoding, r=SimonSapin

Make the parser decode input from document's encoding

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22432)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-12-12 15:17:32 -05:00 committed by GitHub
commit 2e01a23bad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 43 additions and 55 deletions

View file

@ -1,5 +0,0 @@
[the-input-byte-stream-001.html]
type: testharness
[The character encoding of a page can be set using the HTTP header charset declaration.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[the-input-byte-stream-016.html]
type: testharness
[The HTTP header has a higher precedence than an encoding declaration in a meta content attribute.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[the-input-byte-stream-018.html]
type: testharness
[The HTTP header has a higher precedence than an encoding declaration in a meta charset attribute.]
expected: FAIL

View file

@ -4,7 +4,3 @@
expected: FAIL
bug: https://github.com/servo/servo/issues/14912
[HTML document, shift-jis]
expected: FAIL
bug: https://github.com/servo/servo/issues/6414