mardi 7 février 2017

CEF for C#/Mono on OS X Crashes on javascript:window.close()

Vote count: 0

We are building a project that is using the Xilium/CefGlue Mono library, in order to render our user-interface in a Chromium embedded frame. Pages load and display in an NSWindow. JavaScript is executed on the page and on page events.

However, the application crashes with a FATAL message when calling

window.close();

anywhere in the page's JavaScript. Last bit of output prior to the crash is

FATAL:message_pump_mac.mm(765) Check Failed: [NSApp conformsToProtocol:@protocol(CrAppProtocol)]

Is this related? Is there some way we can have NSApp conform to this protocol in C#/Mono?

For more information, here is a similar topic posted in the CEF forum

asked 29 secs ago

Let's block ads! (Why?)



CEF for C#/Mono on OS X Crashes on javascript:window.close()

Aucun commentaire:

Enregistrer un commentaire