Index: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt |
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt |
index f9a759b79d4921aa56c02d0b130b3e2b2bb36a87..8c1d725244dc59d0f6977c22ec01518da15dd8e3 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt |
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt |
@@ -1,3 +1,4 @@ |
+CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warning. |
Test that setRequestHeader throws a SYNTAX_ERR exception when called with an empty header name. |
SUCCESS: got exception SyntaxError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': '' is not a valid HTTP header field name. |