Skip to content

Instantly share code, notes, and snippets.

View juliandescottes's full-sized avatar

Julian Descottes juliandescottes

View GitHub Profile
diff --git a/devtools/client/framework/test/browser_toolbox_window_reload_target.js b/devtools/client/framework/test/browser_toolbox_window_reload_target.js
--- a/devtools/client/framework/test/browser_toolbox_window_reload_target.js
+++ b/devtools/client/framework/test/browser_toolbox_window_reload_target.js
@@ -60,16 +60,17 @@ add_task(async function() {
await testOneTool(toolbox, toolID);
}
info("Switch back to docked mode");
await toolbox.switchHost(Toolbox.HostType.BOTTOM);
diff --git a/devtools/shared/client/deprecated-thread-client.js b/devtools/shared/client/deprecated-thread-client.js
--- a/devtools/shared/client/deprecated-thread-client.js
+++ b/devtools/shared/client/deprecated-thread-client.js
@@ -28,16 +28,17 @@ loader.lazyRequireGetter(
*
* @param client DebuggerClient
* @param actor string
* The actor ID for this thread.
*/
function ThreadClient(client, actor) {
diff --git a/devtools/client/aboutdebugging-new/src/actions/debug-targets.js b/devtools/client/aboutdebugging-new/src/actions/debug-targets.js
--- a/devtools/client/aboutdebugging-new/src/actions/debug-targets.js
+++ b/devtools/client/aboutdebugging-new/src/actions/debug-targets.js
@@ -124,28 +124,25 @@ function installTemporaryExtension() {
await AddonManager.installTemporaryAddon(file);
dispatch({ type: TEMPORARY_EXTENSION_INSTALL_SUCCESS });
} catch (e) {
dispatch({ type: TEMPORARY_EXTENSION_INSTALL_FAILURE, error: e });
}
};
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
// Tests that preference helpers work properly with custom types of Float and Json.
const { PrefObserver } = require("devtools/client/shared/prefs");
// Use sinon for mocking.
const {sinon} = ChromeUtils.import("resource://testing-common/Sinon.jsm");
@juliandescottes
juliandescottes / run-find-dupes.shell
Created April 8, 2019 10:18
duplicates find dupes allowed-dupes.mn
RUN_FIND_DUPES=1 ./mach package
@juliandescottes
juliandescottes / run-find-dupes.shell
Created April 8, 2019 10:18
duplicates find dupes allowed-dupes.mn
RUN_FIND_DUPES=1 ./mach package
diff --git a/devtools/client/framework/components/ToolboxController.js b/devtools/client/framework/components/ToolboxController.js
--- a/devtools/client/framework/components/ToolboxController.js
+++ b/devtools/client/framework/components/ToolboxController.js
@@ -131,16 +131,20 @@ class ToolboxController extends Componen
unhighlightTool(id) {
const { highlightedTools } = this.state;
if (highlightedTools.has(id)) {
highlightedTools.delete(id);
this.setState({ highlightedTools });
}
diff --git a/devtools/client/aboutdebugging-new/src/components/RuntimePage.js b/devtools/client/aboutdebugging-new/src/components/RuntimePage.js
--- a/devtools/client/aboutdebugging-new/src/components/RuntimePage.js
+++ b/devtools/client/aboutdebugging-new/src/components/RuntimePage.js
@@ -126,17 +126,19 @@ class RuntimePage extends PureComponent
);
});
return Message(
{
level: MESSAGE_LEVEL.ERROR,

Debug a local Firefox using about:debugging

This is a quick documentation to explain how to setup Firefox on OSX in order to try the "Network Locations" remote debugging in about:debugging.

Start the Client Firefox

Let's assume we are using a "Firefox Nightly" located in the Applications folder.

1 - You can start it once "as usual" by double clicking on the icon. This will be the "Client" where you will open about:debugging.

- 3 bananes
- 100g de beurre
- 2 oeufs
- 150g de sucre (dont 1 sachet de sucre vanillé)
- chocolat en poudre non sucré
- 175g de farine
- 1/2 sachet levure (5g)
- 2 cuilleres a cafe de bicarbonate
Melanger beurre, sucre, fouetter pour blanchir. Ajouter oeufs 1 par 1, melanger. Ecraser bananes ajouter