Skip to content

Instantly share code, notes, and snippets.

diff --git a/toolkit/mozapps/extensions/test/browser/browser_installssl.js b/toolkit/mozapps/extensions/test/browser/browser_installssl.js
--- a/toolkit/mozapps/extensions/test/browser/browser_installssl.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_installssl.js
@@ -106,17 +106,20 @@ function run_install_tests(callback) {
install.install();
}
run_next_install_test();
}
diff --git a/toolkit/mozapps/extensions/test/browser/browser_installssl.js b/toolkit/mozapps/extensions/test/browser/browser_installssl.js
--- a/toolkit/mozapps/extensions/test/browser/browser_installssl.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_installssl.js
@@ -106,17 +106,20 @@ function run_install_tests(callback) {
install.install();
}
run_next_install_test();
}
diff --git a/toolkit/mozapps/extensions/internal/XPIInstall.jsm b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
--- a/toolkit/mozapps/extensions/internal/XPIInstall.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
@@ -2146,16 +2146,17 @@ var DownloadAddonInstall = class extends
default:
return super.install();
}
return this._installPromise;
}
@mixedpuppy
mixedpuppy / gist:7c6362d0d127cf85b19ab5bdd37eac52
Created May 7, 2020 01:45
resolve install when finished
diff --git a/mobile/android/modules/geckoview/GeckoViewWebExtension.jsm b/mobile/android/modules/geckoview/GeckoViewWebExtension.jsm
--- a/mobile/android/modules/geckoview/GeckoViewWebExtension.jsm
+++ b/mobile/android/modules/geckoview/GeckoViewWebExtension.jsm
@@ -324,21 +324,25 @@ async function exportExtension(aAddon, a
},
};
}
class ExtensionInstallListener {
constructor(aResolve, aInstall, aInstallId) {
// Check <all_urls> used as an optional API permission allows explicit urls to be requested.
add_task(async function test_optional_url_with_optional_all_urls() {
let extension = ExtensionTestUtils.loadExtension({
manifest: {
optional_permissions: ["<all_urls>"],
},
background() {
browser.test.onMessage.addListener(async () => {
Ignoring unrecognized chrome manifest directive 'interfaces'. httpd.manifest:1
OpenGL compositor Initialized Succesfully.
Version: 2.1 INTEL-12.10.16
Vendor: Intel Inc.
Renderer: Intel(R) UHD Graphics 630
FBO Texture Target: TEXTURE_2D
browser.startup.average_time - Truncating float/double number.
Unknown category for SetEventRecordingEnabled: fxmonitor
Unknown Collection "main/message-groups" RemoteSettingsClient.jsm:137
diff --git a/toolkit/components/extensions/test/mochitest/mergecsp.sjs b/toolkit/components/extensions/test/mochitest/mergecsp.sjs
--- a/toolkit/components/extensions/test/mochitest/mergecsp.sjs
+++ b/toolkit/components/extensions/test/mochitest/mergecsp.sjs
@@ -1,15 +1,22 @@
+"use strict";
+
+// eslint-disable-next-line no-unused-vars
function handleRequest(request, response) {
let page = `
<!DOCTYPE html>
./mach doc
Processing ./third_party/python/certifi
Requirement already satisfied (use --upgrade to upgrade): certifi==2018.4.16 from file:///Users/shanec/moz/m-c/third_party/python/certifi in ./testing/web-platform/tests/tools/third_party/certifi
Processing ./third_party/python/pipenv
Installing collected packages: pipenv
Running setup.py install for pipenv ... done
Successfully installed pipenv-2018.5.18
Processing ./third_party/python/six
Installing collected packages: six
Running setup.py install for six ... done
tochtli:m-c shanec$ ./mach xpcshell-test --log-mach-verbose toolkit/components/search/tests/xpcshell/test_restarting.js
0:00.20 WARNING MOZ_NODE_PATH environment variable not set. Tests requiring http/2 will fail.
0:00.40 INFO Running tests sequentially.
0:00.40 SUITE_START: xpcshell - running 1 tests
0:00.41 INFO profile dir is /var/folders/kt/cj70x7x15jx7kfj1tjncp_yr0000gn/T/firefox/xpcshellprofile
0:00.41 TEST_START: toolkit/components/search/tests/xpcshell/test_restarting.js
0:00.41 INFO toolkit/components/search/tests/xpcshell/test_restarting.js | full command: ['/Users/shanec/moz/m-c/obj-x86_64-apple-darwin18.2.0/dist/Nightly.app/Contents/MacOS/xpcshell', '-g', '/Users/shanec/moz/m-c/obj-x86_64-apple-darwin18.2.0/dist/Nightly.app/Contents/Resources', '-a', '/Users/shanec/moz/m-c/obj-x86_64-apple-darwin18.2.0/dist/Nightly.app/Contents/Resources/browser', '-r', '/Users/shanec/moz/m-c/obj-x86_64-apple-darwin18.2.0/dist/Nightly.app/Contents/Resources/components/httpd.manifest', '-m', '-s', '-e', 'con
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
const {AddonTestUtils} = ChromeUtils.import("resource://testing-common/AddonTestUtils.jsm", {});
ChromeUtils.defineModuleGetter(this, "AddonManager", "resource://gre/modules/AddonManager.jsm");
const {
createAppInfo,