Hi team!
I realized that a months ago, an app that I’ve made using ChromiumCookieManagerMBS, doesn’t work anymore.
And I realized that is that plugin: ChromiumCookieManagerMBS
Simply when I declare it as this:
dim m as new ChromiumCookieManagerMBS
The app simply crash, and nothing happens.
Even I tried with the newer version of Christian Plugins, in order to know if I need to buy the newer version on plugins.
But no, almost crashes.
have anyone has experienced it?
Thanks in advance
Sorry to hear about crash.
Well, it used to work? What changed?
[quote=462168:@Christian Schmitz]Sorry to hear about crash.
Well, it used to work? What changed?[/quote]
Hi Chris? Yep, it worked before! Without problem.
But now it doesnt
I declare a variable called ChrominumCookieManagerMBS:
dim m as new ChromiumCookieManagerMBS
And then do the next lines of code .
When I compile it for windows, and run in windows.
The application crashes and exits suddenly.
Even I tried to run your HTMLVIEWER WebKit Cookies Project that is stored on the /Examples/Win/HTMLVIEWER folder.
Also I compile it, and also crashes and exit.
DerkJ
(DerkJ)
November 8, 2019, 10:57am
4
Maybe the rederer is set incorrectly to “Native” instead of “WebKit” ?
Is set to WebKit mode.
When is set on Native mode, it throws me an error that says Global Cookie Manager cannot be achieved. And exits.
So I put in WebKit mode, I know cuz this plugin worked in windows thanks to the CEF (Chromium Environment Framework).
and when I install Xojo with the newest version is Christian MBS plug-ins and run the example program.
It throws me an error when I try to declare the ChromiumCookieManagerMBS as an unidentifiable.
And the plugins are well installed on the Plugins folder of the Xojo.
DerkJ
(DerkJ)
November 8, 2019, 6:12pm
7
I bet @Christian Schmitz has an update on it’s list for you
Well, I am not sure why it crashes sometimes.
DerkJ
(DerkJ)
November 8, 2019, 7:35pm
9
Some change in CEF (2019-03-21):
current status:
NetworkService is now enabled by default.
The old network implementation has been deleted in master and newer branches. M76 (3809) is the last branch to support --disable-features=NetworkService.
Related known/open issues can be found here.
Summary of changes (see commit log for a full list of changes):
Usage has changed as follows:
All cache_path values must be relative to a new CefSettings.root_cache_path value.
CefCookieManager callbacks are now executed on the UI thread (previously the IO thread).
The following methods have been removed:
CefCookieManager::CreateManager
CefCookieManager::GetBlockingManager
CefCookieManager::SetStoragePath
CefRequestContextHandler::GetCookieManager
The following methods have been added:
CefFrame::CreateURLRequest
GetResourceRequestHandler in CefRequestHandler and CefRequestContextHandler
The following methods have been moved/renamed:
CefRequestContext::GetDefaultCookieManager to GetCookieManager.
CefRequestHandler::* to CefResourceRequestHandler::*
Other related enhancements (not blocking NetworkService by default):
Move certificate-related callbacks to CefResourceRequestHandler (OnCertificateError, OnSelectClientCertificate).
Move CefServer to network process?
API redundancy: CefRequestCallback has same functionality as CefCallback (issue #1861 )
There may be some other things changed, but i’m not sure about which version is being used by Xojo HTMViewer
source:
https://bitbucket.org/chromiumembedded/cef/issues/2622/implement-support-for-networkservice
DerkJ
(DerkJ)
November 8, 2019, 7:38pm
10
Nothing already? Any update released?