summaryrefslogtreecommitdiff
path: root/toolkit/identity/tests/chrome/sandbox_content_popup.html
blob: cb21f706fd9926f5f38b6c367539b26013eb8426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<head>
<meta charset="utf-8">
<title>Page creating an popup inside the Sandbox</title>

<script>

var strWindowFeatures = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";

var uri = "data:text/html,";
uri += encodeURI("<body onload='setTimeout(window.close, 1000)'>");

var win = window.open(uri, "sandbox_popup", strWindowFeatures);

</script>

</head>

<body>

</body>
</html>