diff --git a/CefSharp/ScriptCore.cpp b/CefSharp/ScriptCore.cpp index ca95f516f..5297fc689 100644 --- a/CefSharp/ScriptCore.cpp +++ b/CefSharp/ScriptCore.cpp @@ -36,6 +36,7 @@ namespace CefSharp CefRefPtr mainFrame; if (TryGetMainFrame(browser, mainFrame)) { + // TODO: fails, most likely because we are not in the render process. CefRefPtr context = mainFrame->GetV8Context(); if (context.get() && context->Enter())