testing/web-platform/tests/html/editing/dnd/navigation/010.xhtml
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Wed, 25 May 2022 06:59:42 +0000
changeset 618796 3399ecb2fc4c375cd0110ffdf18a04e04395cbd5
parent 388141 f95a678186b46649eee6cf8c6adbdf46c320f300
permissions -rw-r--r--
no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD da -> 345f0d117ec12e01e798088f7eab03d63dbcae1c es-AR -> 5008da5104ab9c3a668b1afd1a6ae7901d8b905f es-CL -> 0f970e57544997fe43283f0e4d24e51b6373de82 et -> fa017ffe89319ac9a820858bf9a106776b45d9ed ia -> c304602f0b999e3100106f9e532149f111b6b922 is -> 6998af2ff6115c0456314dea3981768ecb67c157 pt-BR -> 398095bb5d9abc417ca501ce58b105f7ddca5f88 vi -> 83e057053e007e3ee19b2fb7a09d745ceaa9615f

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Link drag and drop and history navigation roundtrip</title>
<script type="application/ecmascript">
function checkLink(event)
  {document.querySelector('a').firstChild.nodeValue = (event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,1')?'PASS':'FAIL'}
</script>
</head>
<body>
<p><a href="data:text/plain,1" ondragstart="event.dataTransfer.effectAllowed = 'copy';window.location = '010-1.xhtml'" ondragenter="event.preventDefault()" ondrop="checkLink(event)" ondragover="return false">Drag me around and drop here once you return back</a></p>
<p>Drag link around. You will be redirected to new page. When you return back drop link on itself. You should see word PASS once you drop it.</p>
</body>
</html>