Skip to content

feat: allow setting of global fallback user agent - #18110

Merged
MarshallOfSound merged 1 commit into
4-2-xfrom
global-ua-4
May 2, 2019
Merged

MarshallOfSound merged 1 commit into
4-2-xfrom
global-ua-4

Conversation

@MarshallOfSound

Copy link
Copy Markdown
Member

Backport of #18016

See that PR for details. Approved for 4.2.0 backport by @electron/wg-releases on 01/05/19

Notes: Added new app.userAgentFallback property to allow setting the apps useragent globally

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 2, 2019
@MarshallOfSound MarshallOfSound added the fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases label May 2, 2019
@MarshallOfSound
MarshallOfSound marked this pull request as ready for review May 2, 2019 01:16
@MarshallOfSound
MarshallOfSound requested a review from deepak1556 May 2, 2019 01:16
@MarshallOfSound

Copy link
Copy Markdown
Member Author

This is slightly different to the master PR as we have to send the user-agent over the process arguments in order to support the override for service workers. In 4-0-x the service worker UA is initialized in the renderer. In master it is initialized in the browser process so we don't have this work around.

@codebytere codebytere added 4-2-x backport This is a backport PR and removed new-pr 🌱 PR opened recently labels May 2, 2019
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 2, 2019
@MarshallOfSound
MarshallOfSound merged commit 9a665eb into 4-2-x May 2, 2019
@release-clerk

release-clerk Bot commented May 2, 2019

Copy link
Copy Markdown

Release Notes Persisted

Added new app.userAgentFallback property to allow setting the apps useragent globally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4-2-x backport This is a backport PR fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases new-pr 🌱 PR opened recently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants