blob: f184a1f760c64ec990849553d29b3b3b96b488ad [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<link id="target">
<script>
description("This tests html link element activation behavior when url is null");
function notNavigatedAnywhere(){
finishJSTest();
}
var mouseEvent = new MouseEvent("click");
var target = document.getElementById("target");
shouldBeTrue("target.dispatchEvent(mouseEvent)");
setTimeout(notNavigatedAnywhere, 100);
window.jsTestIsAsync = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>