electron/spec/fixtures/pages/window-open-size-inner.html
trop[bot] 6a0e31633a
feat: enable innerWidth and innerHeight for window open (#47038)
feat: enable innerWidth and innerHeight for window open (#46749)

* feat: enable innerWidth and innerHeight for window open

* update comment for added special innerWidth and innerHeight

* update 100 min spec requirement handling

* update testing to include getContentSize

* update macOS min requirement handling

* adjust refactored consts

* update const values from nativewindowviews

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com>
2025-05-15 12:23:17 -07:00

7 lines
164 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
window.opener.postMessage('size: ' + innerWidth + ' ' + innerHeight, '*')
</script>
</body>
</html>