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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 03:59:05 PDT 2011


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


Hayato Ito <hayato at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hayato at chromium.org




--- Comment #13 from Hayato Ito <hayato at chromium.org>  2011-04-11 03:59:05 PST ---
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