Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

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.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698