MBS ChromiumCookieManager crashes

  1. 6 days ago

    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

  2. Christian S

    Nov 6 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    Sorry to hear about crash.

    Well, it used to work? What changed?

  3. @ChristianSchmitz Sorry to hear about crash.

    Well, it used to work? What changed?

    Hi Chris? Yep, it worked before! Without problem.

    But now it doesn’t

    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.

  4. 5 days ago

    Derk J

    Nov 8 Pre-Release Testers, Xojo Pro

    Maybe the rederer is set incorrectly to "Native" instead of "WebKit" ?

  5. @Derk J 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).

  6. 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.

  7. Derk J

    Nov 8 Pre-Release Testers, Xojo Pro

    I bet @ChristianSchmitz has an update on it's list for you

  8. Christian S

    Nov 8 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    Well, I am not sure why it crashes sometimes.

  9. Derk J

    Nov 8 Pre-Release Testers, Xojo Pro
    Edited 5 days ago

    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

  10. Derk J

    Nov 8 Pre-Release Testers, Xojo Pro

    Even more to look at:
    https://bitbucket.org/chromiumembedded/cef/issues?q=cookie&sort=-created_on

or Sign Up to reply!