blob: 31be7a758c2d907c8cbe606d4254c64ebe2bee1a [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<a id="anchorLink" href="javascript:alert('This is a safe script.')">test</a>
<script>
var event = document.createEvent('MouseEvent');
event.initEvent('click', true, true);
document.getElementById('anchorLink').dispatchEvent(event);
if (window.testRunner)
testRunner.notifyDone();
</script>
</body>
</html>