WebCore: [V8] Make XMLHttpRequest.send handle File object.
authorjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Sep 2009 17:39:26 +0000 (17:39 +0000)
committerjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Sep 2009 17:39:26 +0000 (17:39 +0000)
commit1023757bf3bd45ec2ccdd5670ffbe2313243a6e2
treee8dab2d9ef44607e0b408e0326f50a02b7da0626
parentdcb94312c189de50630dc94dcd13922e2874068c
WebCore: [V8] Make XMLHttpRequest.send handle File object.
https://bugs.webkit.org/show_bug.cgi?id=28924

Reviewed by Eric Seidel.

Test: http/tests/local/send-dragged-file.html

* bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::CALLBACK_FUNC_DECL):

LayoutTests: [V8] Make XMLHttpRequest.send handle File object.
https://bugs.webkit.org/show_bug.cgi?id=28924

Reviewed by Eric Seidel.

Add a new layout test.

* http/tests/local/resources/file-for-drag-to-send.txt: Added.
* http/tests/local/resources/send-dragged-file.js: Added.
* http/tests/local/send-dragged-file-expected.txt: Added.
* http/tests/local/send-dragged-file.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/local/resources/file-for-drag-to-send.txt [new file with mode: 0644]
LayoutTests/http/tests/local/resources/send-dragged-file.js [new file with mode: 0644]
LayoutTests/http/tests/local/send-dragged-file-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/local/send-dragged-file.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/v8/custom/V8XMLHttpRequestCustom.cpp