diff options
Diffstat (limited to 'toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1')
5 files changed, 60 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/bootstrap.js b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/bootstrap.js new file mode 100644 index 000000000..7871af738 --- /dev/null +++ b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/bootstrap.js @@ -0,0 +1,8 @@ +function install (params, aReason) { +} +function uninstall (params, aReason) { +} +function startup (params, aReason) { +} +function shutdown (params, aReason) { +} diff --git a/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/chrome.manifest b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/chrome.manifest new file mode 100644 index 000000000..8884e3974 --- /dev/null +++ b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/chrome.manifest @@ -0,0 +1 @@ +locale inlinesettings en-US ./ diff --git a/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/install.rdf b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/install.rdf new file mode 100644 index 000000000..18fcec167 --- /dev/null +++ b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/install.rdf @@ -0,0 +1,27 @@ +<?xml version="1.0" ?> +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> + + <Description about="urn:mozilla:install-manifest"> + <em:id>inlinesettings1@tests.mozilla.org</em:id> + <em:name>Inline Settings (Bootstrap)</em:name> + <em:version>1</em:version> + <em:bootstrap>true</em:bootstrap> + + <em:targetApplication> + <Description> + <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> + <em:minVersion>0.3</em:minVersion> + <em:maxVersion>*</em:maxVersion> + </Description> + </em:targetApplication> + + <em:targetApplication> + <Description> + <em:id>toolkit@mozilla.org</em:id> + <em:minVersion>0</em:minVersion> + <em:maxVersion>*</em:maxVersion> + </Description> + </em:targetApplication> + </Description> + +</RDF> diff --git a/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/options.xul b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/options.xul new file mode 100644 index 000000000..cd4f72387 --- /dev/null +++ b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/options.xul @@ -0,0 +1,23 @@ +<?xml version="1.0" ?> + +<!DOCTYPE vbox SYSTEM "chrome://inlinesettings/locale/settings.dtd"> + +<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <setting pref="extensions.inlinesettings1.bool" type="bool" title="Bool" checkboxlabel="&checkbox;"/> + <setting pref="extensions.inlinesettings1.boolint" type="boolint" on="1" off="2" title="BoolInt"/> + <setting pref="extensions.inlinesettings1.integer" type="integer" title="Integer"/> + <setting pref="extensions.inlinesettings1.string" type="string" title="String"/> + <setting type="control" title="Menulist"> + <menulist sizetopopup="always" oncommand="window._testValue = this.value;"> + <menupopup> + <menuitem label="Alpha" value="1" /> + <menuitem label="Bravo" value="2" /> + <menuitem label="Charlie" value="3" /> + </menupopup> + </menulist> + </setting> + <setting pref="extensions.inlinesettings1.color" type="color" title="Color"/> + <setting pref="extensions.inlinesettings1.file" type="file" title="File"/> + <setting pref="extensions.inlinesettings1.directory" type="directory" title="Directory"/> + <setting pref="extensions.inlinesettings1.integer-size" type="integer" title="Integer with size" size="1" /> +</vbox> diff --git a/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/settings.dtd b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/settings.dtd new file mode 100644 index 000000000..6864a3d5a --- /dev/null +++ b/toolkit/mozapps/extensions/test/browser/addons/browser_inlinesettings1/settings.dtd @@ -0,0 +1 @@ +<!ENTITY checkbox "Check box label"> |