Changeset 76039 in webkit
- Timestamp:
- Jan 18, 2011 11:06:10 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r76038 r76039 1 2011-01-18 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Eric Seidel. 4 5 [GTK] Filenames are converted to URLs during edit drags 6 https://bugs.webkit.org/show_bug.cgi?id=52096 7 8 * platform/gtk/Skipped: Unskip passing test. Fix a misspelled 9 drag and drop test on the list as well. 10 1 11 2011-01-18 Jeremy Orlow <jorlow@chromium.org> 2 12 -
trunk/LayoutTests/platform/gtk/Skipped
r76037 r76039 5339 5339 http/tests/local/formdata/upload-events.html 5340 5340 fast/files/workers/worker-apply-blob-url-to-xhr.html 5341 fast/files/apply-blob-url-to-xhr.htm 5341 fast/files/apply-blob-url-to-xhr.html 5342 5342 5343 5343 # [Soup] ResourceHandleSoup does not handle encodedBlobData … … 5351 5351 # https://bugs.webkit.org/show_bug.cgi?id=52094 5352 5352 editing/pasteboard/files-during-page-drags.html 5353 5354 # [GTK] Filenames are converted to URLs during edit drags5355 # https://bugs.webkit.org/show_bug.cgi?id=520965356 editing/pasteboard/file-drag-to-editable.html5357 5353 5358 5354 # The feature was disabled due to a compatibility issue. -
trunk/Source/WebCore/ChangeLog
r76033 r76039 1 2011-01-18 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Eric Seidel. 4 5 [GTK] Filenames are converted to URLs during edit drags 6 https://bugs.webkit.org/show_bug.cgi?id=52096 7 8 * platform/gtk/DragDataGtk.cpp: Only advertise and deliver filenames as URLs if the 9 conversion policy allows it. 10 (WebCore::DragData::containsURL): Ditto. 11 (WebCore::DragData::asURL): Ditto. 12 1 13 2011-01-18 Helder Correia <helder@sencha.com> 2 14 -
trunk/Source/WebCore/platform/gtk/DragDataGtk.cpp
r75523 r76039 67 67 } 68 68 69 bool DragData::containsURL(Frame* , FilenameConversionPolicy filenamePolicy) const69 bool DragData::containsURL(Frame* frame, FilenameConversionPolicy filenamePolicy) const 70 70 { 71 return m_platformDragData->hasURL();71 return !asURL(frame, filenamePolicy).isEmpty(); 72 72 } 73 73 74 74 String DragData::asURL(Frame*, FilenameConversionPolicy filenamePolicy, String* title) const 75 75 { 76 if (!m_platformDragData->hasURL()) 77 return String(); 78 if (filenamePolicy != ConvertFilenames) { 79 KURL url(KURL(), m_platformDragData->url()); 80 if (url.isLocalFile()) 81 return String(); 82 } 83 76 84 String url(m_platformDragData->url()); 77 85 if (title)
Note: See TracChangeset
for help on using the changeset viewer.