Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(389)

Unified Diff: test/test_charm_token_drag_and_drop.js

Issue 10769043: Fixes DD test failure in FF
Patch Set: Fixes DD test failure in FF Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test_charm_token_drag_and_drop.js
=== modified file 'test/test_charm_token_drag_and_drop.js'
--- test/test_charm_token_drag_and_drop.js 2013-06-28 19:38:15 +0000
+++ test/test_charm_token_drag_and_drop.js 2013-06-28 21:58:15 +0000
@@ -119,9 +119,7 @@
setDataCalled = true;
},
setDragImage: function(provideDragImage, x, y) {
- assert.equal(
- provideDragImage.outerHTML.indexOf('<div class="charm-icon"'),
- 0);
+ assert.equal(provideDragImage.className.indexOf('charm-icon'), 0);
assert.equal(x, 0);
assert.equal(y, 0);
setDragImageCalled = true;
« no previous file with comments | « [revision details] ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b