diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul')
-rw-r--r-- | dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul b/dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul new file mode 100644 index 000000000..376cee25c --- /dev/null +++ b/dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul @@ -0,0 +1,75 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin" type="text/css"?> +<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> + +<!-- + storage sort integer asc +--> + +<window title="XUL Template Tests" width="500" height="600" + onload="test_template();" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <script type="application/javascript" + src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> + + <body xmlns="http://www.w3.org/1999/xhtml" style="height: 300px; overflow: auto;"/> + + <data id="output"> + <row anyid="true"> <label value="1"/> <label value="Tarantula"/> </row> + <row anyid="true"> <label value="2"/> <label value="Emu"/> </row> + <row anyid="true"> <label value="3"/> <label value="Barn Owl"/> </row> + <row anyid="true"> <label value="4"/> <label value="Raven"/> </row> + <row anyid="true"> <label value="5"/> <label value="Cod"/> </row> + <row anyid="true"> <label value="6"/> <label value="Swordfish"/> </row> + <row anyid="true"> <label value="7"/> <label value="Lion"/> </row> + <row anyid="true"> <label value="8"/> <label value="HIPPOPOTAMUS"/> </row> + <row anyid="true"> <label value="9"/> <label value="African Elephant"/> </row> + <row anyid="true"> <label value="10"/> <label value="LAMA"/> </row> + <row anyid="true"> <label value="11"/> <label value="Polar Bear"/> </row> + <row anyid="true"> <label value="12"/> <label value="aardvark"/> </row> + <row anyid="true"> <label value="13"/> <label value="Nine-banded Armadillo"/> </row> + <row anyid="true"> <label value="14"/> <label value="Gorilla"/> </row> + <row anyid="true"> <label value="15"/> <label value="Anaconda"/> </row> + <row anyid="true"> <label value="16"/> <label value="Chameleon"/> </row> + </data> + +<script src="templates_shared.js"/> + +<script> +<![CDATA[ +SimpleTest.waitForExplicitFinish(); + +copyToProfile('animals.sqlite'); + +var testid ="storage sort integer asc"; +var queryType = "storage"; +var isTreeBuilder = false; +var needsOpen = false; +var notWorkingYet = false; +var notWorkingYetDynamic = false; +var expectedOutput = document.getElementById("output"); + +var changes = []; +]]> +</script> + +<grid xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > + <columns> + <column flex="1"/> + <column flex="3"/> + </columns> + <rows id="root" datasources="profile:animals.sqlite" querytype="storage" ref="." + sort="?id" sortDirection="ascending"> + <template> + <query>SELECT id, name FROM animals</query> + <action> + <row uri="?"> + <label value="?id"/> + <label value="?name"/> + </row> + </action> + </template> + </rows> +</grid> + +</window> |