Skip to content

Instantly share code, notes, and snippets.

let {classes: Cc, interfaces: Ci, utils: Cu} = Components;
Cu.import("resource:///modules/experiments/Experiments.jsm");
Cu.import("resource://gre/modules/Preferences.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/TelemetryController.jsm");
var gStarted = false;
const kSELF_ID = "[email protected]";
const kVERSION_MAX_PREF = "security.tls.version.max";
/* 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/. */
// This is an update-only system add-on to diagnose why the uptake rate
// has been lower than expected. It sends a single Telemetry ping on install,
// a single ping on first startup.
//
// It will automatically be removed from Firefox on the next application update,
// and will remove any preferences set.
/* 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/. */
// This is an update-only system add-on to diagnose why the uptake rate
// has been lower than expected. It sends a single Telemetry ping on install,
// a single ping on first startup.
//
// It will automatically be removed from Firefox on the next application update,
// and will remove any preferences set.
* should devtools be present in UI such as about:addons and allowed to
be removed/disabled?
* is it acceptable for first-run users to have to download devtools?
* what level of QA will be performed before shipping to release users?
* at what point will you detect regressions?
** this could be either the devtools add-on regressing Firefox or vice versa
(lldb) run
Process 59783 launched: '/Users/rhelmer/src/mozilla-central/obj-x86_64-apple-darwin15.6.0/dist/Nightly.app/Contents/MacOS/firefox' (x86_64)
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Process 59783 stopped
* thread #1: tid = 0x19c6a, 0x0000000000000000, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
thread #1: tid = 0x196e3, 0x0000000000000000, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000000000000
error: memory read failed for 0x0
rhelmer-23718:mozilla-central rhelmer$ ./mach run
0:00.17 /Users/rhelmer/src/mozilla-central/obj-x86_64-apple-darwin15.6.0/dist/Nightly.app/Contents/MacOS/firefox -no-remote -foreground -profile /Users/rhelmer/src/mozilla-central/obj-x86_64-apple-darwin15.6.0/tmp/scratch_user
rhelmer-23718:mozilla-central rhelmer$ echo $?
245
function startup(data) {
Services.obs.addObserver(ExtensionManager, "EM-loaded", false);
}
function shutdown(reason) {
Services.obs.removeObserver(ExtensionManager, "EM-loaded", false);
}
let ExtensionManager = {
observe: function(aSubject, aTopic, aData) {
// aSubject will be the window that about:addons is opened in
/* 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 { classes: Cc, interfaces: Ci, results: Cr, utils: Cu } = Components;
Cu.importGlobalProperties(["XMLHttpRequest"]);
App Update - AUS
System Add-ons (incl. GMP) - AUS
Downloads - Bouncer/CDN
OneCRL - Kinto
Hotfixes - AMO
Blocklist - Kinto
Addons - AMO
Shavar - Shavar service
Pinning preloads - Kinto
SHIELD - Normandy