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 |
index 37f1b284848ca6d677f98e97c15aff8a19892f80..e962d0c9af08414ac050e34483ff9aa27d585da4 100644 |
--- 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 |
@@ -1,5 +1,15 @@ |
-CONSOLE ERROR: line 20: Uncaught SyntaxError: Illegal return statement |
-FAIL successfullyParsed should be true. Was false. |
+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 |