[Webkit-unassigned] [Bug 58106] [chromium] Implement image/png support in DataTransferItems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 13:33:51 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58106





--- Comment #17 from Daniel Cheng <dcheng at chromium.org>  2011-04-11 13:33:51 PST ---
The root cause seems to be the iframe is not loading properly when the test is run after copy-crash.html.

(gdb) break WebCore::Editor::copy
Breakpoint 1 at 0x120fe68: file /Users/dcheng/src/WebKit/Source/WebCore/WebCore.gyp/../editing/Editor.cpp, line 1187.
(gdb) run --test-shell ~/src/WebKit/LayoutTests/editing/pasteboard/copy-crash.html ~/src/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-image-png.html
#URL:file:///Users/dcheng/src/WebKit/LayoutTests/editing/pasteboard/copy-crash.html

Breakpoint 1, WebCore::Editor::copy (this=0x2a807ac8) at /Users/dcheng/src/WebKit/Source/WebCore/WebCore.gyp/../editing/Editor.cpp:1187
1187        if (tryDHTMLCopy())
(gdb) print m_frame->document()->m_url.utf8String().data()
$1 = 0x9422e30 "file:///Users/dcheng/src/WebKit/LayoutTests/editing/pasteboard/copy-crash.html"
(gdb) continue
#URL:file:///Users/dcheng/src/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-image-png.html

Breakpoint 1, WebCore::Editor::copy (this=0x784a0c8) at /Users/dcheng/src/WebKit/Source/WebCore/WebCore.gyp/../editing/Editor.cpp:1187
1187        if (tryDHTMLCopy())
(gdb) print m_frame->document()->m_url.utf8String().data()
$2 = 0x941aeb0 "about:blank"

If data-transfer-items-image-png runs before copy-crash, then the iframe loads as expected. Very bizarre.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list