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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 04:16:32 PDT 2011


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





--- Comment #14 from Hayato Ito <hayato at chromium.org>  2011-04-11 04:16:32 PST ---
I've found that it works if we add '--run-singly' option:

Works:
  > new-run-webkit-tests --run-singly --debug --verbose  LayoutTests/editing/pasteboard/copy-crash.html LayoutTests/editing/pasteboard/data-transfer-items-image-png.html

Doesn't work:
  > new-run-webkit-tests --debug --verbose  LayoutTests/editing/pasteboard/copy-crash.html LayoutTests/editing/pasteboard/data-transfer-items-image-png.html


(In reply to comment #13)
> I can reproduce the issue locally:
> 
> Works:
>   - new-run-webkit-tests --debug --verbose  LayoutTests/editing/pasteboard/data-transfer-items-image-png.html
>   - new-run-webkit-tests --debug --verbose  LayoutTests/editing/pasteboard/copy-display-none.html LayoutTests/editing/pasteboard/data-transfer-items-image-png.html
> 
> Doesn't work (data-transfer-items-image-png.html failed):
>   - new-run-webkit-tests --debug --verbose  LayoutTests/editing/pasteboard
>   - new-run-webkit-tests --debug --verbose  LayoutTests/editing/pasteboard/crash-copy.html LayoutTests/editing/pasteboard/data-transfer-items-image-png.html
> 
> So I am wondering that something is wrong with the combination of (crash-copy.html and data-transfer-items-image-png.html). I guess the order matters.
> 
> 
> (In reply to comment #12)
> > I've done more investigation, and I don't understand why the layout test only works sometimes:
> > 
> > Works:
> > run-webkit-tests.sh editing/pasteboard/data-transfer-items-image-png.html
> > 
> > Doesn't work:
> > run-webkit-tests.sh editing/pasteboard
> > 
> > Works:
> > Add a <div id="console"></div> element, and at the end of the paste event handler, add the following snippet:
> > document.getElementById('console').appendChild(document.createTextNode('a'));
> > 
> > Doesn't work:
> > Adding the console div element, but doing this instead at the end of the paste event handler:
> > document.getElementById('console').appendChild(document.createElement('br'));
> > 
> > In all cases, when the layout test fails, it behaves as if no changes to the DOM had occurred. The pasted image does not appear at all.

-- 
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