DescriptionTreat headers and HTTP status text as Latin-1
We currently decode them as UTF-8, but they should be interpreted as Latin-1.
(XHR specs the relevant parameters as WebIDL ByteString.) For response headers,
this matches Firefox, IE, Opera 12, and Safari. For status text, this matches
Firefox nightly, IE, Opera 12, and Opera. For request headers, this matches
Firefox nightly, Opera 12, and Safari.
Preparatory Blink CL disabled a layout test:
https://src.chromium.org/viewvc/blink?revision=157238&view=revision
This CL will be followed by a Blink CL to fix and re-enable the test, throw
exception on non-Latin-1 setRequestHeader argument, and add a new layout test
to verify this behavior.
BUG=276769
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222127
Patch Set 1 : #
Messages
Total messages: 7 (0 generated)
|