Skip to content

Commit

Permalink
chore(firefox): move sources from //lib/firefox to //lib (#3920)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Feb 6, 2019
1 parent a210dd7 commit 1676f99
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions experimental/puppeteer-firefox/index.js
Expand Up @@ -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() {
Expand Down
File renamed without changes.
Expand Up @@ -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);
Expand Down
@@ -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');
Expand Down
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion experimental/puppeteer-firefox/misc/install-preferences.js
Expand Up @@ -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 = '';
Expand Down

0 comments on commit 1676f99

Please sign in to comment.