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): implement Browser.addBinding #1477

Merged
merged 1 commit into from Mar 23, 2020

Conversation

pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman changed the title browser(webkit): manager permissions on the proxy level browser(firefox): implement Browser.addBinding Mar 23, 2020
+ }, frame.domWindow(), {
+ defineAs: name,
+ });
+ frame.domWindow().eval(script);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use mainContext.evaluate instead to circumvent CSP? Similar to scripts to evaluate on load.

Copy link
Member Author

Choose a reason for hiding this comment

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

I can't get ahold of it from there!

@pavelfeldman pavelfeldman merged commit 049fdf7 into microsoft:master Mar 23, 2020
@pavelfeldman pavelfeldman deleted the be_exposeFunction branch April 17, 2020 21:10
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

2 participants