mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4ea07adc41
Based on Anant's code from bug 745345.
26 lines
534 B
HTML
26 lines
534 B
HTML
<!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>
|