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

Unified Diff: chrome/test/data/drag_and_drop/event_monitoring.js

Issue 2507223003: Tests for dragging between two frames (potentially cross-site from main frame). (Closed)
Patch Set: Maybe this is ready for landing? Created 4 years, 1 month 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
Index: chrome/test/data/drag_and_drop/event_monitoring.js
diff --git a/chrome/test/data/drag_and_drop/event_monitoring.js b/chrome/test/data/drag_and_drop/event_monitoring.js
index badd6ad9005ea12db5275264a0b67331d480c342..8447cdddaa71451705d03b32403b4a72447147cc 100644
--- a/chrome/test/data/drag_and_drop/event_monitoring.js
+++ b/chrome/test/data/drag_and_drop/event_monitoring.js
@@ -8,11 +8,12 @@ window.reportDragAndDropEvent = function(ev) {
try {
return f();
} catch(err) {
- return "exception: " + err.message;
+ return "Got exception: " + err.message;
}
}
- console.log("got event: " + ev.type);
+ var msg = "Got a " + ev.type + " event from the " + window.name + " frame.";
+ console.log(msg);
if (window.domAutomationController) {
window.domAutomationController.setAutomationId(0);

Powered by Google App Engine
This is Rietveld 408576698