[Mac] PasteboardMac.mm build fails
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Feb 2012 06:14:48 +0000 (06:14 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Feb 2012 06:14:48 +0000 (06:14 +0000)
commit75aca6928b92795dc35dab111a83eedcb6c87b23
treeab74d9d1ab0752247627afb9ccc5cc4135dbef82
parent5a53246b4ceef0592eeacc13316486fc5242b583
[Mac] PasteboardMac.mm build fails
https://bugs.webkit.org/show_bug.cgi?id=78655

Reviewed by Enrica Casucci.

Source/WebCore:

This patch fixes the code to make a plain text for pasted file names.
The code should return a string of concatenated file names.

Test: editing/pasteboard/drag-files-to-editable-element.html

* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::plainText):

LayoutTests:

The added test drops multiple files onto an editable element,
and checks if the filenames are inserted into the editable element.

* editing/pasteboard/drag-files-to-editable-element-expected.txt: Added.
* editing/pasteboard/drag-files-to-editable-element.html: Added.
* platform/chromium/test_expectations.txt:
* platform/efl/Skipped:
* platform/gtk/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wk2/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/drag-files-to-editable-element-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/drag-files-to-editable-element.html [new file with mode: 0644]
LayoutTests/platform/chromium/test_expectations.txt
LayoutTests/platform/efl/Skipped
LayoutTests/platform/gtk/Skipped
LayoutTests/platform/qt/Skipped
LayoutTests/platform/win/Skipped
LayoutTests/platform/wk2/Skipped
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/PasteboardMac.mm