From 1f7b19512cfa7e1b153b99d6a2b40bad82a5496e Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Thu, 26 Apr 2018 17:13:34 +0200 Subject: js: created TestExtension and smaller fixes -- * Extensions: - Moved testapplication to Demoextension - Created BrowserTestExtension. Includes mocha and chai. For running tests that cannot be run outside a WebExtension Both Extensions can be found zipped in build/extensions after running build_extensions.sh * Code changes: - src/Config: Place for the configuration - small fixes raised during testing in Keyring.js, Message.js, - src/gpgmejs_openpgpjs.js don't offer direct GpgME object to the outside, as it only causes confusion - index.js init() now checks the config for validity * Tests: - Reordered tests in test/. - Input values are now in a separate file which may be of use for bulk testing * moved the build directory from dist to build --- lang/js/DemoExtension/popup.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lang/js/DemoExtension/popup.html (limited to 'lang/js/DemoExtension/popup.html') diff --git a/lang/js/DemoExtension/popup.html b/lang/js/DemoExtension/popup.html new file mode 100644 index 00000000..866b1135 --- /dev/null +++ b/lang/js/DemoExtension/popup.html @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file -- cgit From f45b926816340d3cca37f013a9eb1b1d9cdb0cfe Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Thu, 26 Apr 2018 17:59:40 +0200 Subject: js: fixed wrong paths in DemoExtension -- * Some forgotten internal links after the move to a subdir and cleaning --- lang/js/DemoExtension/entry.js | 2 +- lang/js/DemoExtension/mainui.html | 2 +- lang/js/DemoExtension/popup.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/js/DemoExtension/popup.html') diff --git a/lang/js/DemoExtension/entry.js b/lang/js/DemoExtension/entry.js index 7e5e1ffe..62583421 100644 --- a/lang/js/DemoExtension/entry.js +++ b/lang/js/DemoExtension/entry.js @@ -20,6 +20,6 @@ */ document.addEventListener('DOMContentLoaded', function() { chrome.tabs.create({ - url: './uimainui.html' + url: './mainui.html' }); }); diff --git a/lang/js/DemoExtension/mainui.html b/lang/js/DemoExtension/mainui.html index d85e7a46..76b8a221 100644 --- a/lang/js/DemoExtension/mainui.html +++ b/lang/js/DemoExtension/mainui.html @@ -3,7 +3,7 @@ - + diff --git a/lang/js/DemoExtension/popup.html b/lang/js/DemoExtension/popup.html index 866b1135..50070311 100644 --- a/lang/js/DemoExtension/popup.html +++ b/lang/js/DemoExtension/popup.html @@ -2,7 +2,7 @@ - + -- cgit