-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Funding Request - Release 63.0.0 #2234
Comments
#2157 and #2025 have been reviewed and merged already. Also basic support for A number of other small improvements have been made, you can look through the commit history at https://github.com/cefsharp/CefSharp/commits/master if your interested. |
If I understand correctly with LegacyJavascriptBindingEnabled RegisterJsObject will work as currently but has the current bug issue (no crosssite binding). When legacy mode is disabled then both page code and injected code should first call: There is also the new dynamic resolution option which is fairly straightforward. |
Will work exactly the same as currently, objects will be bound correctly within the same render process. If you do happen to switch render processes, it'll be possible to do something like if(window.boundAsync2 === undefined)
{
CefSharp.BindObjectAsync("boundAsync2 ").then(function
(
)};
}
Not sure I understand this one? Legacy mode will still bind objects when the
The call to You'll actually be able to use
So you'd like to be able to wait for a I'm not totally sold on any of the naming that I've gone with, so suggestions are welcome. |
In relation to a |
An example of this will be added shortly, it will be based on https://gist.github.com/amaitland/fb2d14af2796aceb37e20cddad99459a |
Is anyone interested in seeing the Please vote with a thumbs up to upgrade and a thumbs down if you would like things to stay the same. |
I've created the https://www.myget.org/feed/cefsharp/package/nuget/CefSharp.WinForms The There appears to be a small problem with the Will investigate a little further before pushing the |
The changes implemented to support #2156 mean the The |
I've added some new sections to the If anyone has suggestions on topic they'd like to see covered then comment below, |
FWIW, VC++ 2017 would be fine with us as well. It would allow us to remove the VC++ 2015 payload from our install bundle, as we already use the 2017 runtime for our other binaries. Good to see confirmation of the |
What is the situation with #1983 . Will VC++2015 runtime be required? |
On reflection I'm thinking this upgrade probably should have happened before the first Upgrading the So for clarity I'm proposing delaying this until Feedback welcome. |
RE: |
I've pushed the The See cefsharp/CefSharp.MinimalExample@562bfee for the changes I made to the If I'm unable to resolve the issue before the official The |
pre02 resolves many issues for me. Only issue I have found is I am unable to see nested class bindings. sent more detail in a gitter pm. |
I've resolved the binding issue and will release a new set of |
The The |
Example has been updated see commit fbce2d6 Code is currently commented out to preserve default behavior, can be set as default if required. |
|
Anyone have any bugs to report for |
We haven't found anything new yet, but we are still using the legacy binding mechanism because the new binding mechanism requires us to make some changes on the Javascript side. |
I have a question. From 57 to 63 -pre03 all I need to change for object binding is below? // v57 // v63 I can't see my object from web dev tool console. window.external is not my object. Is there something I need to change also? |
@chris-araman Thanks for the feedback.
|
I've generated the https://github.com/cefsharp/CefSharp.MinimalExample/tree/demo/anycpu Will do a little more testing before releasing to |
Congratulations! 🍼🐥 |
The |
Thats great. thank you for your efforts in updating the lib. I'd get some rest now whilst the coast is clear! |
@amaitland A bit off-topic, in regards to patreon/bountysource. Have you considered using https://opencollective.com/ ? |
Just an
@cztomczak I've not heard of that one before, will have a look. Have you tried them personally? |
@amaitland I just stumbled upon it recently and it looks good, the webpack project uses it. I haven't used it myself. And here is another one link you might find interesting, also found it just a few days ago: https://github.com/nayafia/lemonade-stand ("A handy guide to financial support for open source"). |
The Comments welcome. That's the last piece before I close this. Will give it a few days for people to provide feedback on the Thanks for everyone's support! |
|
Closing this issue now, if anyone has further feedback on the |
A big thank you to all those who had pledged funding to my
Patreon
campaign, unfortunately I was unable to resolve the matter with them, so have to look at other options. I've decided to giveBountySource
one more go, hopefully the change in ownership will resolve the support issues.A revised set of details is below, I've already released the
63.0.0-pre01
set of packages as a thankyou for all those who pledged funding (even though I haven't received any money as yet).Release 63.0.0-pre01(Complete)When 10% of target reached
CEF
version, no major features includedCEF
and for testing purposes (will include all the changes tomaster
since57.0.0
, assuming those changes pass code review)Release 63.0.0-pre02(Complete)When 70% of target reached
CefSharpSettings.LegacyJavascriptBindingEnabled
option will be added that preserves the current behavior, this will only be viable for those users who limit their requests to one domain per browser instance, anycross-site
navigation and the bound objects will no longer be automatically registered.async
fashion, you will be able toDelete
an object, defer object binding until later, register different objects in different frames/popups.beta
implementation.Release 63.0.0-pre03(Complete)When 90% of target reached
Will include bug fixes for
Review and merge the following PRs
Add ChromiumWebBrowserWithSnapshotSupport example to WPF example project
Add new sections to General Usage Guide
Add basic support for
dynamic
object to bindingsAdd basic example for WinForms SetAsChild to host browser in tab
WPF improve layout rounding
Refactoring of OSR rendering to allow for pluggable implementation, will allow for users to implement their own rendering (DirectX rendering
Changes merged into master, will hold off merging into the
63
branch as more testing is required.Add extension points for allow for IME implementation in user space, the fixed WPF osr ime support #2103 is a long way from being production ready
Add
VS2017
support tocef-binary
projectCleanup
CefTime
handlingUpdate changelog and create release notes
Release a 63.0.0-pre03 set of packages to nuget.org
Release 63.0.0
When 100% of target reached
Support
Priority will be given to those individuals/companies who contribute directly to funding the new release.
JavaScript Binding(JSB) issue
See #1203 for the bug tracking this issue
Current implementation relies on process-per-tab command line flag to limit the number of browser process per
ChromiumWebBrowser
instance to one, this worked well up until version 58 where the flag no longer works. Chromium will likely re-add support, there is no timeframe on the open tickets as yet, see https://bugs.chromium.org/p/chromium/issues/detail?id=719961 and https://bugs.chromium.org/p/chromium/issues/detail?id=717459CEF will likely add a handler that can be used for resolving this issue and maintain the exact same functionality as exists today without having to use process-per-tab command line see https://bitbucket.org/chromiumembedded/cef/issues/2279/expose-custom-sub-process-handlers
As both options have no set timeframe we can rewrite our currently implementation to work slightly differently, bound objects will need to be registered slightly later, so won't be available immediately after the V8Context has been created. To get around this I've changed how objects are registered, see the code below for some code excerpts.
The text was updated successfully, but these errors were encountered: