-
tony@chromium.org authored
Reviewed by Alexey Proskuryakov. Strip NUL character when copying text on Windows https://bugs.webkit.org/show_bug.cgi?id=52236 * editing/pasteboard/copy-null-characters-expected.txt: Added. * editing/pasteboard/copy-null-characters.html: Added. 2011-01-14 Tony Chang <tony@chromium.org> Reviewed by Alexey Proskuryakov. Strip NUL character when copying text on Windows https://bugs.webkit.org/show_bug.cgi?id=52236 Test: editing/pasteboard/copy-null-characters.html * editing/Editor.cpp: (WebCore::Editor::selectedText): * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writeSelection): Use editor()->selectedText() which matches the other platforms. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1e26d554