mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
25
toolkit/content/tests/chrome/window_preferences2.xul
Normal file
25
toolkit/content/tests/chrome/window_preferences2.xul
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<!--
|
||||
XUL Widget Test for preferences window
|
||||
-->
|
||||
<prefwindow xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="preferences window"
|
||||
windowtype="test:preferences2"
|
||||
buttons="accept,cancel"
|
||||
onload="RunTest(window.arguments)"
|
||||
>
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
function RunTest(aArgs)
|
||||
{
|
||||
// open child
|
||||
document.documentElement.openSubDialog("window_preferences3.xul", "", {test: aArgs[0], accept: aArgs[1]});
|
||||
// close dialog
|
||||
document.documentElement[aArgs[1] ? "acceptDialog" : "cancelDialog"]();
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<prefpane id="sample_pane" label="Sample Prefpane"/>
|
||||
</prefwindow>
|
||||
Loading…
Add table
Add a link
Reference in a new issue