336 lines
28 KiB
JavaScript
336 lines
28 KiB
JavaScript
|
/**
|
||
|
* @license Copyright 2016 Google Inc. All Rights Reserved.
|
||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||
|
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||
|
*/
|
||
|
'use strict';
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.getChromePath = exports.killAll = exports.launch = exports.Launcher = void 0;
|
||
|
const fs = require("fs");
|
||
|
const net = require("net");
|
||
|
const chromeFinder = require("./chrome-finder");
|
||
|
const random_port_1 = require("./random-port");
|
||
|
const flags_1 = require("./flags");
|
||
|
const utils_1 = require("./utils");
|
||
|
const child_process_1 = require("child_process");
|
||
|
const log = require('lighthouse-logger');
|
||
|
const isWsl = utils_1.getPlatform() === 'wsl';
|
||
|
const isWindows = utils_1.getPlatform() === 'win32';
|
||
|
const _SIGINT = 'SIGINT';
|
||
|
const _SIGINT_EXIT_CODE = 130;
|
||
|
const _SUPPORTED_PLATFORMS = new Set(['darwin', 'linux', 'win32', 'wsl']);
|
||
|
const instances = new Set();
|
||
|
const sigintListener = () => {
|
||
|
killAll();
|
||
|
process.exit(_SIGINT_EXIT_CODE);
|
||
|
};
|
||
|
async function launch(opts = {}) {
|
||
|
opts.handleSIGINT = utils_1.defaults(opts.handleSIGINT, true);
|
||
|
const instance = new Launcher(opts);
|
||
|
// Kill spawned Chrome process in case of ctrl-C.
|
||
|
if (opts.handleSIGINT && instances.size === 0) {
|
||
|
process.on(_SIGINT, sigintListener);
|
||
|
}
|
||
|
instances.add(instance);
|
||
|
await instance.launch();
|
||
|
const kill = () => {
|
||
|
instances.delete(instance);
|
||
|
if (instances.size === 0) {
|
||
|
process.removeListener(_SIGINT, sigintListener);
|
||
|
}
|
||
|
instance.kill();
|
||
|
};
|
||
|
return { pid: instance.pid, port: instance.port, kill, process: instance.chromeProcess };
|
||
|
}
|
||
|
exports.launch = launch;
|
||
|
/** Returns Chrome installation path that chrome-launcher will launch by default. */
|
||
|
function getChromePath() {
|
||
|
const installation = Launcher.getFirstInstallation();
|
||
|
if (!installation) {
|
||
|
throw new utils_1.ChromeNotInstalledError();
|
||
|
}
|
||
|
return installation;
|
||
|
}
|
||
|
exports.getChromePath = getChromePath;
|
||
|
function killAll() {
|
||
|
let errors = [];
|
||
|
for (const instance of instances) {
|
||
|
try {
|
||
|
instance.kill();
|
||
|
// only delete if kill did not error
|
||
|
// this means erroring instances remain in the Set
|
||
|
instances.delete(instance);
|
||
|
}
|
||
|
catch (err) {
|
||
|
errors.push(err);
|
||
|
}
|
||
|
}
|
||
|
return errors;
|
||
|
}
|
||
|
exports.killAll = killAll;
|
||
|
class Launcher {
|
||
|
constructor(opts = {}, moduleOverrides = {}) {
|
||
|
this.opts = opts;
|
||
|
this.tmpDirandPidFileReady = false;
|
||
|
this.fs = moduleOverrides.fs || fs;
|
||
|
this.spawn = moduleOverrides.spawn || child_process_1.spawn;
|
||
|
log.setLevel(utils_1.defaults(this.opts.logLevel, 'silent'));
|
||
|
// choose the first one (default)
|
||
|
this.startingUrl = utils_1.defaults(this.opts.startingUrl, 'about:blank');
|
||
|
this.chromeFlags = utils_1.defaults(this.opts.chromeFlags, []);
|
||
|
this.prefs = utils_1.defaults(this.opts.prefs, {});
|
||
|
this.requestedPort = utils_1.defaults(this.opts.port, 0);
|
||
|
this.chromePath = this.opts.chromePath;
|
||
|
this.ignoreDefaultFlags = utils_1.defaults(this.opts.ignoreDefaultFlags, false);
|
||
|
this.connectionPollInterval = utils_1.defaults(this.opts.connectionPollInterval, 500);
|
||
|
this.maxConnectionRetries = utils_1.defaults(this.opts.maxConnectionRetries, 50);
|
||
|
this.envVars = utils_1.defaults(opts.envVars, Object.assign({}, process.env));
|
||
|
if (typeof this.opts.userDataDir === 'boolean') {
|
||
|
if (!this.opts.userDataDir) {
|
||
|
this.useDefaultProfile = true;
|
||
|
this.userDataDir = undefined;
|
||
|
}
|
||
|
else {
|
||
|
throw new utils_1.InvalidUserDataDirectoryError();
|
||
|
}
|
||
|
}
|
||
|
else {
|
||
|
this.useDefaultProfile = false;
|
||
|
this.userDataDir = this.opts.userDataDir;
|
||
|
}
|
||
|
}
|
||
|
get flags() {
|
||
|
const flags = this.ignoreDefaultFlags ? [] : flags_1.DEFAULT_FLAGS.slice();
|
||
|
flags.push(`--remote-debugging-port=${this.port}`);
|
||
|
if (!this.ignoreDefaultFlags && utils_1.getPlatform() === 'linux') {
|
||
|
flags.push('--disable-setuid-sandbox');
|
||
|
}
|
||
|
if (!this.useDefaultProfile) {
|
||
|
// Place Chrome profile in a custom location we'll rm -rf later
|
||
|
// If in WSL, we need to use the Windows format
|
||
|
flags.push(`--user-data-dir=${isWsl ? utils_1.toWin32Path(this.userDataDir) : this.userDataDir}`);
|
||
|
}
|
||
|
if (process.env.HEADLESS)
|
||
|
flags.push('--headless');
|
||
|
flags.push(...this.chromeFlags);
|
||
|
flags.push(this.startingUrl);
|
||
|
return flags;
|
||
|
}
|
||
|
static defaultFlags() {
|
||
|
return flags_1.DEFAULT_FLAGS.slice();
|
||
|
}
|
||
|
/** Returns the highest priority chrome installation. */
|
||
|
static getFirstInstallation() {
|
||
|
if (utils_1.getPlatform() === 'darwin')
|
||
|
return chromeFinder.darwinFast();
|
||
|
return chromeFinder[utils_1.getPlatform()]()[0];
|
||
|
}
|
||
|
/** Returns all available chrome installations in decreasing priority order. */
|
||
|
static getInstallations() {
|
||
|
return chromeFinder[utils_1.getPlatform()]();
|
||
|
}
|
||
|
// Wrapper function to enable easy testing.
|
||
|
makeTmpDir() {
|
||
|
return utils_1.makeTmpDir();
|
||
|
}
|
||
|
prepare() {
|
||
|
const platform = utils_1.getPlatform();
|
||
|
if (!_SUPPORTED_PLATFORMS.has(platform)) {
|
||
|
throw new utils_1.UnsupportedPlatformError();
|
||
|
}
|
||
|
this.userDataDir = this.userDataDir || this.makeTmpDir();
|
||
|
this.outFile = this.fs.openSync(`${this.userDataDir}/chrome-out.log`, 'a');
|
||
|
this.errFile = this.fs.openSync(`${this.userDataDir}/chrome-err.log`, 'a');
|
||
|
this.setBrowserPrefs();
|
||
|
// fix for Node4
|
||
|
// you can't pass a fd to fs.writeFileSync
|
||
|
this.pidFile = `${this.userDataDir}/chrome.pid`;
|
||
|
log.verbose('ChromeLauncher', `created ${this.userDataDir}`);
|
||
|
this.tmpDirandPidFileReady = true;
|
||
|
}
|
||
|
setBrowserPrefs() {
|
||
|
// don't set prefs if not defined
|
||
|
if (Object.keys(this.prefs).length === 0) {
|
||
|
return;
|
||
|
}
|
||
|
const preferenceFile = `${this.userDataDir}/Preferences`;
|
||
|
try {
|
||
|
if (this.fs.existsSync(preferenceFile)) {
|
||
|
// overwrite existing file
|
||
|
const file = this.fs.readFileSync(preferenceFile, 'utf-8');
|
||
|
const content = JSON.parse(file);
|
||
|
this.fs.writeFileSync(preferenceFile, JSON.stringify({ ...content, ...this.prefs }), 'utf-8');
|
||
|
}
|
||
|
else {
|
||
|
// create new Preference file
|
||
|
this.fs.writeFileSync(preferenceFile, JSON.stringify({ ...this.prefs }), 'utf-8');
|
||
|
}
|
||
|
}
|
||
|
catch (err) {
|
||
|
log.log('ChromeLauncher', `Failed to set browser prefs: ${err.message}`);
|
||
|
}
|
||
|
}
|
||
|
async launch() {
|
||
|
if (this.requestedPort !== 0) {
|
||
|
this.port = this.requestedPort;
|
||
|
// If an explict port is passed first look for an open connection...
|
||
|
try {
|
||
|
await this.isDebuggerReady();
|
||
|
log.log('ChromeLauncher', `Found existing Chrome already running using port ${this.port}, using that.`);
|
||
|
return;
|
||
|
}
|
||
|
catch (err) {
|
||
|
log.log('ChromeLauncher', `No debugging port found on port ${this.port}, launching a new Chrome.`);
|
||
|
}
|
||
|
}
|
||
|
if (this.chromePath === undefined) {
|
||
|
const installation = Launcher.getFirstInstallation();
|
||
|
if (!installation) {
|
||
|
throw new utils_1.ChromeNotInstalledError();
|
||
|
}
|
||
|
this.chromePath = installation;
|
||
|
}
|
||
|
if (!this.tmpDirandPidFileReady) {
|
||
|
this.prepare();
|
||
|
}
|
||
|
this.pid = await this.spawnProcess(this.chromePath);
|
||
|
return Promise.resolve();
|
||
|
}
|
||
|
async spawnProcess(execPath) {
|
||
|
const spawnPromise = (async () => {
|
||
|
if (this.chromeProcess) {
|
||
|
log.log('ChromeLauncher', `Chrome already running with pid ${this.chromeProcess.pid}.`);
|
||
|
return this.chromeProcess.pid;
|
||
|
}
|
||
|
// If a zero value port is set, it means the launcher
|
||
|
// is responsible for generating the port number.
|
||
|
// We do this here so that we can know the port before
|
||
|
// we pass it into chrome.
|
||
|
if (this.requestedPort === 0) {
|
||
|
this.port = await random_port_1.getRandomPort();
|
||
|
}
|
||
|
log.verbose('ChromeLauncher', `Launching with command:\n"${execPath}" ${this.flags.join(' ')}`);
|
||
|
this.chromeProcess = this.spawn(execPath, this.flags, {
|
||
|
// On non-windows platforms, `detached: true` makes child process a leader of a new
|
||
|
// process group, making it possible to kill child process tree with `.kill(-pid)` command.
|
||
|
// @see https://nodejs.org/api/child_process.html#child_process_options_detached
|
||
|
detached: process.platform !== 'win32',
|
||
|
stdio: ['ignore', this.outFile, this.errFile],
|
||
|
env: this.envVars
|
||
|
});
|
||
|
if (this.chromeProcess.pid) {
|
||
|
this.fs.writeFileSync(this.pidFile, this.chromeProcess.pid.toString());
|
||
|
}
|
||
|
log.verbose('ChromeLauncher', `Chrome running with pid ${this.chromeProcess.pid} on port ${this.port}.`);
|
||
|
return this.chromeProcess.pid;
|
||
|
})();
|
||
|
const pid = await spawnPromise;
|
||
|
await this.waitUntilReady();
|
||
|
return pid;
|
||
|
}
|
||
|
cleanup(client) {
|
||
|
if (client) {
|
||
|
client.removeAllListeners();
|
||
|
client.end();
|
||
|
client.destroy();
|
||
|
client.unref();
|
||
|
}
|
||
|
}
|
||
|
// resolves if ready, rejects otherwise
|
||
|
isDebuggerReady() {
|
||
|
return new Promise((resolve, reject) => {
|
||
|
const client = net.createConnection(this.port, '127.0.0.1');
|
||
|
client.once('error', err => {
|
||
|
this.cleanup(client);
|
||
|
reject(err);
|
||
|
});
|
||
|
client.once('connect', () => {
|
||
|
this.cleanup(client);
|
||
|
resolve();
|
||
|
});
|
||
|
});
|
||
|
}
|
||
|
// resolves when debugger is ready, rejects after 10 polls
|
||
|
waitUntilReady() {
|
||
|
const launcher = this;
|
||
|
return new Promise((resolve, reject) => {
|
||
|
let retries = 0;
|
||
|
let waitStatus = 'Waiting for browser.';
|
||
|
const poll = () => {
|
||
|
if (retries === 0) {
|
||
|
log.log('ChromeLauncher', waitStatus);
|
||
|
}
|
||
|
retries++;
|
||
|
waitStatus += '..';
|
||
|
log.log('ChromeLauncher', waitStatus);
|
||
|
launcher.isDebuggerReady()
|
||
|
.then(() => {
|
||
|
log.log('ChromeLauncher', waitStatus + `${log.greenify(log.tick)}`);
|
||
|
resolve();
|
||
|
})
|
||
|
.catch(err => {
|
||
|
if (retries > launcher.maxConnectionRetries) {
|
||
|
log.error('ChromeLauncher', err.message);
|
||
|
const stderr = this.fs.readFileSync(`${this.userDataDir}/chrome-err.log`, { encoding: 'utf-8' });
|
||
|
log.error('ChromeLauncher', `Logging contents of ${this.userDataDir}/chrome-err.log`);
|
||
|
log.error('ChromeLauncher', stderr);
|
||
|
return reject(err);
|
||
|
}
|
||
|
utils_1.delay(launcher.connectionPollInterval).then(poll);
|
||
|
});
|
||
|
};
|
||
|
poll();
|
||
|
});
|
||
|
}
|
||
|
kill() {
|
||
|
if (!this.chromeProcess) {
|
||
|
return;
|
||
|
}
|
||
|
this.chromeProcess.on('close', () => {
|
||
|
delete this.chromeProcess;
|
||
|
this.destroyTmp();
|
||
|
});
|
||
|
log.log('ChromeLauncher', `Killing Chrome instance ${this.chromeProcess.pid}`);
|
||
|
try {
|
||
|
if (isWindows) {
|
||
|
// https://github.com/GoogleChrome/chrome-launcher/issues/266
|
||
|
const taskkillProc = child_process_1.spawnSync(`taskkill /pid ${this.chromeProcess.pid} /T /F`, { shell: true, encoding: 'utf-8' });
|
||
|
const { stderr } = taskkillProc;
|
||
|
if (stderr)
|
||
|
log.error('ChromeLauncher', `taskkill stderr`, stderr);
|
||
|
}
|
||
|
else {
|
||
|
if (this.chromeProcess.pid) {
|
||
|
process.kill(-this.chromeProcess.pid, 'SIGKILL');
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
catch (err) {
|
||
|
const message = `Chrome could not be killed ${err.message}`;
|
||
|
log.warn('ChromeLauncher', message);
|
||
|
}
|
||
|
this.destroyTmp();
|
||
|
}
|
||
|
destroyTmp() {
|
||
|
// Only clean up the tmp dir if we created it.
|
||
|
if (this.userDataDir === undefined || this.opts.userDataDir !== undefined) {
|
||
|
return;
|
||
|
}
|
||
|
if (this.outFile) {
|
||
|
this.fs.closeSync(this.outFile);
|
||
|
delete this.outFile;
|
||
|
}
|
||
|
if (this.errFile) {
|
||
|
this.fs.closeSync(this.errFile);
|
||
|
delete this.errFile;
|
||
|
}
|
||
|
// backwards support for node v12 + v14.14+
|
||
|
// https://nodejs.org/api/deprecations.html#DEP0147
|
||
|
const rmSync = this.fs.rmSync || this.fs.rmdirSync;
|
||
|
rmSync(this.userDataDir, { recursive: true, force: true, maxRetries: 10 });
|
||
|
}
|
||
|
}
|
||
|
exports.Launcher = Launcher;
|
||
|
;
|
||
|
exports.default = Launcher;
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hyb21lLWxhdW5jaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2Nocm9tZS1sYXVuY2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7OztHQUlHO0FBQ0gsWUFBWSxDQUFDOzs7QUFHYix5QkFBeUI7QUFDekIsMkJBQTJCO0FBQ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