Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>HTML Test: browsing context name - Empty string</title>
<body onload="followLink()">
</body>
<script>
function followLink() {
var a = document.createElement('a');
a.href = 'post-to-top.html';
a.target = ''; // Target is empty string
document.body.appendChild(a);
a.click();
}
</script>
</html>