darin | af8b72c | 2006-07-29 15:19:13 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 | <html lang="en"> |
| 4 | <head> |
| 5 | </head> |
| 6 | <body> |
bdash | c873850 | 2007-03-19 04:32:24 +0000 | [diff] [blame] | 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> |
darin | af8b72c | 2006-07-29 15:19:13 +0000 | [diff] [blame] | 8 | |
| 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. |
| 12 | </p> |
| 13 | |
| 14 | <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> |
| 15 | The text will be deselected. |
| 16 | </p> |
| 17 | |
| 18 | <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> |
| 19 | An assertion failure will occur. |
| 20 | </p> |
| 21 | |
| 22 | <iframe id="frame"></iframe> |
| 23 | <script> |
| 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); |
| 29 | </script> |
| 30 | |
| 31 | </body> |
| 32 | </html> |