Bug 1595710 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

With bug 1595697 we will get the basic implementation of `Network.setUserAgentOverride`, which only handles the user agent.

This bug covers the addition of the `platform` option. Similar to the `userAgent` the platform can be set via a preference. In this case it will be `general.platform.override`. It's a string preference so that the option can directly be set.

The file to make the changes can be found at:
https://searchfox.org/mozilla-central/source/remote/domains/parent/Network.jsm

To get started please read:
https://firefox-source-docs.mozilla.org/remote/index.html

I will set this as mentored bug once bug 1595697 has been landed.
With bug 1595697 we will get the basic implementation of `Emulation.setUserAgentOverride`, which only handles the user agent.

This bug covers the addition of the `platform` option. Similar to the `userAgent` the platform can be set via a preference. In this case it will be `general.platform.override`. It's a string preference so that the option can directly be set.

The file to make the changes can be found at:
https://searchfox.org/mozilla-central/source/remote/domains/parent/Emulation.jsm
https://searchfox.org/mozilla-central/source/remote/test/browser/emulation/browser_setUserAgentOverride.js

To get started please read:
https://firefox-source-docs.mozilla.org/remote/index.html

I will set this as mentored bug once bug 1595697 has been landed.

Back to Bug 1595710 Comment 0