Skip to content

Commit 96f3edd

Browse files
committed
Log when JS bindings are deferred due to missing V8 context
1 parent ca23d49 commit 96f3edd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/subprocess/cefpython_app.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,9 @@ void CefPythonApp::DoJavascriptBindingsForBrowser(
505505
if (!context.get() || !context->IsValid()) {
506506
// No valid context yet; OnContextCreated will register globals
507507
// directly once the context exists and bindings are set.
508+
LOG(INFO) << "[Renderer process] DoJavascriptBindingsForBrowser():"
509+
" V8 context not available yet, deferring bindings"
510+
" to OnContextCreated";
508511
continue;
509512
}
510513
if (!CefV8Context::InContext()) {

0 commit comments

Comments
 (0)