1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
7 <p><b>BUG ID:
</b> <a href=
"http://bugs.webkit.org/show_bug.cgi?id=9984">Bugzilla bug
9984</a> ASSERTION FAILURE: _private-
>mouseDownEvent != nil (WebKit/WebView/WebHTMLView.m:
4863 -[WebHTMLView(WebInternal) _delegateDragSourceActionMask])
</p>
9 <p id=
"test" style=
"background-color:skyblue; padding:3px;"><b>STEPS TO TEST:
</b>
10 Open this test in a new Safari window. In the new window, click once on the text
“Click me
”. Do not click
11 anywhere else in the window before clicking the text.
14 <p id=
"success" style=
"background-color:palegreen; padding:3px;"><b>TEST PASS:
</b>
15 The text will be deselected.
18 <p id=
"failure" style=
"background-color:#FF3300; padding:3px;"><b>TEST FAIL:
</b>
19 An assertion failure will occur.
22 <iframe id=
"frame"></iframe>
24 var win
= window
['frame'];
25 var doc
= win
.document
;
26 doc
.write("<p id='target'>Click me</p>");
27 var target
= doc
.getElementById('target');
28 win
.getSelection().setBaseAndExtent(target
, 0, target
, 1);