diff options
author | Adrian Aichner <adrian.aichner@gmail.com> | 2015-10-23 16:52:18 +0200 |
---|---|---|
committer | Adrian Aichner <adrian.aichner@gmail.com> | 2015-10-23 16:52:18 +0200 |
commit | b14f4fe597f156b0034c1777600120f88e0c2d20 (patch) | |
tree | 8f4e0376238c1aad63eeea2f328087c50baedacf | |
parent | 4c4930d3527257e104581182d89e9b870bff32b2 (diff) | |
download | librejsxul-b14f4fe597f156b0034c1777600120f88e0c2d20.tar.lz librejsxul-b14f4fe597f156b0034c1777600120f88e0c2d20.tar.xz librejsxul-b14f4fe597f156b0034c1777600120f88e0c2d20.zip |
With this patch I get
380 of 380 tests passed.
All tests passed!
$ jpm -V
1.0.3
$ jpm test -b `which firefox-trunk` -v
-rw-r--r-- | bootstrap.js | 11 | ||||
-rw-r--r-- | install.rdf | 29 | ||||
-rw-r--r-- | lib/settings/settings_tab.js | 2 |
3 files changed, 0 insertions, 42 deletions
diff --git a/bootstrap.js b/bootstrap.js deleted file mode 100644 index 4866564..0000000 --- a/bootstrap.js +++ /dev/null @@ -1,11 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -"use strict"; - -const { utils: Cu } = Components; -const rootURI = __SCRIPT_URI_SPEC__.replace("bootstrap.js", ""); -const COMMONJS_URI = "resource://gre/modules/commonjs"; -const { require } = Cu.import(COMMONJS_URI + "/toolkit/require.js", {}); -const { Bootstrap } = require(COMMONJS_URI + "/sdk/addon/bootstrap.js"); -const { startup, shutdown, install, uninstall } = new Bootstrap(rootURI); diff --git a/install.rdf b/install.rdf deleted file mode 100644 index 2c8c9ff..0000000 --- a/install.rdf +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<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>jid1-KtlZuoiikVfFew@jetpack</em:id> - <em:type>2</em:type> - <em:bootstrap>true</em:bootstrap> - <em:unpack>false</em:unpack> - <em:version>6.0.10rc20150620</em:version> - <em:name>GNU LibreJS</em:name> - <em:description>GNU LibreJS is an add-on for Mozilla-based browsers (IceCat, Firefox, Abrowser, Iceweasel) - that prevents the execution of nonfree nontrivial JavaScript as described in "The Javascript Trap": http://www.gnu.org/philosophy/javascript-trap.html</em:description> - <em:creator>Loic J. Duros</em:creator> - <em:iconURL>data/widget/images/librejs-64.png</em:iconURL> - <em:homepageURL>https://gnu.org/software/librejs/</em:homepageURL> - <em:optionsURL>data:text/xml,<placeholder/></em:optionsURL> - <em:optionsType>2</em:optionsType> - - <em:targetApplication> - <Description> - <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>38.0a1</em:minVersion> - <em:maxVersion>39.0</em:maxVersion> -</Description> -</em:targetApplication> - - - </Description> - -</RDF> diff --git a/lib/settings/settings_tab.js b/lib/settings/settings_tab.js index 07be87f..6e28ef6 100644 --- a/lib/settings/settings_tab.js +++ b/lib/settings/settings_tab.js @@ -25,8 +25,6 @@ const storage = require("./storage").librejsStorage; const scriptsCached = require("../script_entries/scripts_cache") .scriptsCached; -exports.settingsManager = settingsManager; - let settingsManager = { settingsTab: { url: data.url("settings/index.html"), |