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

Side by Side Diff: LayoutTests/http/tests/local/formdata/send-form-data-with-bad-string-expected.txt

Issue 74133005: Remove several uses of toWebCoreStringWithNullCheck(v8::Handle<v8::Value>) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
OLDNEW
(Empty)
1 Test that passing bad strings to FormData.append() throws and aborts properly.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS formData.append(badString, 'test') threw exception Exception in toString().
7 PASS formData.append('textarea', badString) threw exception Exception in toStrin g().
8 PASS formData.append('blob', new Blob(['']), badString) threw exception Exceptio n in toString().
9 PASS xhr.response.indexOf('test') is -1
10 PASS xhr.response.indexOf('textarea') is -1
11 PASS xhr.response.indexOf('blob') is -1
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698