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

Add an option to prevent browsertime from setting Firefox default preferences. #1650

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

gmierz
Copy link
Collaborator

@gmierz gmierz commented Oct 6, 2021

This patch adds an option (--firefox.noPrefs) that lets us prevent browsertime from setting default preferences. This solves an issue where settings in an existing profile get overriden by the preferences set in browsertime.

@gmierz gmierz requested a review from soulgalore October 6, 2021 15:15
@gmierz
Copy link
Collaborator Author

gmierz commented Oct 6, 2021

Hi @soulgalore! We have an issue where our prefs are being overriden by the settings in browsertime - this patch would let us prevent that.

@soulgalore
Copy link
Member

Hi @gmierz aha cool, what about changing the name to --firefox.noDefaultPrefs, thinking its a little more self explaining?

@@ -483,6 +483,12 @@ module.exports.parseCommandLine = function parseCommandLine() {
type: 'boolean',
group: 'firefox'
})
.option('firefox.noPrefs', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking noDefaultPrefs maybe is a little better?

@soulgalore
Copy link
Member

If you can fix that, I'll can add the same config to Chrome too :)

@gmierz
Copy link
Collaborator Author

gmierz commented Oct 6, 2021

Sounds good to me thanks! :)

@gmierz gmierz requested a review from soulgalore October 6, 2021 17:58
@soulgalore soulgalore merged commit 6c0212d into sitespeedio:main Oct 6, 2021
@soulgalore
Copy link
Member

Thank you @gmierz :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants