bzbarsky%mit.edu 5806dd9448 Tighten up the named-target navigation policy to better match the HTML5 spec
and Safari.  Bug 408052, patch by Adam Barth <hk9565@gmail.com> and Collin
Jackson <mozilla@collinjackson.com>, r=jst, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@244151 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 19:39:11 +00:00

10 lines
236 B
HTML

<html>
<body>
<script>
var target = window.location.hash.substring(1);
document.write("target=" + target);
window.open("data:text/html,<html><body>This is a popup</body></html>", target, "width=10,height=10");
</script>
</body>
</html>