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

Unified Diff: chrome/test/data/drag_and_drop/image_source.html

Issue 2507223003: Tests for dragging between two frames (potentially cross-site from main frame). (Closed)
Patch Set: Added SuppressPassingStartDragFurther method + moved constant definitions. Created 4 years 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 | « chrome/test/data/drag_and_drop/event_monitoring.js ('k') | chrome/test/data/drag_and_drop/page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/drag_and_drop/image_source.html
diff --git a/chrome/test/data/drag_and_drop/image_source.html b/chrome/test/data/drag_and_drop/image_source.html
index e2a68343cb07e75a70a9c4884cb58b12cd137bc9..4c4d05c5d215a8b1b1789cdb642f9559b18bc939 100644
--- a/chrome/test/data/drag_and_drop/image_source.html
+++ b/chrome/test/data/drag_and_drop/image_source.html
@@ -22,14 +22,11 @@
ev.dataTransfer.effectAllowed = "copy";
window.reportDragAndDropEvent(ev);
}
-
- function dragend_handler(ev) {
- window.reportDragAndDropEvent(ev);
- }
</script>
</head>
<body>
<img ondragstart="dragstart_handler(event);"
- ondragend="dragend_handler(event);"
+ ondragend="window.reportDragAndDropEvent(event);"
+ ondragleave="window.reportDragAndDropEvent(event);"
src="/image_decoding/droids.jpg">
</body>
« no previous file with comments | « chrome/test/data/drag_and_drop/event_monitoring.js ('k') | chrome/test/data/drag_and_drop/page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698