Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/header-value-update/normalize-affected-1-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/header-value-update/normalize-affected-1-expected.txt b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/header-value-update/normalize-affected-1-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1b3a5b903c6c13d32db69647201ea018891d19d6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/header-value-update/normalize-affected-1-expected.txt |
@@ -0,0 +1,11 @@ |
+CONSOLE WARNING: According to the Fetch Standard, setRequestHeader() must strip leading/trailing whitespaces, but it doesn't currently. We are experimenting whether we can make it conform to the spec (see: https://www.chromestatus.com/feature/6457425448140800). This script will be affected by the change. |
+Multiple calls to XMLHttpRequest.setRequestHeader() with the same header name and header values with leading/trailing whitespaces should show a deprecation message. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS xhr.responseText.match(/HTTP_TEST1: a , \tb\r?\n/) is not null |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |