widget/tests/test_chrome_context_menus_win.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/widget/tests/test_chrome_context_menus_win.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
    1.11 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.12 +<script type="application/javascript"
    1.13 +        src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
    1.14 +<script type="application/javascript"
    1.15 +        src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
    1.16 +<script>
    1.17 +    SimpleTest.waitForExplicitFinish();
    1.18 +
    1.19 +    var w = window.open('chrome_context_menus_win.xul', '_blank', 'chrome,resizable=yes,width=600,height=600');
    1.20 +
    1.21 +    function done()
    1.22 +    {
    1.23 +        w.close();
    1.24 +        SimpleTest.finish();
    1.25 +    }
    1.26 +</script>
    1.27 +<body xmlns="http://www.w3.org/1999/xhtml" style="height: 300px; overflow: auto;" />
    1.28 +</window>

mercurial