Skip to content

Instantly share code, notes, and snippets.

@rhelmer
rhelmer / 1357460.diff
Created April 18, 2017 16:53
bug 1357460
diff --git a/toolkit/components/telemetry/TelemetryEnvironment.jsm b/toolkit/components/telemetry/TelemetryEnvironment.jsm
--- a/toolkit/components/telemetry/TelemetryEnvironment.jsm
+++ b/toolkit/components/telemetry/TelemetryEnvironment.jsm
@@ -592,16 +592,17 @@ EnvironmentAddonBuilder.prototype = {
* @return Promise<object> containing the addon data.
*/
async _getActiveAddons() {
// Request addons, asynchronously.
let allAddons = await AddonManager.getAddonsByTypes(["extension", "service"]);

kmag tracked this down - even though bootstrap.js is waiting until it observes "sessionstore-windows-restored" to start the embedded WebExtension, because it's declared as an embedded WE in the install.rdf the manifest.json gets parsed at startup.

There is some underlying race condition here when WE manifest parsing happens at startup - however we don't need/want to do this parsing at startup so we can just make the WE not be embedded and install+start it after "sessionstore-windows-restored".

Exception occurred:
File "/Users/rhelmer/src/gecko-dev/obj-x86_64-apple-darwin16.4.0/_virtualenv/lib/python2.7/site-packages/sphinx_js/renderers.py", line 62, in rst_nodes
app.warn('No JSDoc documentation for the longname "%s" was found.' % name)
NameError: global name 'app' is not defined

[DRAFT] Go Faster Status

Restartless features

Firefox updates typically require an application restart. Users may choose to delay restart for an indeterminate length of time [1]. This not only delays the application of new user-visible Firefox features, but also important bug and security fixes.

Restartless features provide a method to serve chrome-privileged content to Firefox users, without requiring a full restart. The current mechanism used to provide this method are system

diff --git a/sphinx_js/__init__.py b/sphinx_js/__init__.py
index 7f2e6b4..09073c3 100644
--- a/sphinx_js/__init__.py
+++ b/sphinx_js/__init__.py
@@ -24,6 +24,7 @@ def setup(app):
# TODO: We could add a js:module with app.add_directive_to_domain().
app.add_config_value('js_source_path', '../', 'env')
+ app.add_config_value('js_config_path', None, 'env')

AddonManager Reference

.. js:autoclass:: AddonManager

   .. js:autofunction:: AddonManager#getAddonByID
--- conf.py-fathom 2017-03-07 12:37:06.000000000 -0800
+++ conf.py 2017-03-07 12:47:11.000000000 -0800
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Fathom documentation build configuration file, created by
+# Addons Manager documentation build configuration file, created by
# sphinx-quickstart on Mon Jan 9 17:16:30 2017.
#
# This file is execfile()d with the current directory set to its
# HG changeset patch
# User Robert Helmer <[email protected]>
# Date 1488663425 28800
# Sat Mar 04 13:37:05 2017 -0800
# Node ID 8c1e7b15201596159cd6107c580a7306856da3ec
# Parent ed3f666f580073edf76b538c3dde6badd81c7d40
Bug 1325872 - system add-on for TLS 1.3 Compatibility Testing
diff --git a/browser/extensions/moz.build b/browser/extensions/moz.build
--- a/browser/extensions/moz.build
# HG changeset patch
# User Robert Helmer <[email protected]>
# Date 1488615603 28800
# Sat Mar 04 00:20:03 2017 -0800
# Node ID 003b53ae28d334d7cdce242a5d45ef1aed091c1f
# Parent ed3f666f580073edf76b538c3dde6badd81c7d40
Bug 1325872 - system add-on for TLS 1.3 Compatibility Testing
MozReview-Commit-ID: IASvvAIxOGh
@rhelmer
rhelmer / gist:72d64cda73a8eb89a53508be032d8994
Last active February 11, 2017 00:29
list of ja(r) and xpi files shipped with release Firefox on macOS
Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
Contents/Resources/browser/features/[email protected]
Contents/Resources/browser/features/[email protected]
Contents/Resources/browser/features/[email protected]
Contents/Resources/browser/features/[email protected]
Contents/Resources/browser/omni.ja
Contents/Resources/omni.ja