Summary: | Support passing optional filename when FormData.append() is used to append a blob | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jian Li <jianli> | ||||||
Component: | WebCore JavaScript | Assignee: | Jian Li <jianli> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, fishd, levin, michaeln, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Jian Li
2011-10-11 17:15:43 PDT
Created attachment 110614 [details]
Proposed Patch
Attachment 110614 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/http..." exit_code: 1
LayoutTests/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5]
Total errors found: 1 in 13 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 110616 [details]
Proposed Patch
Comment on attachment 110616 [details] Proposed Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110616&action=review Please consider adding that test. > Source/WebCore/bindings/v8/custom/V8DOMFormDataCustom.cpp:78 > + filename = toWebCoreStringWithNullCheck(args[2]); It would be nice to add a test with null as the last arg. It looks like you added handling throughout the code for this but it seems untested. New test case added to cover null argument case. Committed as http://trac.webkit.org/changeset/97274. |