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

Unified Diff: tools/testing/dart/test_controller.js

Issue 96503002: Add debug information to verify that we actually get the onDone event send to the driver page. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_controller.js
===================================================================
--- tools/testing/dart/test_controller.js (revision 30759)
+++ tools/testing/dart/test_controller.js (working copy)
@@ -149,6 +149,9 @@
// messages to the window.opener.
var driver = getDriverWindow();
+ if (isDone) {
+ recordEvent('debug', 'Sending onDone event to driver.');
kustermann 2013/11/29 08:17:56 Rename to 'Sending events to driver page.' (why d
ricow1 2013/11/29 08:21:52 So this should have been isDone, I only do this if
kustermann 2013/11/29 08:26:23 Sorry about that, please remove the 'if (isDone) {
+ }
// Post the DOM and all events that happened.
var events = recordedEventList.slice(0);
events.push(buildDomEvent());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698