browser/base/content/test/general/test_bug462673.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/test/general/test_bug462673.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<script>
     1.7 +var w;
     1.8 +function openIt() {
     1.9 +  w = window.open("", "window2");
    1.10 +}
    1.11 +function closeIt() {
    1.12 +  if (w) {
    1.13 +    w.close();
    1.14 +    w = null;
    1.15 +  }
    1.16 +}
    1.17 +</script>
    1.18 +</head>
    1.19 +<body onload="openIt();" onunload="closeIt();">
    1.20 +</body>
    1.21 +</html>

mercurial