Skip to content

Commit

Permalink
Remove the default Firefox profile.
Browse files Browse the repository at this point in the history
That profile was created 7 years ago. I think the idea was to have
certs working for WebPageReplay and there is also some CSS fix for
SpeedIndex. I think those fixes are long overdue so lets remove them.
  • Loading branch information
soulgalore committed Jan 3, 2024
1 parent 2811ee5 commit 47ab4ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
Binary file removed browsersupport/firefox-profile/cert9.db
Binary file not shown.
4 changes: 0 additions & 4 deletions browsersupport/firefox-profile/chrome/userChrome.css

This file was deleted.

Binary file removed browsersupport/firefox-profile/key4.db
Binary file not shown.
13 changes: 4 additions & 9 deletions lib/firefox/webdriver/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,10 @@ export async function configureBuilder(builder, baseDir, options) {

const ffOptions = new Options();

const profileTemplatePath = resolve(
moduleRootPath,
'browsersupport',
'firefox-profile'
);

ffOptions.setProfile(
get(firefoxConfig, 'profileTemplate') || profileTemplatePath
);
const profileTemplate = get(firefoxConfig, 'profileTemplate');
if (profileTemplate) {
ffOptions.setProfile(get(firefoxConfig, 'profileTemplate'));
}

if (options.userAgent) {
ffOptions.setPreference('general.useragent.override', options.userAgent);
Expand Down

0 comments on commit 47ab4ee

Please sign in to comment.