Skip to content

Instantly share code, notes, and snippets.

diff --git a/devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js b/devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js
--- a/devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js
+++ b/devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js
@@ -17,6 +17,8 @@
* this have so far not been robust in automation.
*/
+"use strict";
+
requestLongerTimeout(4);
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
* 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/. */
// ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm", this);
// XPCOMUtils.defineLazyModuleGetters(this, {
// SessionStore: "resource:///modules/sessionstore/SessionStore.jsm",
// });
nalexander@roboto ~/M/gecko> env CC=/Users/nalexander/.mozbuild/clang/bin/clang CXX=/Users/nalexander/.mozbuild/clang/bin/clang++ ./mach create-mach-environment
virtualenv at /Users/nalexander/.mozbuild/_virtualenvs/mach is already up to date.
Requirement already satisfied: cffi==1.14.4 in /Users/nalexander/.mozbuild/_virtualenvs/mach/lib/python3.9/site-packages (from -r /Users/nalexander/Mozilla/gecko/build/zstandard_requirements.txt (line 7)) (1.14.4)
Requirement already satisfied: pycparser==2.20 in /Users/nalexander/.mozbuild/_virtualenvs/mach/lib/python3.9/site-packages (from -r /Users/nalexander/Mozilla/gecko/build/zstandard_requirements.txt (line 45)) (2.20)
Collecting zstandard==0.13.0
Using cached zstandard-0.13.0.tar.gz (659 kB)
Building wheels for collected packages: zstandard
Building wheel for zstandard (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/nalexander/.mozbuild/_virtualenvs/mach/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0]
1603823155628 Toolkit.Telemetry TRACE TelemetryController::observe - profile-after-change notified.
1603823155629 Toolkit.Telemetry TRACE TelemetryController::setupTelemetry
1603823155629 Toolkit.Telemetry TRACE TelemetryController::registerJsProbes - registering builtin JS probes
1603823155629 Toolkit.Telemetry TRACE TelemetryController::registerScalarProbes - registering scalar builtin JS probes
1603823155649 Toolkit.Telemetry TRACE TelemetryReportingPolicy::setup
1603823155649 Toolkit.Telemetry CONFIG TelemetryController::enableTelemetryRecording - canRecordBase:true, canRecordExtended: true
1603823155652 Toolkit.Telemetry TRACE TelemetrySession::earlyInit
1603823155660 Toolkit.Telemetry TRACE UpdatePing::init - enabled: true
1603823155682 Toolkit.Telemetry TRACE TelemetryEnvironment::constructor
[(null) 39487: Compositor]: D/prof [39487] profiler_register_thread(Compositor)
/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set sts=2 sw=2 et tw=80: */
/* 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";
// Copied form
// taskcluster/docker/periodic-updates/scripts/getHSTSPreloadList.js,
@ncalexan
ncalexan / bu.js
Created September 15, 2020 22:36
"use strict";
// Copied form
// taskcluster/docker/periodic-updates/scripts/getHSTSPreloadList.js,
// which simplified a version from
// browser/components/migration/MigrationUtils.jsm.
function spinResolve(promise) {
if (!(promise instanceof Promise)) {
return promise;
}
@ncalexan
ncalexan / bu.js
Created September 15, 2020 22:35
"use strict";
// Copied form
// taskcluster/docker/periodic-updates/scripts/getHSTSPreloadList.js,
// which simplified a version from
// browser/components/migration/MigrationUtils.jsm.
function spinResolve(promise) {
if (!(promise instanceof Promise)) {
return promise;
}
@ncalexan
ncalexan / bu.js
Created September 11, 2020 17:58
"use strict";
// Copied form
// taskcluster/docker/periodic-updates/scripts/getHSTSPreloadList.js,
// which simplified a version from
// browser/components/migration/MigrationUtils.jsm.
function spinResolve(promise) {
if (!(promise instanceof Promise)) {
return promise;
}
"use strict";
// Copied form
// taskcluster/docker/periodic-updates/scripts/getHSTSPreloadList.js,
// which simplified a version from
// browser/components/migration/MigrationUtils.jsm.
function spinResolve(promise) {
if (!(promise instanceof Promise)) {
return promise;
}
(() => {
let mgr = Cc["@mozilla.org/memory-reporter-manager;1"].
getService(Ci.nsIMemoryReporterManager);
let amounts = [
"vsize",
// "vsizeMaxContiguous",
"resident",
// "residentFast",
"residentPeak",