chore(firefox): move sources from //lib/firefox to //lib (#3920)
This commit is contained in:
parent
a210dd7ee2
commit
1676f9927c
@ -13,8 +13,8 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
const FirefoxLauncher = require('./lib/firefox/Launcher.js').Launcher;
|
||||
const BrowserFetcher = require('./lib/firefox/BrowserFetcher.js');
|
||||
const FirefoxLauncher = require('./lib/Launcher.js').Launcher;
|
||||
const BrowserFetcher = require('./lib/BrowserFetcher.js');
|
||||
|
||||
class Puppeteer {
|
||||
constructor() {
|
||||
|
@ -23,7 +23,7 @@ const readline = require('readline');
|
||||
const fs = require('fs');
|
||||
const util = require('util');
|
||||
const {helper} = require('./helper');
|
||||
const {TimeoutError} = require('../Errors')
|
||||
const {TimeoutError} = require('./Errors')
|
||||
const FirefoxTransport = require('./FirefoxTransport');
|
||||
|
||||
const mkdtempAsync = util.promisify(fs.mkdtemp);
|
@ -1,8 +1,8 @@
|
||||
const {helper, assert, debugError} = require('./helper');
|
||||
const {Keyboard, Mouse} = require('./Input');
|
||||
const {constants} = require('../common');
|
||||
const {constants} = require('./common');
|
||||
const {Dialog} = require('./Dialog');
|
||||
const {TimeoutError} = require('../Errors');
|
||||
const {TimeoutError} = require('./Errors');
|
||||
const fs = require('fs');
|
||||
const mime = require('mime');
|
||||
const util = require('util');
|
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
const {TimeoutError} = require('../Errors');
|
||||
const {TimeoutError} = require('./Errors');
|
||||
|
||||
/**
|
||||
* @internal
|
@ -7,7 +7,7 @@ const path = require('path');
|
||||
// Based on: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Enterprise_deployment_before_60#Configuration
|
||||
async function installFirefoxPreferences(executablePath) {
|
||||
const firefoxFolder = path.dirname(executablePath);
|
||||
const {helper} = require('../lib/firefox/helper');
|
||||
const {helper} = require('../lib/helper');
|
||||
const mkdirAsync = helper.promisify(fs.mkdir.bind(fs));
|
||||
|
||||
let prefPath = '';
|
||||
|
Loading…
Reference in New Issue
Block a user