File: selfClose.htm

package info (click to toggle)
node-setimmediate 1.0.5-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 188 kB
  • sloc: javascript: 267; makefile: 23
file content (14 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head>
    <title>Modal Dialog for Testing</title>
</head>
<body>
	<p>This'll be gone in one second; we're just testing the interaction of setImmediate and <code>window.showModalDialog</code>.</p>
    <script>
        setTimeout(function () {
            window.close();
        }, 1000);
    </script>
</body>
</html>