summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/chrome/window_maximized_persist.xhtml
blob: f7eb695f0f6b9ba10b9416e88f31cf42d0b69b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<window title="Window Open Test"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        height="300"
        width="300"
        sizemode="normal"
        id="window"
        persist="height width sizemode">
<script type="application/javascript"><![CDATA[
  window.addEventListener("sizemodechange", evt => {
    window.arguments[0].postMessage("sizemodechange", "*");
  });
]]></script>
</window>