You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Improved debug info in JS extension demos
Removed mutation observer from the JSRTTIExtension demo
This commit is contained in:
@@ -376,10 +376,11 @@ function CefRegisterExtension(const name, code: ustring; const Handler: ICefv8Ha
|
||||
var
|
||||
TempName, TempCode : TCefString;
|
||||
begin
|
||||
if (GlobalCEFApp <> nil) and
|
||||
if (GlobalCEFApp <> nil) and
|
||||
GlobalCEFApp.LibLoaded and
|
||||
(length(name) > 0) and
|
||||
(length(code) > 0) then
|
||||
(GlobalCEFApp.ProcessType = ptRenderer) and
|
||||
(length(name) > 0) and
|
||||
(length(code) > 0) then
|
||||
begin
|
||||
TempName := CefString(name);
|
||||
TempCode := CefString(code);
|
||||
|
||||
Reference in New Issue
Block a user