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

Unified Diff: LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html

Issue 17225002: Make user-select:none not to affect editability (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-06-19T18:10:01 Created 7 years, 6 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
Index: LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html
diff --git a/LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html b/LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html
index 668da4a368ed39e4f3fe8b56f073d23a4ebad3fd..138d08fae8ca11637a9ad6cb409e43460d8780cc 100644
--- a/LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html
+++ b/LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html
@@ -3,6 +3,11 @@ This layout test is checks that we don't crash when a stand alone image is dragg
<a href='rdar://problem/5021127'>rdar://problem/5021127</a>
</div></body>
<script>
+function finish()
+{
+ window.parent.finish();
+}
+
function waitForImageLoad()
{
if (!window.testRunner)
@@ -10,10 +15,10 @@ function waitForImageLoad()
var img = document.body.getElementsByTagName("img")[0];
if (img.width != 0)
- testRunner.notifyDone();
+ finish();
else {
img.addEventListener("load", function() {
- testRunner.notifyDone();
+ finish();
}, false);
}
}

Powered by Google App Engine
This is Rietveld 408576698