toolkit/identity/tests/chrome/sandbox_content_popup.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/identity/tests/chrome/sandbox_content_popup.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<!-- Any copyright is dedicated to the Public Domain.
     1.7 +   - http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.8 +<head>
     1.9 +<meta charset="utf-8">
    1.10 +<title>Page creating an popup inside the Sandbox</title>
    1.11 +
    1.12 +<script>
    1.13 +
    1.14 +var strWindowFeatures = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";
    1.15 +
    1.16 +var uri = "data:text/html,";
    1.17 +uri += encodeURI("<body onload='setTimeout(window.close, 1000)'>");
    1.18 +
    1.19 +var win = window.open(uri, "sandbox_popup", strWindowFeatures);
    1.20 +
    1.21 +</script>
    1.22 +
    1.23 +</head>
    1.24 +
    1.25 +<body>
    1.26 +
    1.27 +</body>
    1.28 +</html>

mercurial