renemelo / delphichromiumembedded Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/delphichromiumembedded
Automatically exported from code.google.com/p/delphichromiumembedded
CEF r158 has a setting "extra_plugin_paths", which can be used to specify a
path for things such as Flash for when the user doesn't have Flash installed
via Firefox.
It would be great if DelphiCEF exposed this missing setting, it is in r158.
What version of the product are you using? On what operating system?
delphichromiumembedded r19
chromiumembedded r158
Original issue reported on code.google.com by [email protected]
on 28 Jan 2011 at 4:29
What steps will reproduce the problem?
1.Create a project with delphi 7,add a a menu and TChromium to the main form of
the project
2.TChromium loada local html file(which runs a "busy" javascript function)
3.Use the mouse to hover the menu, and click the menu, sometimes, it will not
trigger the menu onclick event,liking missing the mouse event message.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
usesing verion:
CEF_REVISION = 607;
COPYRIGHT_YEAR = 2012;
CHROME_VERSION_MAJOR = 18;
CHROME_VERSION_MINOR = 0;
CHROME_VERSION_BUILD = 1025;
CHROME_VERSION_PATCH = 166;
on windows 7.
Please provide any additional information below.
----please see the link:
https://groups.google.com/forum/#!topic/delphichromiumembedded/Jyxocj1v2Ww
Original issue reported on code.google.com by [email protected]
on 6 Sep 2013 at 4:04
Attachments:
The error is obvious:
if Assigned(FOnConsoleMessage) then
FOnContentsSizeChange(Self, browser, frame, width, height);
Original issue reported on code.google.com by [email protected]
on 9 Jan 2012 at 7:36
What steps will reproduce the problem?
1. Start GUIClient
2. Exit
3. It throws access violation if it runs in the Delphi IDE
What is the expected output? What do you see instead?
Normal exit without error message
What version of the product are you using? On what operating system?
dcef-r181.7z
cef_binary_r181_VS2005-VS2008.zip
Windows XP
Delphi 7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 10 Feb 2011 at 2:35
What steps will reproduce the problem?
1. How would you write the register code in C++
2. and the Execute function? I did it with GetIntefrace function but it seems
to not working and stop everything else from working too.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
0.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2010 at 6:41
What steps will reproduce the problem?
1. Create a project which open MDI child forms which contains Chromium browser
(I used guiclient). Browser opens a webpage.
2. open MDI form with .show() method
3. close MDI form. Action:=caFree at form close
4. Project throws access violation
What is the expected output? What do you see instead?
Do not throw error message
What version of the product are you using? On what operating system?
dcef-r181.7z
cef_binary_r181_VS2005-VS2008.zip
Please provide any additional information below.
Could you please create MDI sample into the demo folder?
Original issue reported on code.google.com by [email protected]
on 14 Feb 2011 at 3:36
What steps will reproduce the problem?
1. Checkout source (revision r133)
2. Cretae empty application in RAD Studio, place TChromium onto form;
3. Run application.
What is the expected output? What do you see instead?
Normal application start is expected. Instead, appplication crashes in
ceflib.CefLoadLib on line #7367 cef_initialize.
What version of the product are you using? On what operating system?
Embarcadero RAD Sturio XE, Windows XP Professional SP3
Please provide any additional information below.
procedure CefLoadLib(const Cache, UserAgent, ProductVersion, Locale, LogFile,
ExtraPluginPaths: ustring;
LogSeverity: TCefLogSeverity; GraphicsImplementation: TCefGraphicsImplementation; LocalStorageQuota: Cardinal;
SessionStorageQuota: Cardinal; {$ifdef MSWINDOWS}AutoDetectProxySettings: Boolean;{$endif} JavaScriptFlags: ustring);
* * *
settings.javascript_flags := CefString(JavaScriptFlags);
settings.auto_detect_proxy_settings_enabled := AutoDetectProxySettings;
cef_initialize(@settings); // <----- Add breakpoint here
if settings.extra_plugin_paths <> nil then
cef_string_list_free(settings.extra_plugin_paths);
end;
end;
Original issue reported on code.google.com by [email protected]
on 5 Dec 2011 at 4:05
What steps will reproduce the problem?
1. Create DLL and add a form with Chromium on it
2. Create EXE which will show this form
3. Start application, show DLL form and close it
4. Close application. It will hang and stop responding.
What is the expected output? What do you see instead?
I expect application to terminate normally.
What version of the product are you using? On what operating system?
Windows 7 32-bit, Delphi 2010, cef_binary_r85_VS2005, delphichromiumembedded
rev. 8
Please provide any additional information below.
Application hangs on cef_shutdown() call in ceflib.pas finalization section.
Original issue reported on code.google.com by [email protected]
on 1 Sep 2010 at 9:24
Attachments:
What steps will reproduce the problem?
1.in FPC2.4.0 + Lazarus 0.9.29
(Donwload http://www.hu.freepascal.org/lazarus/)
2.Convert \demos\cefclient\cefclient.dpr to cefclient.lpr
3.Build and Run
What is the expected output? What do you see instead?
Application crash
What version of the product are you using? On what operating system?
XP SP3 + FPC2.4.0 + Lazarus 0.9.29
dcef-r181
Please provide any additional information below.
...
---------------------------------------------------------------
cef_capi.h
CEF_EXPORT int cef_browser_create(cef_window_info_t* windowInfo, int popup,
struct _cef_handler_t* handler, const cef_string_t* url);
CEF_EXPORT int cef_register_scheme(const cef_string_t* scheme_name,
const cef_string_t* host_name,
struct _cef_scheme_handler_factory_t* factory);
ceflib.pas
// this work in delphi ok
// in FPC Error
cef_browser_create: function(windowInfo: PCefWindowInfo; popup: Integer;
handler: PCefHandler; const url: TCefString): Integer; cdecl;
cef_register_scheme: function(const scheme_name, host_name: TCefString;
factory: PCefSchemeHandlerFactory): Integer; cdecl;
// this delphi and FPC all OK
cef_browser_create: function(windowInfo: PCefWindowInfo; popup: Integer;
handler: PCefHandler; const url: PCefString): Integer; cdecl;
cef_register_scheme: function(const scheme_name, host_name: PCefString;
factory: PCefSchemeHandlerFactory): Integer; cdecl;
const cef_string_t* url --->>> const url: PCefString
---------------------------------------------------------------
There are many similar mistakes
my First Fixed(in delphi2010,fpc2.4.0+Lazarus0.9.29 TestOK):
ceflib.pas
function CefBrowserCreate(windowInfo: PCefWindowInfo; popup: Boolean;
handler: PCefHandler; const url: ustring): Boolean;
var CefS: TCefString;
begin
CefLoadLibDefault;
CefS := CefString(url);
Result := cef_browser_create(
windowInfo,
Ord(popup),
handler,
@CefS) <> 0;
end;
function CefRegisterScheme(const SchemeName, HostName: ustring;
const handler: TCefSchemeHandlerClass): Boolean;
var CefS_SchemeName, CefS_HostName: TCefString;
begin
CefLoadLibDefault;
CefS_SchemeName := CefString(SchemeName);
Result := cef_register_scheme(
@CefS_SchemeName,
@CefS_HostName,
(TCefSchemeHandlerFactoryOwn.Create(handler) as ICefBase).Wrap) <> 0;
end;
Original issue reported on code.google.com by [email protected]
on 11 Feb 2011 at 8:21
Attachments:
What steps will reproduce the problem?
1. New Application
2. Drop TChromium
3. FormCreate Event:
Chromium1.Browser.MainFrame.LoadUrl('file:///./test.html');
5. Make sure you have a "test.html" file in the project directory
6. Run app
What is the expected output? What do you see instead?
I expect the program to run and TChromium to display the HTML file, instead I
get an Access Violation exception.
What version of the product are you using? On what operating system?
delphichromiumembedded SVN trunk rev 27
cef_binary_r181_VS2005-VS2008
Delphi 7
Windows XP SP3
Please provide any additional information below.
It seems to be a race condition. If I do this it works:
7. Drop TButton on form
8. Move code from FormCreate to a Button1Click Event:
Chromium1.Browser.MainFrame.LoadUrl('file:///./test.html');
9. After launching, click the button.
Or if I LoadURL in the FormShow event with a delay it works:
procedure TForm1.FormShow(Sender: TObject);
begin
Sleep(100);
Application.ProcessMessages;
Chromium1.Browser.MainFrame.LoadUrl('file:///./test.html');
end;
If I remove the delay, I get intermittent AV exceptions.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2011 at 11:28
It s failed with last version of chromiumembedded
Original issue reported on code.google.com by [email protected]
on 8 Sep 2010 at 8:03
What steps will reproduce the problem?
1. Set guiclient main form to wsMaximized
2. Run it
What is the expected output? What do you see instead?
The browser window (set to align alClient) should resize to full screen
But that does not happen. It remains the size it was at design time.
What version of the product are you using? On what operating system?
r68
Original issue reported on code.google.com by [email protected]
on 21 Mar 2011 at 5:29
What steps will reproduce the problem?
1. Open the firemonkey demo
2. Select a target Plataform OSX32 to build the demo to mac
3. Build fails
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Delphi XE3 Update 4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2012 at 6:36
Attachments:
Using anonymous methods makes code less than usable under Delphi 7.
Is there no way to avoid anonymous methods?
Original issue reported on code.google.com by [email protected]
on 24 Feb 2011 at 8:29
What steps will reproduce the problem?
1.I opened the component project on C++ compiler that will create for me the
component to use on C++ , and it seems that i when i am adding the hpp file to
the c++ project it has errors and it remove some of the functions.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
the dcef-V0.2
Please provide any additional information below.
I don't know if it need to support the C++ or if you willing to make it support
. because the Borland use only Delphi Components .
thanks
Original issue reported on code.google.com by [email protected]
on 20 Oct 2010 at 9:10
What steps will reproduce the problem?
Could you please put DLL support modifications into every release?
It seems V-0.3 does not have it. I think, it should part of the base source it
should not be always a patch.
Original issue reported on code.google.com by [email protected]
on 7 Jan 2011 at 11:35
Problem:
When dynamickly linking events procedures with TChromium delphi compiler
produce error: not compatibility of types TChromium and TCustomChromum
What is the expected output? What do you see instead?
In Borland VCL, type of sender is "Sender: TObject" (base object class in VCL)
- changing events procedures in class TCustomChromium.
What version of the product are you using? On what operating system?
Each wersion of dcef...
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Jan 2011 at 7:11
TCustomChromiumFMX.Loaded in ceffmx.pas does not get called when TChromiumFMX
is created at run-time. It does get called if component is put on the form at
design-time.
This is essential as FBrowser is not being set and therefore nothing is showing.
Windows 7, Delphi XE2, FireMonkey 3D Application
(As far as I know I have set it up right.)
Original issue reported on code.google.com by [email protected]
on 24 Jan 2012 at 4:19
What steps will reproduce the problem?
1.Start an MDI application
2.Open a form which loads an url content(which loads slowly) immediately into
the browser
3.Press mdi form close button multiple times while content is loading
4.Application terminates instead of MDI form close
What is the expected output? What do you see instead?
Close MDI form. Leave application run. Currently. I see an error report send to
MS window.
What version of the product are you using? On what operating system?
V-0.1, V-0.2
EmbeddedChromium r100
libcef_proxy.dll
Win XP Pro SP2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Oct 2010 at 5:22
I put a TChromium component on Form1, and then run it.
I received a error messages like this:
Exception class EAssertionFailed with message 'Assertion failure
(D:\dcef-v0.1\ceflib.pas, line 2798)'
Original issue reported on code.google.com by [email protected]
on 8 Sep 2010 at 1:30
Alwyse when I clique in a list ( html ) ) , the size of the parametre buffer send by CEF.DLL to void CEF_CALLBACK render_handler_on_paint(struct _cef_render_handler_t* self,
cef_browser_t* browser, enum cef_paint_element_type_t type,
size_t dirtyRectsCount, cef_rect_t const* dirtyRects,
const void* buffer) {
So I have after an violation Access
Any Idea to fixe this , any body have the same problem
I used CEF 1.1025
Original issue reported on code.google.com by [email protected]
on 18 Aug 2012 at 4:32
I'm getting an access violation with the last release r136 (CEF 1.963.439) when
calling TCefPostDataRef.GetElements in a custom scheme.
What steps will reproduce the problem?
ProcessRequest(const Request: ICefRequest;
const callback: ICefSchemeHandlerCallback)
var
DSize: Cardinal;
IL: IInterfaceList;
begin
DSIze := request.PostData.GetCount;
if DSize > 0 then
begin
IL := request.PostData.GetElements(DSize);
...
What is the expected output? What do you see instead?
Access violation instead of the POSTDATA items.
What version of the product are you using? On what operating system?
Delphi XE2 - Windows 7 x64
Please provide any additional information below.
The error happens here:
PCefPostData(FData)^.get_elements(PCefPostData(FData), @Count, items);
in
function TCefPostDataRef.GetElements(Count: Cardinal): IInterfaceList;
var
items: PCefPostDataElementArray;
i: Integer;
begin
Result := TInterfaceList.Create;
GetMem(items, SizeOf(PCefPostDataElement) * Count);
try
PCefPostData(FData)^.get_elements(PCefPostData(FData), @Count, items);
for i := 0 to Count - 1 do
Result.Add(TCefPostDataElementRef.UnWrap(items[i]));
finally
FreeMem(items);
end;
end;
Original issue reported on code.google.com by [email protected]
on 1 Feb 2012 at 6:29
What steps will reproduce the problem?
procedure TChromium1.WebBeforeResourceLoad(Sender: TCustomChromium;
const browser: ICefBrowser; const request: ICefRequest;
var redirectUrl: ustring; var resourceStream: ICefStreamReader;
var mimeType: ustring; loadFlags: Integer; out Result: TCefRetval);
var
Headers: TCefStringMap; // or Pointer
begin
request.GetHeaderMap(Headers);
end;
What is the expected output? What do you see instead?
Expecting the header map, getting Access violation every time.
What version of the product are you using? On what operating system?
0.1 + latest CEF binaries, Windows Vista x64
Please provide any additional information below.
GetHeaderMap is not working at all, throws access violation.
Original issue reported on code.google.com by [email protected]
on 29 Aug 2010 at 3:47
What steps will reproduce the problem?
1. Run cefclient.exe or guiclient.exe demo program
2. go to www.gmail.com
3. Log with a valid gmail accout
What is the expected output? What do you see instead?
gmail starts loading, it was expected gmail inbox to be displayed, but
application terminates with an error
What version of the product are you using? On what operating system?
dCEF-r158
cef_binary_r158_VS2005-VS2008
catch the error with Windows XP Pro SP 3 and Windows 7 Pro
Please provide any additional information below.
It happens either with personal or corporate google accounts
It also happens with the executables on cef_binary packages
Original issue reported on code.google.com by [email protected]
on 27 Jan 2011 at 2:31
What steps will reproduce the problem?
1. checkout current version (rev 36)
2. install component package and build demo app (guiclient)
3. copy guiclient.exe to bin directory, try entering any address
What is the expected output? What do you see instead?
It throws Access Violation while trying to access crm.Browser.MainFrame
properties and methods, because crm.Browser.MainFrame equals to nil
What version of the product are you using? On what operating system?
Windows XP Pro SP3,
Delphi 7
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 6:03
What steps will reproduce the problem?
1. New Application
2. Drop TChromium, TButton on form
3. Button1Click Event:
Chromium1.Browser.MainFrame.LoadUrl('file:///./test.html');
4. FormCreate Event:
Chromium1.DefaultUrl := 'file:///./test.html';
5. Make sure you have a "test.html" file in the project directory
6. Run app and click button
What is the expected output? What do you see instead?
I expect Chromium1.Browser.MainFrame.LoadUrl to load an HTML file, but it
raises an exception.
What version of the product are you using? On what operating system?
Delphi 7 / WinXP pro SP3
Please provide any additional information below.
TChromium loads and display HTML file properly when the DefaultUrl is set in
FormCreate event, but it does not load when using the LoadURL method.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2011 at 8:19
What steps will reproduce the problem?
1. Compile r212 GUI client (delphi 7)
2. Run it and visit
http://demo.tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/demo.
html
3. Notice performance lags when opening tabs
4. Visit same page with other browser (Chrome, FF, Opera)
5. Notice no lags.
What is the expected output? What do you see instead?
I've updated DCEF from old build (modification date 31-08-2010) and noticed JS
lags in CEF GUI client comparing to previous build and other browsers.
What version of the product are you using? On what operating system?
r212, Windows 7 x64
Original issue reported on code.google.com by [email protected]
on 8 Apr 2011 at 9:37
What steps will reproduce the problem?
1. typing in url in guiclient and pressing enter (ie bbc.co.uk)
2. file->print
What is the expected output? What do you see instead?
1. expected to go to bbc.co.uk
2. expected to see print preview or for printer to kick in
What version of the product are you using? On what operating system?
Windows 7
Delphi 7
dcef 181
Please provide any additional information below.
stepping through the code, both
"crm.Browser.MainFrame.LoadUrl(edAddress.Text);" and
"crm.Browser.MainFrame.Print;" lead directly to "TCefBrowserRef.CanGoForward" !!
back & forward buttons work ok though
Original issue reported on code.google.com by [email protected]
on 27 Feb 2011 at 2:25
What steps will reproduce the problem?
1. load a basic HTML page with a basic list
<html> <select class="" id="country" name="country" aria-required="true">
<option value="" >En sélectionner un</option>
<option value="af" >Afghanistan</option>
<option value="ax" >Iles d'Aland</option>
<option value="al" >Albanie</option>
<option value="as" >Samoa américaine</option>
<option value="ad" >Andorre</option>
</select> </html>
2. click in the list
3. AccesViolation
What is the expected output? What do you see instead?
expected output : Display the list
see instead : AccesViolation
What version of the product are you using? On what operating system?
Delphi XE2 version 16.0.1 , Win XP SP3 updated ( same issue in Vista) , libcef.dll 1.1025 same issue in 1.0.306.0 , TchromiumFMX , FireMonkey
Additional information below :
TCustomChromiumFMX.doOnPaint give a wrong value of dirtyRects[0].x/y
when we click on any list the value of dirtyRects[0].x and dirtyRects[0].y should have the coordinate of the list , but we have alwyse x= 0, y= 0 so no way to paint correctly this object .
because the coordinate are incorrect the rectrangle is paint in x,y = 0,0 but before we have a FEViolationAccess in Move(src^, dst^, offset );
notice I have this bug just when I click in any list
thank you to see the copy screen
Original issue reported on code.google.com by berrayahkamel
on 18 Aug 2012 at 10:05
Attachments:
- What steps will reproduce the problem?
1. Create a new VCL Forms Project;
2. Drop a TChromium (or TChromiumOSR, makes no difference) on the form;
3. Run the app (all required libraries are in the app's root, and they are
being read).
- What is the expected output? What do you see instead?
The Default URL is set to http://foundry-local/assist/node/ (I am developing a
customised help system on my local server). Of course, I should see the page at
that URL, but this exception gets thrown:
Exception EExternalException in module libcef.dll at 000269C0.
External exception 80000003.
- What version of the product are you using? On what operating system?
I am using a fresh install of r306 on a fresh install of Delphi XE on Windows 7
32-bit.
- Please provide any additional information below.
The demo's don't work either, and the "guiclient" demo throws this exception:
Runtime Error 216 (...).
I am posting this issue report with my mobile, so I cannot determine whether or
not r306 has been updated (I see you state support for XE, but there is no XE
package).
Original issue reported on code.google.com by [email protected]
on 26 Aug 2012 at 6:50
[deleted issue]
What steps will reproduce the problem?
1. Install Delphi 6 =)
2. In the project options turn off "Assertions"
3. Compile and run gui application.
In that case component Chromium does not initialize.
See line 871 in cef.pas:
> Assert(CefBrowserCreate(@info, False, @FHandler, FDefaultUrl));
As long as initialization is in "Assert" procedure, compiler just ignores the
main initialization.
To solve this problem it would be better to write some like this:
> SubRes := CefBrowserCreate(@info, False, @FHandler, FDefaultUrl);
> Assert(SubRes);
My e-mail is [email protected], I am inerested in this project because of my
primary activity.
Original issue reported on code.google.com by [email protected]
on 24 Nov 2010 at 3:31
*What steps will reproduce the problem?
//Use Delphi 2010 or higher,define a class exposed to JS :
TMyClass = class
class procedure MyFunc(const v: string);
end;
initialization
// Register your object
var
gMyObj: TMyClass;
gMyObj := TMyClass.Create;
TCefRTTIExtension.Register('myObj', gMyObj, True);
//execute the following javascript code:
var s = '';
for (var key in s) {
var obj = s[key];
for (var prop in obj) {
console.log(prop + " = " + obj[prop]);
}
}
*What is the expected output?
console.log should output nothing since the JavaScript viable s is a string.
*What do you see instead?
a list of native Delphi object methods such as MyFunc, Create, Free,
InitInstnace, and so on.
What version of the product are you using? On what operating system?
the latest svn, on win 7.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2012 at 10:13
What steps will reproduce the problem?
1.Download from SVN source and binaries, install TChromium/OSR into Delphi 7.
2.Locate guiclient demo folder and copy all binary dlls into same.
3.Load project guiclient.dpr and run.
What is the expected output? What do you see instead?
Expected output was the form used within the project.
Instead I receive a CPU window halted at Thread #6240 issuing a "push $01"
within routine CefRegisterSchemeHandlerFactory('dcef', '', True, TFileScheme)
during initialization of the main unit.
What version of the product are you using? On what operating system?
The product version of libcef.dll is 1.1364.1123.
Operating system is Windows 7 SP1.
Please provide any additional information below.
Goal is to replace this for TWebBrowser.
Original issue reported on code.google.com by [email protected]
on 21 Jan 2015 at 8:05
What steps will reproduce the problem?
1. Drop TChromiumSync to new project's form
2. Open form properies, select events and double click on OnCreate
3. Try do add here DefaultUrl or change any global var like CefUserAgent.
It seems CefLoadLibDefault called when browser window is creating, but where
then we should set default parameters and global vars? In previous version we
set all these params inside forms's OnCreate event, but now it will not work
the right way. Only initialization section helps for global vars, but for
DefaultUrl property it is not right way I think.
Original issue reported on code.google.com by [email protected]
on 23 Mar 2011 at 3:57
What steps will reproduce the problem?
1.
create tchromium dynamically on form 1
2. Set parent to form 1
3. Load default url
4. Launch app
What is the expected output? What do you see instead?
"Assertion Failure (src\ceflib.pas, line 3248)"
What version of the product are you using? On what operating system?
cef_binary_r149
windows 7 ultimate
Please provide any additional information below.
i needed to be able to use console messages and tooltips, so i downloaded an
updated version of dcef.
Original issue reported on code.google.com by [email protected]
on 1 Dec 2010 at 7:55
What is the expected output? What do you see instead?
The component stays the same size as at design time, even trough it's Align
property is set to alClient. Thi is happening in D2007 compiled app.
Please provide any additional information below.
function TCustomChromium.doOnAfterCreated(const browser: ICefBrowser):
TCefRetval;
begin
if not browser.IsPopup then
begin
FBrowser := browser;
FBrowserHandle := browser.GetWindowHandle;
end;
//mv Fix the resize problem
SendMessage(Self.Handle, WM_SIZE, 0, 0);
Result := RV_CONTINUE;
if Assigned(FOnAfterCreated) then
FOnAfterCreated(Self, browser, Result);
end;
Original issue reported on code.google.com by [email protected]
on 22 Jan 2011 at 2:07
Missing event handler for TOnConsoleMessage in TCustomChromium and TChromium as
of r11
Original issue reported on code.google.com by [email protected]
on 28 Oct 2010 at 5:51
Thank you for this work.
I'm trying to create own request by generating own url headers and request
method, but don't know where from to start, all my attempts leads to acess
violations. Please show some simple example.
My attempt:
var request: ICefRequest;
begin
request := TCefRequestRef.Create(nil);
request.Url := 'http://google.com';
Chromium1.Browser.MainFrame.LoadRequest(request);
end;
Original issue reported on code.google.com by [email protected]
on 18 Feb 2011 at 9:56
What steps will reproduce the problem?
1.in fpc 2.4.4 + lazarus 0.9.30Rc2
2.Convert guiclient to lazarus project
3.build and run
What is the expected output? What do you see instead?
Application Crash
What version of the product are you using? On what operating system?
windows 7 sp1 + fpc 2.4.4 + lazarus 0.9.30rc2
dcef-r306
Please provide any additional information below.
on debug mode,stop on:
procedure TCustomChromium.CreateBrowser;
....
....
settings.size := SizeOf(TCefBrowserSettings);
GetSettings(settings);
FBrowser := CefBrowserCreateSync(@info, FHandler.Wrap, '', @settings); <-----call fail,return nil
FBrowserHandle := FBrowser.GetWindowHandle;<------ error on this line
attach file wich i have fix to install into lazarus
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 9:47
Attachments:
External function declared in ceflib "TzSpecificLocalTimeToSystemTime" is not
supported by Windows 2000, so therefor "EOSError" will appear after running
application exe.
Workaround is to comment external function declaration and use own function
like this one:
function DateTimeToCefTime(dt: TDateTime): TCefTime;
var st1, st2: TSystemTime;
tz: TTimeZoneInformation;
begin
GetTimeZoneInformation(tz);
tz.Bias := -tz.Bias;
tz.StandardBias := -tz.StandardBias;
tz.DaylightBias := -tz.DaylightBias;
DateTimeToSystemTime(dt, st1);
SystemTimeToTzSpecificLocalTime(@tz, @st1, @st2);
Result := SystemTimeToCefTime(st2);
end;
Original issue reported on code.google.com by [email protected]
on 21 Sep 2011 at 9:08
[deleted issue]
What steps will reproduce the problem?
1. Create new Project
2. Add TChromium control "chromium1"; set DefaultUrl = 'http://www.google.com'
3. Add TButton Control, onClick =
chromium1.Browser.MainFrame.LoadUrl('http://www.bing.com');
What is the expected output? What do you see instead?
By clicking the button the control should open the requests website. Instead of
this there is a race condition. Also the app crashes on closing very often.
What version of the product are you using? On what operating system?
Chromium:
http://chromiumembedded.googlecode.com/files/cef_binary_r181_VS2005-VS2008.zip
http://code.google.com/p/delphichromiumembedded/downloads/detail?name=dcef-r181.
7z&can=2&q=
Also I tried actual changes until r36.
Windows XP Pro / SP3
Delphi 7 Professional included Update 7.1 & ActionBand Update
Please provide any additional information below.
Also the demo apps crashes... On last thursday it worked on a Win7-Pro system;
so maybe a XP-Problem? The application I compiled at Win7 also works on XP; but
the same source crashes when compiled @ XP.
Original issue reported on code.google.com by [email protected]
on 21 Feb 2011 at 8:35
I am using r181 with D2007.
Chromium.Browser.MainFrame.Url is always empty. Of course a page is loaded,
correctly shown and even the OnAddressChange is fired with correct url.
Am I doing anything wrong or is it an issue?
Thanks
Chris
Original issue reported on code.google.com by [email protected]
on 28 Feb 2011 at 12:39
CefLoadLib assumes that when LoadLibrary returns value <> INVALID_HANDLE_VALUE,
then it's succeed. But if LoadLibrary fails, then it returns 0/NULL. See:
http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx
My suggestion is change code to this one:
http://code.google.com/p/delphichromiumembedded/source/browse/trunk/ceflib.pas#2
845
var
LibHandle: THandle = 0;
procedure CefLoadLib(const cache: ustring);
begin
if LibHandle = 0 then
begin
LibHandle := LoadLibrary(LIBCEF);
if LibHandle = 0 then
RaiseLastOSError;
cef_string_length := GetProcAddress(LibHandle, 'cef_string_length');
...
Original issue reported on code.google.com by [email protected]
on 8 Aug 2010 at 5:38
Hi Heri,
Drag the scrollbar of a TChromium object when viewing a html page will make the
computer beeps.
BTW, why the "Issues" navigation tab is not show on this googlecode project
site?
Original issue reported on code.google.com by [email protected]
on 24 Feb 2012 at 9:38
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.