This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y maven openjdk-8-jdk | |
COPY . . | |
RUN mvn verify | |
CMD exec java -Xmx8m -Xms8m -jar words.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// parent here is the toolbox target front | |
// so it depends on what toolbox you are running from | |
// if regular web toolbox, it will be BrowsingContextTargetFront() | |
// if worker toolbox, WorkerTargetFront() | |
// if old xul addon toolbox, AddonTargetFront() | |
// if webextension toolbox, WebExtensionTargetFront() | |
// if browser content toolbox, ContentProcessTargetFront() | |
// if browser toolbox, BrowsingContextTargetFront() | |
// | |
// As of today, this is *FRONTS* not a target object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FOLDER=devtools/shared/fronts | |
if [ ! -z "$1" ]; then | |
FOLDER=$1 | |
fi | |
echo $FOLDER | |
set -x | |
### Get rid of "protocol" symbol and import protocol.js symbols individually |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/devtools/shared/base-loader.js b/devtools/shared/base-loader.js | |
index 4fde5d7d7fa1..455e86ee2f42 100644 | |
--- a/devtools/shared/base-loader.js | |
+++ b/devtools/shared/base-loader.js | |
@@ -198,23 +198,15 @@ function load(loader, module) { | |
configurable: true, | |
value: lazyRequireModule.bind(sandbox), | |
}; | |
+ Object.defineProperties(sandbox, descriptors); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; | |
Components.utils.import("resource://gre/modules/osfile.jsm"); | |
Components.utils.import("resource://gre/modules/Services.jsm"); | |
var done = false; | |
let gPaths = arguments.filter(a => !a.startsWith("-")); | |
if (!gPaths.length) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; | |
Components.utils.import("resource://gre/modules/osfile.jsm"); | |
Components.utils.import("resource://gre/modules/Services.jsm"); | |
var done = false; | |
let gPaths = arguments.filter(a => !a.startsWith("-")); | |
if (!gPaths.length) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 816bb258dfd315b5c2385e4ced6ac2e6a91b5c4f | |
Author: Alexandre Poirot <[email protected]> | |
Date: Wed Jun 20 14:28:06 2018 -0700 | |
refactor shader editor initializer. | |
MozReview-Commit-ID: sLVVmv8ZUF | |
diff --git a/devtools/client/definitions.js b/devtools/client/definitions.js | |
index 75dd62686eb67..c2552eccb9d9f 100644 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/devtools/client/devtools-startup.js b/devtools/client/devtools-startup.js | |
index 4feb75d..3e34e1d 100644 | |
--- a/devtools/client/devtools-startup.js | |
+++ b/devtools/client/devtools-startup.js | |
@@ -25,7 +25,8 @@ function DevToolsStartup() {} | |
DevToolsStartup.prototype = { | |
handle: function (cmdLine) { | |
- let consoleFlag = cmdLine.handleFlag("jsconsole", false); | |
+ let consoleFlag = cmdLine.handleFlag("jsconsole", false) || |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var git = "git log --numstat --format=oneline --grep '^Bug '"; | |
function execCommand(cmd, callback) { | |
const exec = require('child_process').exec; | |
exec(cmd, {maxBuffer:10000000}, (error, stdout, stderr) => { | |
if (error) { | |
console.error(`exec error: ${error}`); | |
return; | |
} | |
callback(stdout); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
const observer = require("observer-service"); | |
const tabs = require("tabs"); | |
const widgets = require("widget"); | |
const { WindowTracker, isBrowser } = require('api-utils/window-utils'); | |
var widget = widgets.Widget({ | |
id: "mozilla-link", | |
label: "Mozilla website", |