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

Support new nodeIntegrationInSubFrames in webviews #16780

Closed
dansteen opened this issue Feb 6, 2019 · 16 comments · Fixed by #17226
Closed

Support new nodeIntegrationInSubFrames in webviews #16780

dansteen opened this issue Feb 6, 2019 · 16 comments · Fixed by #17226

Comments

@dansteen
Copy link

dansteen commented Feb 6, 2019

PR #16425 add support for node integration in iFrames. However this only added support for BrowserWindow (https://electronjs.org/docs/api/browser-window) objects. It would be great if this could be added for webview (https://electronjs.org/docs/api/webview-tag) objects as well!

@dansteen
Copy link
Author

dansteen commented Mar 3, 2019

In case it helps, we've posted a bounty for this issue: https://www.bountysource.com/issues/70384098-support-new-nodeintegrationinsubframes-in-webviews

We're actually willing to pay more than that (if someone would prefer an hourly rate or something), but didn't want to tie up more than that in bountysource due to fees etc.

@denim2x
Copy link

denim2x commented Mar 3, 2019

@dansteen Hi - I'd like to get started on this project; can we discuss a small bounty increase?

@dansteen
Copy link
Author

dansteen commented Mar 3, 2019

@denim2x I have no problem with the requested increase if you feel that that reflects the amount of effort involved.

Looking at your account and commit history I don't see a lot of C/C++ work. Do you have the experience needed to resolve this issue?

@brenca
Copy link
Contributor

brenca commented Mar 4, 2019

Hey @dansteen and @denim2x! If you haven't discussed starting on this, I'd like to take this as well, and I'm more than happy with the bounty.

@dansteen
Copy link
Author

dansteen commented Mar 4, 2019

Hi @brenca! No problem at all. I'd love to have you start on this.

@mul1sh
Copy link

mul1sh commented Mar 4, 2019

Just seen this issue as well on bounty source, would love to give it a shot @dansteen if it is still open 🙂, the bounty is fine with me and I believe I can turn it around in less than 3 days

Edit

Sorry just seen @brenca's comment, so I'll hold off this issue :)

@brenca
Copy link
Contributor

brenca commented Mar 5, 2019

@dansteen I posted a PR with a fix for this.

@dansteen
Copy link
Author

dansteen commented Mar 5, 2019

@brenca nice - that's super fast work! I see that it also fixed the other crash as well. That's fantastic!

@dansteen
Copy link
Author

dansteen commented Mar 8, 2019

hi @brenca Thanks so much for the work you have done on this so far. It looks like things are coming along really nicely!

A quick question. Does the work you have done on this support contextIsolation and partitions?
Thanks!

@brenca
Copy link
Contributor

brenca commented Mar 8, 2019

@dansteen I don't think partitions can cause problems with this, but the tests cover contextIsolation, sandbox and the combination of the two.

@dansteen
Copy link
Author

Hi @brenca. Thanks for the superfast turnaround on this it looks great! I'd like to wait to accept the solution until we get a 5x build so we can run a few quick tests. is that ok with you?

@brenca
Copy link
Contributor

brenca commented Mar 15, 2019

@dansteen sure thing! If you want to test before the next 5-0-x release that would contain this gets out, you could also test the testing builds that CI generates when running checks.

@dansteen
Copy link
Author

Testing with the output of the CI runs would be just fine @brenca. I see the artifact files for the appvayor builds, but can you point me to the artifacts for the linux builds? Thanks!

@brenca
Copy link
Contributor

brenca commented Mar 17, 2019

Which architecture are you looking for? I can send you a link, I think you need to be an org member to see build artifacts for some reason (for circleci builds anyway)

@dansteen
Copy link
Author

amd64 would be fine. Thanks!

@brenca
Copy link
Contributor

brenca commented Mar 20, 2019

@dansteen the latest beta should have the backport included

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

Successfully merging a pull request may close this issue.

5 participants