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

browser(firefox): support Browser.setProxy method in juggler #2464

Merged

Conversation

aslushnikov
Copy link
Collaborator

This lets us support network proxies per browser context.

This lets us support network proxies per browser context.
@@ -19,6 +19,8 @@ const Cm = Components.manager;
const CC = Components.Constructor;
const helper = new Helper();

const UINT32_MAX = Math.pow(2, 32)-1;
Copy link
Member

Choose a reason for hiding this comment

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

Number.MAX_SAFE_INTEGER

'setProxy': {
params: {
browserContextId: t.Optional(t.String),
type: t.Enum(['http', 'https', 'socks', 'socks4']),
Copy link
Member

Choose a reason for hiding this comment

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

I just use URL in chromium, webkit. Do the same?

@pavelfeldman pavelfeldman merged commit 3c9699d into microsoft:master Jun 4, 2020
@aslushnikov aslushnikov deleted the ff-support-proxy-per-context branch March 3, 2021 22:02
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