Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: LayoutTests/fast/files/apply-blob-url-to-img.html

Issue 3449009: Merge 67646 - BlobData should be copied for it to be used cross-thread in Thr... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | WebCore/fileapi/ThreadableBlobRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/files/apply-blob-url-to-img.html
===================================================================
--- LayoutTests/fast/files/apply-blob-url-to-img.html (revision 67660)
+++ LayoutTests/fast/files/apply-blob-url-to-img.html (working copy)
@@ -29,10 +29,17 @@
layoutTestController.notifyDone();
}
+function moveMouseToCenterOfElement(element)
+{
+ var centerX = element.offsetLeft + element.offsetWidth / 2;
+ var centerY = element.offsetTop + element.offsetHeight / 2;
+ eventSender.mouseMoveTo(centerX, centerY);
+}
+
function runTests()
{
eventSender.beginDragWithFiles(['resources/abe.png']);
- eventSender.mouseMoveTo(10, 10);
+ moveMouseToCenterOfElement(document.getElementById('file'));
eventSender.mouseUp();
}
« no previous file with comments | « no previous file | WebCore/fileapi/ThreadableBlobRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698