Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/header-value-update/normalize-affected-1-expected.txt
Issue 1378543002:
Add UMA for header values in XHR's setRequestHeader() checked against RFC 7230 (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflected tyoshino's comments.
Created 5 years, 2 months ago
Use n/p to move between diff chunks;
N/P to move between comments.
Draft comments are only viewable by you.
1 CONSOLE WARNING: According to the Fetch Standard, setRequestHeader() must strip
leading/trailing whitespaces, but it doesn't currently. We are experimenting whe
ther we can make it conform to the spec (see: https://www.chromestatus.com/featu
re/6457425448140800). This script will be affected by the change.
2 Multiple calls to XMLHttpRequest.setRequestHeader() with the same header name an
d header values with leading/trailing whitespaces should show a deprecation mess
age.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
".
5
6
7 PASS xhr.responseText.match(/HTTP_TEST1: a , \tb\r?\n/) is not null
Issue 1378543002: Add UMA for header values in XHR's setRequestHeader() checked against RFC 7230
(Closed)
Created 5 years, 2 months ago by hiroshige
Modified 5 years, 2 months ago
Reviewers: tyoshino (SeeGerritForStatus), shiva.jm, kinuko, Alexei Svitkine (slow)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 17