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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt

Issue 23041002: Improve 'XMLHttpRequest' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ExceptionMessages. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 Test that setRequestHeader throws a SYNTAX_ERR exception when called with an emp ty header name. 1 Test that setRequestHeader throws a SYNTAX_ERR exception when called with an emp ty header name.
2 2
3 SUCCESS: got exception SyntaxError: An invalid or illegal string was specified. 3 SUCCESS: got exception SyntaxError: Failed to execute 'setRequestHeader' on 'XML HttpRequest': '' is not a valid HTTP header field name.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698