Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / local / formdata / send-form-data-with-bad-string-expected.txt
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
2 Test that passing bad strings to FormData.append() throws and aborts properly.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5
6
7 PASS formData.append(badString, 'test') threw exception Exception in toString().
8 PASS formData.append('textarea', badString) threw exception Exception in toString().
9 PASS formData.append('blob', new Blob(['']), badString) threw exception Exception in toString().
10 PASS xhr.response.indexOf('test') is -1
11 PASS xhr.response.indexOf('textarea') is -1
12 PASS xhr.response.indexOf('blob') is -1
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16