Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(firefox): move sources from //lib/firefox to //lib #3920

Merged
merged 1 commit into from Feb 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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