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

Only run scripts that needs privileges in Firefox. #1558

Merged
merged 3 commits into from Apr 26, 2021

Conversation

soulgalore
Copy link
Member

@soulgalore soulgalore requested a review from gmierz April 26, 2021 18:39
@soulgalore soulgalore self-assigned this Apr 26, 2021
@soulgalore
Copy link
Member Author

Hi @gmierz put you on review FYI but gonna merge asap :)

This has been broken since we merged it: The appconstants script that needs privileges breaks the "browser" scripts in other browsers than Firefox (we miss it in the output.json). A couple of levels down we do a check for Firefox and then throws and error https://github.com/sitespeedio/browsertime/blob/main/lib/core/seleniumRunner.js#L390-L395 and that is swallow, not seen.

With this fix all scripts in the browser category will work in all browsers.

@soulgalore soulgalore merged commit 6b270ee into main Apr 26, 2021
@soulgalore soulgalore deleted the fix-require-scripts branch April 26, 2021 20:24
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.

None yet

1 participant