2 <title>Dropping onto the title bar and UI
</title>
3 <script type=
"text/javascript">
4 window
.onload = function () {
5 document
.getElementsByTagName('ul')[0].ondragstart = function () {
6 e
.dataTransfer
.effectAllowed
= 'copy';
7 e
.dataTransfer
.setData('text','c');
12 <li>Drag this text upwards to the browser window's title bar.
</li>
13 <li>Release the drag. Fail if the drag placeholder does not disappear.
</li>
14 <li>Start dragging again over a blank part of the page (below the text). Fail if the placeholder starts following the mouse again.
</li>
15 <li>Release the drag over the browser's UI (e.g. the address bar). Fail if the browser crashes.
</li>