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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt

Issue 1047993002: bindings: Add validation for enum Sequence or Array (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 CONSOLE WARNING: The provided value 'dkjdfkjdfkj' is not a valid value of type ' XMLHttpRequestResponseType'. 1 CONSOLE WARNING: The provided value 'dkjdfkjdfkj' is not a valid enum value.
2 CONSOLE WARNING: The provided value 'asdfasdfasd' is not a valid value of type ' XMLHttpRequestResponseType'. 2 CONSOLE WARNING: The provided value 'asdfasdfasd' is not a valid enum value.
3 This test checks if setting non-supported type does not throw an exception 3 This test checks if setting non-supported type does not throw an exception
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 PASS xhr.responseType is "" 7 PASS xhr.responseType is ""
8 PASS xhr.responseType is "arraybuffer" 8 PASS xhr.responseType is "arraybuffer"
9 PASS xhr.responseType is "blob" 9 PASS xhr.responseType is "blob"
10 PASS xhr.responseType is "document" 10 PASS xhr.responseType is "document"
11 PASS xhr.responseType is "json" 11 PASS xhr.responseType is "json"
12 PASS xhr.responseType is "text" 12 PASS xhr.responseType is "text"
13 PASS xhr.responseType is "legacystream" 13 PASS xhr.responseType is "legacystream"
14 PASS xhr.responseType = "dkjdfkjdfkj" did not throw exception. 14 PASS xhr.responseType = "dkjdfkjdfkj" did not throw exception.
15 PASS xhr.responseType = "text"; xhr.responseType = "asdfasdfasd"; xhr.responseTy pe is "text" 15 PASS xhr.responseType = "text"; xhr.responseType = "asdfasdfasd"; xhr.responseTy pe is "text"
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698