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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/local/formdata/send-form-data-with-bad-string-expected.txt
diff --git a/LayoutTests/http/tests/local/formdata/send-form-data-with-bad-string-expected.txt b/LayoutTests/http/tests/local/formdata/send-form-data-with-bad-string-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e962d0c9af08414ac050e34483ff9aa27d585da4
--- /dev/null
+++ b/LayoutTests/http/tests/local/formdata/send-form-data-with-bad-string-expected.txt
@@ -0,0 +1,15 @@
+Test that passing bad strings to FormData.append() throws and aborts properly.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS formData.append(badString, 'test') threw exception Exception in toString().
+PASS formData.append('textarea', badString) threw exception Exception in toString().
+PASS formData.append('blob', new Blob(['']), badString) threw exception Exception in toString().
+PASS xhr.response.indexOf('test') is -1
+PASS xhr.response.indexOf('textarea') is -1
+PASS xhr.response.indexOf('blob') is -1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698