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 |
+ |