Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / get-data-text-plain-drop.html
index fed38c9..24cdb6d 100644 (file)
@@ -34,7 +34,7 @@ function runTest() {
     editDiv.addEventListener('dragover', handleDrag, false);
   
     // Select the text to drag.
-    selection.setPosition(editDiv, 0);
+    selection.collapse(editDiv, 0);
     extendSelectionForwardByWordCommand(); 
 
     if (!window.testRunner)