From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- dom/xul/templates/tests/chrome/animals.rdf | 224 ++++++++++ dom/xul/templates/tests/chrome/animals.sqlite | Bin 0 -> 5120 bytes dom/xul/templates/tests/chrome/animals.xml | 19 + dom/xul/templates/tests/chrome/bug441785-1.rdf | 263 +++++++++++ dom/xul/templates/tests/chrome/bug441785-2.rdf | 11 + dom/xul/templates/tests/chrome/chrome.ini | 225 ++++++++++ dom/xul/templates/tests/chrome/file_bug330010.rdf | 13 + dom/xul/templates/tests/chrome/templates_shared.js | 488 +++++++++++++++++++++ dom/xul/templates/tests/chrome/test_bug329335.xul | 28 ++ dom/xul/templates/tests/chrome/test_bug330010.xul | 51 +++ dom/xul/templates/tests/chrome/test_bug397148.xul | 19 + dom/xul/templates/tests/chrome/test_bug441785.xul | 148 +++++++ dom/xul/templates/tests/chrome/test_bug476634.xul | 76 ++++ .../templates/tests/chrome/test_sortservice.xul | 70 +++ .../chrome/test_tmpl_bindingsextendedsyntax.xul | 73 +++ .../tests/chrome/test_tmpl_bindingsmultiple.xul | 80 ++++ .../tests/chrome/test_tmpl_bindingsquerysyntax.xul | 73 +++ .../tests/chrome/test_tmpl_bindingsreversed.xul | 58 +++ .../chrome/test_tmpl_bindingssameastriple.xul | 58 +++ ...test_tmpl_containerandmembervariablechanged.xul | 88 ++++ .../chrome/test_tmpl_containervariablechanged.xul | 49 +++ .../chrome/test_tmpl_containmentattribute.xul | 71 +++ .../test_tmpl_defaultcontainervariableisuri.xul | 49 +++ .../templates/tests/chrome/test_tmpl_errors.xul | 280 ++++++++++++ .../tests/chrome/test_tmpl_extendedsyntax.xul | 95 ++++ .../test_tmpl_extendedsyntaxemptyconditions.xul | 48 ++ .../test_tmpl_extendedsyntaxotherrefvariable.xul | 95 ++++ .../test_tmpl_extendedsyntaxremoveunmatched.xul | 55 +++ ...pl_extendedsyntaxsimplevariablesubstitution.xul | 54 +++ .../test_tmpl_extendedsyntaxtworulesrecurse.xul | 81 ++++ ...l_extendedsyntaxusinganinterveningcontainer.xul | 60 +++ .../test_tmpl_extendedvariablesubstitution.xul | 54 +++ .../tests/chrome/test_tmpl_gridelement.xul | 131 ++++++ ...t_tmpl_htmlelementextendedsyntaxwithbinding.xul | 114 +++++ .../test_tmpl_htmlelementquerysyntaxrecursive.xul | 81 ++++ ...mpl_htmlelementquerysyntaxwithmultiplerules.xul | 102 +++++ .../chrome/test_tmpl_htmlelementsimplesyntax.xul | 81 ++++ ..._tmpl_htmlelementsimplesyntaxusingatextnode.xul | 81 ++++ .../templates/tests/chrome/test_tmpl_invalidqp.xul | 48 ++ .../tests/chrome/test_tmpl_listboxelement.xul | 117 +++++ .../tests/chrome/test_tmpl_literalasmember.xul | 52 +++ .../chrome/test_tmpl_membervariablechanged.xul | 49 +++ .../test_tmpl_membervariablesubstitution.xul | 54 +++ .../tests/chrome/test_tmpl_menuelement.xul | 90 ++++ .../chrome/test_tmpl_menuelementrecursive.xul | 121 +++++ .../tests/chrome/test_tmpl_menulistelement.xul | 90 ++++ .../chrome/test_tmpl_mixedsyntaxiscontainer.xul | 67 +++ .../test_tmpl_mixedsyntaxiscontainerisempty.xul | 60 +++ .../tests/chrome/test_tmpl_mixedsyntaxisempty.xul | 60 +++ .../templates/tests/chrome/test_tmpl_noaction.xul | 48 ++ .../chrome/test_tmpl_noactionuriattribute.xul | 55 +++ .../tests/chrome/test_tmpl_parentconditions.xul | 113 +++++ .../tests/chrome/test_tmpl_parentcontenttag.xul | 114 +++++ .../tests/chrome/test_tmpl_parentsimplesyntax.xul | 110 +++++ .../tests/chrome/test_tmpl_query3triples.xul | 59 +++ .../test_tmpl_query3tripleswherecontains.xul | 111 +++++ .../test_tmpl_querymember3tripleswhereequals.xul | 60 +++ .../chrome/test_tmpl_querymemberandtwotriples.xul | 58 +++ .../test_tmpl_querymembertriplemembertriple.xul | 64 +++ .../tests/chrome/test_tmpl_queryresourcematch.xul | 58 +++ .../tests/chrome/test_tmpl_queryreversetriple.xul | 53 +++ .../tests/chrome/test_tmpl_queryselfwithtriple.xul | 51 +++ .../tests/chrome/test_tmpl_querysetone.xul | 95 ++++ .../tests/chrome/test_tmpl_querysettwo.xul | 117 +++++ .../chrome/test_tmpl_querysettwowithcondition.xul | 149 +++++++ .../tests/chrome/test_tmpl_querysyntax.xul | 63 +++ .../chrome/test_tmpl_querysyntaxmultiplerules.xul | 115 +++++ ...l_querysyntaxmultiplerulesfirstconditionall.xul | 71 +++ ..._tmpl_querysyntaxmultiplerulestwoconditions.xul | 113 +++++ .../chrome/test_tmpl_querytripleandmembermerge.xul | 55 +++ .../test_tmpl_querytripleobjecttosubject.xul | 67 +++ .../tests/chrome/test_tmpl_querytwomembers.xul | 107 +++++ .../chrome/test_tmpl_querytwomembersfiltered.xul | 54 +++ .../tests/chrome/test_tmpl_querytwotriples.xul | 55 +++ .../tests/chrome/test_tmpl_queryupwardsmember.xul | 54 +++ ..._queryupwardsmembertripleandfilteringtriple.xul | 55 +++ .../chrome/test_tmpl_querywithemptyconditions.xul | 117 +++++ .../tests/chrome/test_tmpl_referenceasmember.xul | 65 +++ .../tests/chrome/test_tmpl_regenerate.xul | 49 +++ .../test_tmpl_selfgenerationextendedsyntax.xul | 66 +++ .../test_tmpl_selfgenerationsimplesyntax.xul | 53 +++ .../test_tmpl_simplesyntaxenclosedinacontainer.xul | 90 ++++ ...l_simplesyntaxenclosedinacontainerwitharule.xul | 58 +++ .../tests/chrome/test_tmpl_simplesyntaxfilter.xul | 45 ++ ...st_tmpl_simplesyntaxfilterwithmultiplerules.xul | 97 ++++ .../test_tmpl_simplesyntaxfilterwithrule.xul | 98 +++++ ..._tmpl_simplesyntaxiteratingoverasinglevalue.xul | 86 ++++ ...mpl_simplesyntaxusinganinterveningcontainer.xul | 90 ++++ .../test_tmpl_simplesyntaxusingatextnode.xul | 50 +++ ...esyntaxusingcontainerasthegenerationelement.xul | 100 +++++ .../test_tmpl_simplesyntaxusingdontrecurse.xul | 52 +++ ...t_tmpl_simplesyntaxusingrecursivegeneration.xul | 109 +++++ ...l_simplesyntaxusingrecursivegenerationagain.xul | 64 +++ .../test_tmpl_simplesyntaxwithtwovariablesused.xul | 59 +++ ...variablesubstitutioncaretsatbeginningandend.xul | 45 ++ ...simplevariablesubstitutioncaretsubstitution.xul | 45 ++ ...t_tmpl_simplevariablesubstitutionnovariable.xul | 45 ++ ...blesubstitutionquestionmarkaspartofvariable.xul | 45 ++ ...ariablesubstitutionquestionmarksubstitution.xul | 56 +++ ...l_simplevariablesubstitutiontextandvariable.xul | 56 +++ ...ablesubstitutionvariableandtextconcatenated.xul | 45 ++ ...levariablesubstitutionvariablesconcatenated.xul | 45 ++ .../chrome/test_tmpl_sortascendinginteger.xul | 70 +++ .../chrome/test_tmpl_sortascendingquerysyntax.xul | 114 +++++ .../test_tmpl_sortascendingtworulesquerysyntax.xul | 70 +++ ...rtascendingtworuleswithcontainerquerysyntax.xul | 80 ++++ ...ngtworuleswithdifferentcontainerquerysyntax.xul | 84 ++++ .../chrome/test_tmpl_sortdescendingquerysyntax.xul | 114 +++++ .../test_tmpl_sortquerymemberandtwotriples.xul | 58 +++ ...st_tmpl_sortresource2descendingsimplesyntax.xul | 52 +++ ...resource2settopredicateascendingquerysyntax.xul | 59 +++ ...esource2settopredicatedescendingquerysyntax.xul | 59 +++ .../test_tmpl_sortresourceascendingquerysyntax.xul | 59 +++ ...test_tmpl_sortresourcedescendingquerysyntax.xul | 59 +++ ...tresourcesettopredicateascendingquerysyntax.xul | 59 +++ ...resourcesettopredicatedescendingquerysyntax.xul | 59 +++ ...asstringsettopredicatedescendingquerysyntax.xul | 59 +++ ...resourcessettopredicateascendingquerysyntax.xul | 59 +++ ...t_tmpl_sorttwovariablesascendingquerysyntax.xul | 119 +++++ ..._tmpl_sorttwovariablesascendingsimplesyntax.xul | 52 +++ ..._tmpl_sorttwovariablesdescendingquerysyntax.xul | 64 +++ .../test_tmpl_sortunknownascendingquerysyntax.xul | 59 +++ .../chrome/test_tmpl_storage_bad_parameters.xul | 58 +++ .../chrome/test_tmpl_storage_bad_parameters_2.xul | 59 +++ .../chrome/test_tmpl_storage_bad_parameters_3.xul | 60 +++ .../chrome/test_tmpl_storage_baddatasource.xul | 56 +++ .../tests/chrome/test_tmpl_storage_badquery.xul | 58 +++ .../chrome/test_tmpl_storage_dynamicparameters.xul | 84 ++++ .../tests/chrome/test_tmpl_storage_listbox.xul | 55 +++ .../chrome/test_tmpl_storage_multiqueries.xul | 86 ++++ .../tests/chrome/test_tmpl_storage_parameters.xul | 160 +++++++ .../tests/chrome/test_tmpl_storage_rule.xul | 59 +++ .../tests/chrome/test_tmpl_storage_simple.xul | 52 +++ .../chrome/test_tmpl_storage_sortintegerasc.xul | 75 ++++ .../chrome/test_tmpl_storage_sortintegerdesc.xul | 78 ++++ .../chrome/test_tmpl_storage_sortstringasc.xul | 75 ++++ .../chrome/test_tmpl_storage_sortstringdesc.xul | 75 ++++ .../tests/chrome/test_tmpl_storage_tree.xul | 122 ++++++ .../chrome/test_tmpl_treeelementquerysyntax.xul | 158 +++++++ ...est_tmpl_treeelementquerysyntaxnotrecursive.xul | 145 ++++++ ...eeelementquerysyntaxnotrecursivetreebuilder.xul | 145 ++++++ .../test_tmpl_treeelementquerysyntaxrecursive.xul | 215 +++++++++ ...reeelementquerysyntaxrecursivemultiplerules.xul | 268 +++++++++++ ...uerysyntaxrecursivemultiplerulestreebuilder.xul | 230 ++++++++++ ..._treeelementquerysyntaxrecursivetreebuilder.xul | 215 +++++++++ ...test_tmpl_treeelementquerysyntaxtreebuilder.xul | 158 +++++++ ...st_tmpl_treeelementsimplesyntaxnotrecursive.xul | 136 ++++++ ...eelementsimplesyntaxnotrecursivetreebuilder.xul | 136 ++++++ .../test_tmpl_treeelementsimplesyntaxrecursive.xul | 206 +++++++++ ...treeelementsimplesyntaxrecursivetreebuilder.xul | 206 +++++++++ .../tests/chrome/test_tmpl_treeelementtreecell.xul | 133 ++++++ .../test_tmpl_treeelementtreecellsortascending.xul | 133 ++++++ ...treeelementtreecellsortascendingtreebuilder.xul | 133 ++++++ .../test_tmpl_treeelementtreecelltreebuilder.xul | 133 ++++++ .../chrome/test_tmpl_treeelementtreeitemonly.xul | 96 ++++ .../test_tmpl_treeelementtreeitemsortascending.xul | 96 ++++ .../tests/chrome/test_tmpl_twogenerationnodes.xul | 100 +++++ .../chrome/test_tmpl_whereafterignorecase.xul | 60 +++ .../tests/chrome/test_tmpl_whereafterlowercase.xul | 63 +++ .../tests/chrome/test_tmpl_whereafternegation.xul | 59 +++ .../tests/chrome/test_tmpl_whereafteruppercase.xul | 60 +++ .../chrome/test_tmpl_wherebeforeignorecase.xul | 60 +++ .../chrome/test_tmpl_wherebeforelowercase.xul | 64 +++ .../tests/chrome/test_tmpl_wherebeforenegation.xul | 58 +++ .../chrome/test_tmpl_wherebeforeuppercase.xul | 59 +++ .../tests/chrome/test_tmpl_wherecontains.xul | 113 +++++ .../chrome/test_tmpl_wherecontainsignorecase.xul | 59 +++ .../chrome/test_tmpl_wherecontainsnegation.xul | 59 +++ .../tests/chrome/test_tmpl_wherecontainsnumber.xul | 59 +++ .../chrome/test_tmpl_wherecontainsnumberstring.xul | 59 +++ .../chrome/test_tmpl_wherecontainsresource.xul | 57 +++ .../tests/chrome/test_tmpl_wherecontainstwo.xul | 113 +++++ .../tests/chrome/test_tmpl_whereendswith.xul | 57 +++ .../chrome/test_tmpl_whereendswithignorecase.xul | 58 +++ .../chrome/test_tmpl_whereendswithnegation.xul | 63 +++ .../tests/chrome/test_tmpl_whereequals.xul | 109 +++++ .../chrome/test_tmpl_whereequalsignorecase.xul | 57 +++ .../tests/chrome/test_tmpl_whereequalsmultiple.xul | 58 +++ .../test_tmpl_whereequalsmultiplenegation.xul | 125 ++++++ ..._tmpl_whereequalsmultiplenegationignorecase.xul | 60 +++ .../tests/chrome/test_tmpl_whereequalsnegation.xul | 63 +++ .../test_tmpl_whereequalsnegationignorecase.xul | 63 +++ .../test_tmpl_whereequalsnegationwrongcase.xul | 64 +++ .../tests/chrome/test_tmpl_whereequalsnumber.xul | 58 +++ .../chrome/test_tmpl_whereequalsothervariable.xul | 65 +++ .../tests/chrome/test_tmpl_whereequalsresource.xul | 57 +++ .../chrome/test_tmpl_whereequalssamevariable.xul | 64 +++ .../chrome/test_tmpl_whereequalswrongcase.xul | 55 +++ .../tests/chrome/test_tmpl_wheregreater.xul | 60 +++ .../chrome/test_tmpl_wheregreaternegation.xul | 60 +++ .../test_tmpl_wheregreaternegationstring.xul | 60 +++ .../tests/chrome/test_tmpl_wheregreaterstring.xul | 113 +++++ .../templates/tests/chrome/test_tmpl_whereless.xul | 62 +++ .../tests/chrome/test_tmpl_wherelessnegation.xul | 61 +++ .../chrome/test_tmpl_wherelessnegationstring.xul | 61 +++ .../tests/chrome/test_tmpl_wherelessstring.xul | 62 +++ .../tests/chrome/test_tmpl_wherenorel.xul | 69 +++ .../tests/chrome/test_tmpl_wherenosubject.xul | 69 +++ .../tests/chrome/test_tmpl_wherenovalue.xul | 69 +++ .../tests/chrome/test_tmpl_wherestartswith.xul | 108 +++++ .../chrome/test_tmpl_wherestartswithignorecase.xul | 58 +++ .../chrome/test_tmpl_wherestartswithmultiple.xul | 59 +++ .../chrome/test_tmpl_wherestartswithnegation.xul | 62 +++ .../test_tmpl_wherestartswithunknownvariable.xul | 55 +++ .../chrome/test_tmpl_wherestartswithvariable.xul | 64 +++ .../test_tmpl_wheresubjectequalsvariable.xul | 57 +++ .../test_tmpl_wheresubjectstartswithvariable.xul | 57 +++ .../tests/chrome/test_tmpl_xmlquerysimple.xul | 48 ++ .../tests/chrome/test_tmpl_xmlquerywithassign.xul | 68 +++ ...est_tmpl_xmlquerywithassignmentandcondition.xul | 69 +++ ...lquerywithassignmentandconditiondontrecurse.xul | 60 +++ .../test_tmpl_xmlquerywithbindinginbindings.xul | 54 +++ .../chrome/test_tmpl_xmlquerywithbindinginrule.xul | 64 +++ .../test_tmpl_xmlquerywithdifferentmember.xul | 48 ++ .../chrome/test_tmpl_xmlquerywithinlinedata.xul | 54 +++ ...l_xmlquerywithinlinedatawithmultiplequeries.xul | 71 +++ .../test_tmpl_xmlquerywithmultiplequeries.xul | 70 +++ .../chrome/test_tmpl_xmlquerywithothertypes.xul | 75 ++++ .../tests/chrome/test_tmpl_xmlquerywithsort.xul | 51 +++ .../test_tmpl_xmlquerywithsortotherfield.xul | 51 +++ 220 files changed, 18097 insertions(+) create mode 100644 dom/xul/templates/tests/chrome/animals.rdf create mode 100644 dom/xul/templates/tests/chrome/animals.sqlite create mode 100644 dom/xul/templates/tests/chrome/animals.xml create mode 100644 dom/xul/templates/tests/chrome/bug441785-1.rdf create mode 100644 dom/xul/templates/tests/chrome/bug441785-2.rdf create mode 100644 dom/xul/templates/tests/chrome/chrome.ini create mode 100644 dom/xul/templates/tests/chrome/file_bug330010.rdf create mode 100644 dom/xul/templates/tests/chrome/templates_shared.js create mode 100644 dom/xul/templates/tests/chrome/test_bug329335.xul create mode 100644 dom/xul/templates/tests/chrome/test_bug330010.xul create mode 100644 dom/xul/templates/tests/chrome/test_bug397148.xul create mode 100644 dom/xul/templates/tests/chrome/test_bug441785.xul create mode 100644 dom/xul/templates/tests/chrome/test_bug476634.xul create mode 100644 dom/xul/templates/tests/chrome/test_sortservice.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_bindingsextendedsyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_bindingsmultiple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_bindingsquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_bindingsreversed.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_bindingssameastriple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_containerandmembervariablechanged.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_containervariablechanged.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_containmentattribute.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_defaultcontainervariableisuri.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_errors.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntaxemptyconditions.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntaxotherrefvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntaxremoveunmatched.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntaxsimplevariablesubstitution.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntaxtworulesrecurse.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedsyntaxusinganinterveningcontainer.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_extendedvariablesubstitution.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_gridelement.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_htmlelementextendedsyntaxwithbinding.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_htmlelementquerysyntaxrecursive.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_htmlelementquerysyntaxwithmultiplerules.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_htmlelementsimplesyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_htmlelementsimplesyntaxusingatextnode.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_invalidqp.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_listboxelement.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_literalasmember.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_membervariablechanged.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_membervariablesubstitution.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_menuelement.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_menuelementrecursive.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_menulistelement.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_mixedsyntaxiscontainer.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_mixedsyntaxiscontainerisempty.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_mixedsyntaxisempty.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_noaction.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_noactionuriattribute.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_parentconditions.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_parentcontenttag.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_parentsimplesyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_query3triples.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_query3tripleswherecontains.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querymember3tripleswhereequals.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querymemberandtwotriples.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querymembertriplemembertriple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_queryresourcematch.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_queryreversetriple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_queryselfwithtriple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysetone.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysettwo.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysettwowithcondition.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysyntaxmultiplerules.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysyntaxmultiplerulesfirstconditionall.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querysyntaxmultiplerulestwoconditions.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querytripleandmembermerge.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querytripleobjecttosubject.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querytwomembers.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querytwomembersfiltered.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querytwotriples.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_queryupwardsmember.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_queryupwardsmembertripleandfilteringtriple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_querywithemptyconditions.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_referenceasmember.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_regenerate.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_selfgenerationextendedsyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_selfgenerationsimplesyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxenclosedinacontainer.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxenclosedinacontainerwitharule.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxfilter.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxfilterwithmultiplerules.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxfilterwithrule.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxiteratingoverasinglevalue.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxusinganinterveningcontainer.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxusingatextnode.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxusingcontainerasthegenerationelement.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxusingdontrecurse.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxusingrecursivegeneration.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxusingrecursivegenerationagain.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplesyntaxwithtwovariablesused.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutioncaretsatbeginningandend.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutioncaretsubstitution.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutionnovariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutionquestionmarkaspartofvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutionquestionmarksubstitution.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutiontextandvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutionvariableandtextconcatenated.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_simplevariablesubstitutionvariablesconcatenated.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortascendinginteger.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortascendingtworulesquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortascendingtworuleswithcontainerquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortascendingtworuleswithdifferentcontainerquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortdescendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortquerymemberandtwotriples.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresource2descendingsimplesyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresource2settopredicateascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresource2settopredicatedescendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresourceascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresourcedescendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresourcesettopredicateascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortresourcesettopredicatedescendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sorttworesourcesasstringsettopredicatedescendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sorttworesourcessettopredicateascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sorttwovariablesascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sorttwovariablesascendingsimplesyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sorttwovariablesdescendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_sortunknownascendingquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_bad_parameters.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_bad_parameters_2.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_bad_parameters_3.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_baddatasource.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_badquery.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_dynamicparameters.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_listbox.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_multiqueries.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_parameters.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_rule.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_simple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerasc.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_sortintegerdesc.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_sortstringasc.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_sortstringdesc.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_storage_tree.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntax.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxnotrecursive.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxnotrecursivetreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxrecursive.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxrecursivemultiplerules.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxrecursivemultiplerulestreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxrecursivetreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementquerysyntaxtreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementsimplesyntaxnotrecursive.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementsimplesyntaxnotrecursivetreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementsimplesyntaxrecursive.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementsimplesyntaxrecursivetreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementtreecell.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementtreecellsortascending.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementtreecellsortascendingtreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementtreecelltreebuilder.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementtreeitemonly.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_treeelementtreeitemsortascending.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_twogenerationnodes.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereafterignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereafterlowercase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereafternegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereafteruppercase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherebeforeignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherebeforelowercase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherebeforenegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherebeforeuppercase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontains.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontainsignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontainsnegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontainsnumber.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontainsnumberstring.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontainsresource.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherecontainstwo.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereendswith.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereendswithignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereendswithnegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequals.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsmultiple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsmultiplenegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsmultiplenegationignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsnegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsnegationignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsnegationwrongcase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsnumber.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsothervariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalsresource.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalssamevariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereequalswrongcase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wheregreater.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wheregreaternegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wheregreaternegationstring.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wheregreaterstring.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_whereless.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherelessnegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherelessnegationstring.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherelessstring.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherenorel.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherenosubject.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherenovalue.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherestartswith.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherestartswithignorecase.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherestartswithmultiple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherestartswithnegation.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherestartswithunknownvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wherestartswithvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wheresubjectequalsvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_wheresubjectstartswithvariable.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerysimple.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithassign.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithassignmentandcondition.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithassignmentandconditiondontrecurse.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithbindinginbindings.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithbindinginrule.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithdifferentmember.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithinlinedata.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithinlinedatawithmultiplequeries.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithmultiplequeries.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithothertypes.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithsort.xul create mode 100644 dom/xul/templates/tests/chrome/test_tmpl_xmlquerywithsortotherfield.xul (limited to 'dom/xul/templates/tests/chrome') diff --git a/dom/xul/templates/tests/chrome/animals.rdf b/dom/xul/templates/tests/chrome/animals.rdf new file mode 100644 index 000000000..06fee7ac5 --- /dev/null +++ b/dom/xul/templates/tests/chrome/animals.rdf @@ -0,0 +1,224 @@ + + + + + + Arachnids + + + + Tarantula + Avicularia avicularia + + + + Birds + + + + + Emu + Dromaius novaehollandiae + + + + Barn Owl + Tyto alba + + + + Raven + Corvus corax + + + + Crustaceans + + + + + Fish + + + + Cod + Gadus morhua + + + + Swordfish + Xiphias gladius + + + + Mammals + + + + Lion + Panthera leo + 4 + 4 + + + + HIPPOPOTAMUS + Hippopotamus amphibius + 2 + 2 + + + + African Elephant + Loxodonta africana + 14 + 14 + + + + LLAMA + Lama glama + 5 + 5 + + + + Polar Bear + Thalarctos maritimus + 20 + 20 + + + + aardvark + Orycteropus afer + 2 + 2 + + + + Nine-banded Armadillo + Dasypus novemcinctus + 1 + 1 + + + + Gorilla + Gorilla gorilla + 7 + 7 + + + + Reptiles + + + + + Anaconda + Eunectes murinus + + + + Chameleon + Chamaeleo chamaelon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sarah became caretaker of the Fictitious Zoo's emu exhibit in 2001. With so + many emus living there, she has a lot to do! + + + + + + + + + + + Robert helps visitors to the Fictitious Zoo's reptile pavilion learn + more about some of the more unusual creatures that live there. + + Sanderson + + + + + + + + + + diff --git a/dom/xul/templates/tests/chrome/animals.sqlite b/dom/xul/templates/tests/chrome/animals.sqlite new file mode 100644 index 000000000..7ba88ff74 Binary files /dev/null and b/dom/xul/templates/tests/chrome/animals.sqlite differ diff --git a/dom/xul/templates/tests/chrome/animals.xml b/dom/xul/templates/tests/chrome/animals.xml new file mode 100644 index 000000000..f73ec718b --- /dev/null +++ b/dom/xul/templates/tests/chrome/animals.xml @@ -0,0 +1,19 @@ + + + +]> + + + + Reptiles + + + + Birds + + + + Aviary + + diff --git a/dom/xul/templates/tests/chrome/bug441785-1.rdf b/dom/xul/templates/tests/chrome/bug441785-1.rdf new file mode 100644 index 000000000..4be55657f --- /dev/null +++ b/dom/xul/templates/tests/chrome/bug441785-1.rdf @@ -0,0 +1,263 @@ + + + + + + 111110 + FILE 1 -- A + + + + + 111111 + FILE 1 -- B + + + + + 111110 + FILE 1 -- C + + + + + 111111 + FILE 1 -- D + + + + + 111112 + FILE 1 -- E + + + + + 111110 + FILE 1 -- F + + + + + 111114 + FILE 1 -- G + + + + + 111111 + FILE 1 -- H + + + + + 111118 + FILE 1 -- I + + + + + 111116 + FILE 1 -- J + + + + + 111110 + FILE 1 -- K + + + + + 111119 + FILE 1 -- L + + + + + 111116 + FILE 1 -- M + + + + + 1111111 + FILE 1 -- N + + + + + 111113 + FILE 1 -- O + + + + + 111111 + FILE 1 -- P + + + + + 111117 + FILE 1 -- Q + + + + + 1111110 + FILE 1 -- R + + + + + 111113 + FILE 1 -- S + + + + + 1111112 + FILE 1 -- T + + + + + 111116 + FILE 1 -- U + + + + + 1111111 + FILE 1 -- V + + + + + 1111121 + FILE 1 -- W + + + + + 111114 + FILE 1 -- X + + + + + 1111122 + FILE 1 -- Y + + + + + 1111113 + FILE 1 -- Z + + + + + 1111119 + FILE 1 -- AA + + + + + 1111117 + FILE 1 -- BB + + + + + 111117 + FILE 1 -- CC + + + + + 111117 + FILE 1 -- DD + + + + + 111116 + FILE 1 -- EE + + + + + 1111124 + FILE 1 -- FF + + + + + 111118 + FILE 1 -- GG + + + + + 1111117 + FILE 1 -- HH + + + + + 111118 + FILE 1 -- II + + + + + 1111125 + FILE 1 -- JJ + + + + + 1111124 + FILE 1 -- KK + + + + + 1111132 + FILE 1 -- LL + + + + + 1111136 + FILE 1 -- MM + + + + + 1111123 + FILE 1 -- NN + + + + + 1111122 + FILE 1 -- OO + + + + + 111110 + FILE 1 -- PP + + + + + 1111116 + FILE 1 -- QQ + + + + diff --git a/dom/xul/templates/tests/chrome/bug441785-2.rdf b/dom/xul/templates/tests/chrome/bug441785-2.rdf new file mode 100644 index 000000000..dca97ba78 --- /dev/null +++ b/dom/xul/templates/tests/chrome/bug441785-2.rdf @@ -0,0 +1,11 @@ + + + + + + 222220 + FILE 2 -- A + + + + diff --git a/dom/xul/templates/tests/chrome/chrome.ini b/dom/xul/templates/tests/chrome/chrome.ini new file mode 100644 index 000000000..97989723c --- /dev/null +++ b/dom/xul/templates/tests/chrome/chrome.ini @@ -0,0 +1,225 @@ +[DEFAULT] +skip-if = os == 'android' +support-files = + animals.rdf + animals.sqlite + animals.xml + bug441785-1.rdf + bug441785-2.rdf + templates_shared.js + +[test_bug329335.xul] +[test_bug330010.xul] +skip-if = os == "win" +support-files = file_bug330010.rdf +[test_bug397148.xul] +skip-if = true # Bug 879531 +[test_bug441785.xul] +[test_bug476634.xul] +[test_sortservice.xul] +[test_tmpl_bindingsextendedsyntax.xul] +[test_tmpl_bindingsmultiple.xul] +[test_tmpl_bindingsquerysyntax.xul] +[test_tmpl_bindingsreversed.xul] +[test_tmpl_bindingssameastriple.xul] +[test_tmpl_containerandmembervariablechanged.xul] +[test_tmpl_containervariablechanged.xul] +[test_tmpl_containmentattribute.xul] +[test_tmpl_defaultcontainervariableisuri.xul] +[test_tmpl_errors.xul] +[test_tmpl_extendedsyntax.xul] +[test_tmpl_extendedsyntaxemptyconditions.xul] +[test_tmpl_extendedsyntaxotherrefvariable.xul] +[test_tmpl_extendedsyntaxremoveunmatched.xul] +[test_tmpl_extendedsyntaxsimplevariablesubstitution.xul] +[test_tmpl_extendedsyntaxtworulesrecurse.xul] +[test_tmpl_extendedsyntaxusinganinterveningcontainer.xul] +[test_tmpl_extendedvariablesubstitution.xul] +[test_tmpl_gridelement.xul] +[test_tmpl_htmlelementextendedsyntaxwithbinding.xul] +[test_tmpl_htmlelementquerysyntaxrecursive.xul] +[test_tmpl_htmlelementquerysyntaxwithmultiplerules.xul] +[test_tmpl_htmlelementsimplesyntax.xul] +[test_tmpl_htmlelementsimplesyntaxusingatextnode.xul] +[test_tmpl_invalidqp.xul] +[test_tmpl_listboxelement.xul] +[test_tmpl_literalasmember.xul] +[test_tmpl_membervariablechanged.xul] +[test_tmpl_membervariablesubstitution.xul] +[test_tmpl_menuelement.xul] +[test_tmpl_menuelementrecursive.xul] +[test_tmpl_menulistelement.xul] +[test_tmpl_mixedsyntaxiscontainer.xul] +[test_tmpl_mixedsyntaxiscontainerisempty.xul] +[test_tmpl_mixedsyntaxisempty.xul] +[test_tmpl_noaction.xul] +[test_tmpl_noactionuriattribute.xul] +[test_tmpl_parentconditions.xul] +[test_tmpl_parentcontenttag.xul] +[test_tmpl_parentsimplesyntax.xul] +[test_tmpl_query3triples.xul] +[test_tmpl_query3tripleswherecontains.xul] +[test_tmpl_querymember3tripleswhereequals.xul] +[test_tmpl_querymemberandtwotriples.xul] +[test_tmpl_querymembertriplemembertriple.xul] +[test_tmpl_queryresourcematch.xul] +[test_tmpl_queryreversetriple.xul] +[test_tmpl_queryselfwithtriple.xul] +[test_tmpl_querysetone.xul] +[test_tmpl_querysettwo.xul] +[test_tmpl_querysettwowithcondition.xul] +[test_tmpl_querysyntax.xul] +[test_tmpl_querysyntaxmultiplerules.xul] +[test_tmpl_querysyntaxmultiplerulesfirstconditionall.xul] +[test_tmpl_querysyntaxmultiplerulestwoconditions.xul] +[test_tmpl_querytripleandmembermerge.xul] +[test_tmpl_querytripleobjecttosubject.xul] +[test_tmpl_querytwomembers.xul] +[test_tmpl_querytwomembersfiltered.xul] +[test_tmpl_querytwotriples.xul] +[test_tmpl_queryupwardsmember.xul] +[test_tmpl_queryupwardsmembertripleandfilteringtriple.xul] +[test_tmpl_querywithemptyconditions.xul] +[test_tmpl_referenceasmember.xul] +[test_tmpl_regenerate.xul] +[test_tmpl_selfgenerationextendedsyntax.xul] +[test_tmpl_selfgenerationsimplesyntax.xul] +[test_tmpl_simplesyntaxenclosedinacontainer.xul] +[test_tmpl_simplesyntaxenclosedinacontainerwitharule.xul] +[test_tmpl_simplesyntaxfilter.xul] +[test_tmpl_simplesyntaxfilterwithmultiplerules.xul] +[test_tmpl_simplesyntaxfilterwithrule.xul] +[test_tmpl_simplesyntaxiteratingoverasinglevalue.xul] +[test_tmpl_simplesyntaxusinganinterveningcontainer.xul] +[test_tmpl_simplesyntaxusingatextnode.xul] +[test_tmpl_simplesyntaxusingcontainerasthegenerationelement.xul] +[test_tmpl_simplesyntaxusingdontrecurse.xul] +[test_tmpl_simplesyntaxusingrecursivegeneration.xul] +[test_tmpl_simplesyntaxusingrecursivegenerationagain.xul] +[test_tmpl_simplesyntaxwithtwovariablesused.xul] +[test_tmpl_simplevariablesubstitutioncaretsatbeginningandend.xul] +[test_tmpl_simplevariablesubstitutioncaretsubstitution.xul] +[test_tmpl_simplevariablesubstitutionnovariable.xul] +[test_tmpl_simplevariablesubstitutionquestionmarkaspartofvariable.xul] +[test_tmpl_simplevariablesubstitutionquestionmarksubstitution.xul] +[test_tmpl_simplevariablesubstitutiontextandvariable.xul] +[test_tmpl_simplevariablesubstitutionvariableandtextconcatenated.xul] +[test_tmpl_simplevariablesubstitutionvariablesconcatenated.xul] +[test_tmpl_sortascendinginteger.xul] +[test_tmpl_sortascendingquerysyntax.xul] +[test_tmpl_sortascendingtworulesquerysyntax.xul] +[test_tmpl_sortascendingtworuleswithcontainerquerysyntax.xul] +[test_tmpl_sortascendingtworuleswithdifferentcontainerquerysyntax.xul] +[test_tmpl_sortdescendingquerysyntax.xul] +[test_tmpl_sortquerymemberandtwotriples.xul] +[test_tmpl_sortresource2descendingsimplesyntax.xul] +[test_tmpl_sortresource2settopredicateascendingquerysyntax.xul] +[test_tmpl_sortresource2settopredicatedescendingquerysyntax.xul] +[test_tmpl_sortresourceascendingquerysyntax.xul] +[test_tmpl_sortresourcedescendingquerysyntax.xul] +[test_tmpl_sortresourcesettopredicateascendingquerysyntax.xul] +[test_tmpl_sortresourcesettopredicatedescendingquerysyntax.xul] +[test_tmpl_sorttworesourcesasstringsettopredicatedescendingquerysyntax.xul] +[test_tmpl_sorttworesourcessettopredicateascendingquerysyntax.xul] +[test_tmpl_sorttwovariablesascendingquerysyntax.xul] +[test_tmpl_sorttwovariablesascendingsimplesyntax.xul] +[test_tmpl_sorttwovariablesdescendingquerysyntax.xul] +[test_tmpl_sortunknownascendingquerysyntax.xul] +[test_tmpl_storage_bad_parameters.xul] +[test_tmpl_storage_bad_parameters_2.xul] +[test_tmpl_storage_bad_parameters_3.xul] +[test_tmpl_storage_baddatasource.xul] +[test_tmpl_storage_badquery.xul] +[test_tmpl_storage_dynamicparameters.xul] +[test_tmpl_storage_listbox.xul] +[test_tmpl_storage_multiqueries.xul] +[test_tmpl_storage_parameters.xul] +[test_tmpl_storage_rule.xul] +[test_tmpl_storage_simple.xul] +[test_tmpl_storage_sortintegerasc.xul] +[test_tmpl_storage_sortintegerdesc.xul] +[test_tmpl_storage_sortstringasc.xul] +[test_tmpl_storage_sortstringdesc.xul] +[test_tmpl_storage_tree.xul] +[test_tmpl_treeelementquerysyntax.xul] +[test_tmpl_treeelementquerysyntaxnotrecursive.xul] +[test_tmpl_treeelementquerysyntaxnotrecursivetreebuilder.xul] +[test_tmpl_treeelementquerysyntaxrecursive.xul] +[test_tmpl_treeelementquerysyntaxrecursivemultiplerules.xul] +[test_tmpl_treeelementquerysyntaxrecursivemultiplerulestreebuilder.xul] +[test_tmpl_treeelementquerysyntaxrecursivetreebuilder.xul] +[test_tmpl_treeelementquerysyntaxtreebuilder.xul] +[test_tmpl_treeelementsimplesyntaxnotrecursive.xul] +[test_tmpl_treeelementsimplesyntaxnotrecursivetreebuilder.xul] +[test_tmpl_treeelementsimplesyntaxrecursive.xul] +[test_tmpl_treeelementsimplesyntaxrecursivetreebuilder.xul] +[test_tmpl_treeelementtreecell.xul] +[test_tmpl_treeelementtreecellsortascending.xul] +[test_tmpl_treeelementtreecellsortascendingtreebuilder.xul] +[test_tmpl_treeelementtreecelltreebuilder.xul] +[test_tmpl_treeelementtreeitemonly.xul] +[test_tmpl_treeelementtreeitemsortascending.xul] +[test_tmpl_twogenerationnodes.xul] +[test_tmpl_whereafterignorecase.xul] +[test_tmpl_whereafterlowercase.xul] +[test_tmpl_whereafternegation.xul] +[test_tmpl_whereafteruppercase.xul] +[test_tmpl_wherebeforeignorecase.xul] +[test_tmpl_wherebeforelowercase.xul] +[test_tmpl_wherebeforenegation.xul] +[test_tmpl_wherebeforeuppercase.xul] +[test_tmpl_wherecontains.xul] +[test_tmpl_wherecontainsignorecase.xul] +[test_tmpl_wherecontainsnegation.xul] +[test_tmpl_wherecontainsnumber.xul] +[test_tmpl_wherecontainsnumberstring.xul] +[test_tmpl_wherecontainsresource.xul] +[test_tmpl_wherecontainstwo.xul] +[test_tmpl_whereendswith.xul] +[test_tmpl_whereendswithignorecase.xul] +[test_tmpl_whereendswithnegation.xul] +[test_tmpl_whereequals.xul] +[test_tmpl_whereequalsignorecase.xul] +[test_tmpl_whereequalsmultiple.xul] +[test_tmpl_whereequalsmultiplenegation.xul] +[test_tmpl_whereequalsmultiplenegationignorecase.xul] +[test_tmpl_whereequalsnegation.xul] +[test_tmpl_whereequalsnegationignorecase.xul] +[test_tmpl_whereequalsnegationwrongcase.xul] +[test_tmpl_whereequalsnumber.xul] +[test_tmpl_whereequalsothervariable.xul] +[test_tmpl_whereequalsresource.xul] +[test_tmpl_whereequalssamevariable.xul] +[test_tmpl_whereequalswrongcase.xul] +[test_tmpl_wheregreater.xul] +[test_tmpl_wheregreaternegation.xul] +[test_tmpl_wheregreaternegationstring.xul] +[test_tmpl_wheregreaterstring.xul] +[test_tmpl_whereless.xul] +[test_tmpl_wherelessnegation.xul] +[test_tmpl_wherelessnegationstring.xul] +[test_tmpl_wherelessstring.xul] +[test_tmpl_wherenorel.xul] +[test_tmpl_wherenosubject.xul] +[test_tmpl_wherenovalue.xul] +[test_tmpl_wherestartswith.xul] +[test_tmpl_wherestartswithignorecase.xul] +[test_tmpl_wherestartswithmultiple.xul] +[test_tmpl_wherestartswithnegation.xul] +[test_tmpl_wherestartswithunknownvariable.xul] +[test_tmpl_wherestartswithvariable.xul] +[test_tmpl_wheresubjectequalsvariable.xul] +[test_tmpl_wheresubjectstartswithvariable.xul] +[test_tmpl_xmlquerysimple.xul] +[test_tmpl_xmlquerywithassign.xul] +[test_tmpl_xmlquerywithassignmentandcondition.xul] +[test_tmpl_xmlquerywithassignmentandconditiondontrecurse.xul] +[test_tmpl_xmlquerywithbindinginbindings.xul] +[test_tmpl_xmlquerywithbindinginrule.xul] +[test_tmpl_xmlquerywithdifferentmember.xul] +[test_tmpl_xmlquerywithinlinedata.xul] +[test_tmpl_xmlquerywithinlinedatawithmultiplequeries.xul] +[test_tmpl_xmlquerywithmultiplequeries.xul] +[test_tmpl_xmlquerywithothertypes.xul] +[test_tmpl_xmlquerywithsort.xul] +[test_tmpl_xmlquerywithsortotherfield.xul] diff --git a/dom/xul/templates/tests/chrome/file_bug330010.rdf b/dom/xul/templates/tests/chrome/file_bug330010.rdf new file mode 100644 index 000000000..428f1045f --- /dev/null +++ b/dom/xul/templates/tests/chrome/file_bug330010.rdf @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/dom/xul/templates/tests/chrome/templates_shared.js b/dom/xul/templates/tests/chrome/templates_shared.js new file mode 100644 index 000000000..85c49e52e --- /dev/null +++ b/dom/xul/templates/tests/chrome/templates_shared.js @@ -0,0 +1,488 @@ +/** + * This script is used for testing XUL templates. Call test_template within + * a load event handler. + * + * A test should have a root node with the datasources attribute with the + * id 'root', and a few global variables defined in the test's XUL file: + * + * testid: the testid, used when outputting test results + * expectedOutput: e4x data containing the expected output. It can optionally + * be enclosed in an element as most tests generate + * more than one node of output. + * isTreeBuilder: true for dont-build-content trees, false otherwise + * queryType: 'rdf', 'xml', etc. + * needsOpen: true for menu tests where the root menu must be opened before + * comparing results + * notWorkingYet: true if this test isn't working yet, outputs todo results + * notWorkingYetDynamic: true if the dynamic changes portion of the test + * isn't working yet, outputs todo results + * changes: an array of functions to perform in sequence to test dynamic changes + * to the datasource. + * + * If the element has an unordered attribute set to true, the + * children within it must all appear to match, but may appear in any order. + * If the unordered attribute is not set, the children must appear in the same + * order. + * + * If the 'changes' array is used, it should be an array of functions. Each + * function will be called in order and a comparison of the output will be + * performed. This allows changes to be made to the datasource to ensure that + * the generated template output has been updated. Within the expected output + * XML, the step attribute may be set to a number on an element to indicate + * that an element only applies before or after a particular change. If step + * is set to a positive number, that element will only exist after that step in + * the list of changes made. If step is set to a negative number, that element + * will only exist until that step. Steps are numbered starting at 1. For + * example: + *