electron/spec/fixtures/pages/window-open-size.html

9 lines
225 B
HTML
Raw Normal View History

<html>
<body>
<script type="text/javascript" charset="utf-8">
var size = require('remote').getCurrentWindow().getSize();
window.opener.postMessage('size: ' + size.width + ' ' + size.height, '*')
</script>
</body>
</html>