Changeset 69470 in webkit
- Timestamp:
- Oct 10, 2010 12:48:58 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r69469 r69470 1 2010-10-10 Daniel Cheng <dcheng@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 [chromium] Clipboard no longer accepts 'text' as a synonym for 'text/plain' 6 https://bugs.webkit.org/show_bug.cgi?id=47419 7 8 This was a regression introduced in r68807. Updated the layout test to 9 check for this case. 10 11 * editing/pasteboard/dataTransfer-setData-getData-expected.txt: 12 * editing/pasteboard/script-tests/dataTransfer-setData-getData.js: 13 (runTest): 14 1 15 2010-10-10 Mihai Parparita <mihaip@chromium.org> 2 16 -
trunk/LayoutTests/editing/pasteboard/dataTransfer-setData-getData-expected.txt
r69138 r69470 37 37 PASS getDataResultType is "string" 38 38 PASS getDataResult is "Lorem ipsum dolor sit amet." 39 --- Test set 'text/plain', get 'text': 40 PASS getDataResultType is "string" 41 PASS getDataResult is "Lorem ipsum dolor sit amet." 42 --- Test set 'text', get 'text/plain': 43 PASS getDataResultType is "string" 44 PASS getDataResult is "Lorem ipsum dolor sit amet." 45 --- Test set/get 'text': 46 PASS getDataResultType is "string" 47 PASS getDataResult is "Lorem ipsum dolor sit amet." 39 48 PASS successfullyParsed is true 40 49 -
trunk/LayoutTests/editing/pasteboard/script-tests/dataTransfer-setData-getData.js
r69138 r69470 118 118 test("text/plain", "Lorem ipsum dolor sit amet.", 119 119 "text/plain", "Lorem ipsum dolor sit amet."); 120 121 debug("--- Test set 'text/plain', get 'text':"); 122 test("text/plain", "Lorem ipsum dolor sit amet.", 123 "text", "Lorem ipsum dolor sit amet."); 124 125 debug("--- Test set 'text', get 'text/plain':"); 126 test("text", "Lorem ipsum dolor sit amet.", 127 "text/plain", "Lorem ipsum dolor sit amet."); 128 129 debug("--- Test set/get 'text':"); 130 test("text", "Lorem ipsum dolor sit amet.", 131 "text", "Lorem ipsum dolor sit amet."); 120 132 } 121 133 -
trunk/WebCore/ChangeLog
r69463 r69470 1 2010-10-10 Daniel Cheng <dcheng@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 [chromium] Clipboard no longer accepts 'text' as a synonym for 'text/plain' 6 https://bugs.webkit.org/show_bug.cgi?id=47419 7 8 This was a regression introduced in r68807. mimeTypeText had the incorrect 9 value. 10 11 Test: editing/pasteboard/dataTransfer-setData-getData.html 12 13 * platform/chromium/ClipboardMimeTypes.cpp: 14 1 15 2010-10-09 Eric Uhrhane <ericu@chromium.org> 2 16 -
trunk/WebCore/platform/chromium/ClipboardMimeTypes.cpp
r68807 r69470 34 34 namespace WebCore { 35 35 36 const char mimeTypeText[] = "text /plain";36 const char mimeTypeText[] = "text"; 37 37 const char mimeTypeTextPlain[] = "text/plain"; 38 38 const char mimeTypeTextPlainEtc[] = "text/plain;";
Note: See TracChangeset
for help on using the changeset viewer.