summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/chrome/window_maximized_persist_with_no_titlebar.xhtml
blob: 83fede7faed3a3068db81f7eedf1d0fba72eb688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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"
        chromemargin="0,2,2,2"
        id="window"
        persist="height width sizemode">
<script type="application/javascript"><![CDATA[
  window.addEventListener("sizemodechange", evt => {
    window.arguments[0].postMessage("sizemodechange", "*");
  });
]]></script>
</window>