Commit Graph

19 Commits

Author SHA1 Message Date
amaitland 17b7f0ced1 BindingTest - Braces on new lines
Fix CefAppUnmanagedWrapper code formatting
Slightly more descriptive error message when frame not found
2015-10-19 13:24:24 +10:00
Greg Martin a64f25193f This should fix #1336 (IJavascriptCallback.ExecuteAsync never returns when callback no longer exists) and likely fixes as-of-yet undiscovered related callback problems.
The code previously in CefAppUnmanagedWrapper.cpp's OnProcessMessageReceived method did not check for a nullptr callbackWrapper resulting in an exception.
Also note that previously the success and reponse variables were not initialized by default which I believe to have been a mistake after following all of the if..else code paths (most importantly some error conditions would never be returned back).
I added a new test to BindingTest.html entitled "Test Disposed Callback" which makes the same 1.5 second delayed callback that "Test Callback" does, but then immediately navigate the page to www.google.com.  Without the fix in CefAppUnmanagedWrapper.cpp the browser's renderer process will die in about 10 seconds.
2015-10-19 13:24:24 +10:00
amaitland 20ae2b51e4 Add a little more detail to BindingTest.html async output 2015-08-03 10:57:36 +10:00
amaitland 52f5ac5302 Formatting, make class private 2015-08-03 10:37:09 +10:00
cefsharp-ms f74b245e9b added examples for async bindings 2015-07-31 17:17:48 +02:00
amaitland 5f3d4abf69 Fix json test error (<= should have just been <)
Change a few `==` checks to `===` to make visual studio happy (just comparing strings, so no fancy type conversion necessary)
2015-05-19 19:48:18 +10:00
amaitland 0f48c637db Execute jsb callback in a Task 2015-03-12 11:48:42 +10:00
amaitland c9d65caa49 Reformat BindingTest.html 2015-03-11 11:47:06 +10:00
David Serfozo 609b13a758 few tests for js callback 2015-03-08 16:23:49 +01:00
amaitland e68b11a5db Add simple test case of bound.getSubObject().simpleProperty to BindingTest.html 2015-01-09 12:35:03 +10:00
amaitland 40f3328b5b Add simple JSON example to BindingTest.html 2014-12-16 21:44:13 +10:00
Sylvain Hamel 678f45835c CefRenderProcess process creates too many channels (and does not close them) 2014-11-11 09:06:52 -05:00
amaitland fd77db19f2 Example demonstrating that Issue #260 has been resolved 2014-09-17 15:44:45 +10:00
amaitland df5cecb1d0 Expand BindingTest to output sub properties and functions of a complex property (isn't fully recursive) 2014-08-29 19:13:13 +10:00
Per Lundberg 608af903c6 Added test case for the method casing & updated existing tests (since the method names are now camelCased). 2013-06-05 14:15:37 +03:00
Per Lundberg 73b86797c5 Added listing of the properties bound. 2013-06-05 11:28:11 +03:00
anthony taranto 0079dd4501 move test logic into CefSharp.Example, run all example tests in wpf 2012-02-24 17:03:55 -08:00
anthony taranto 04be2df6e6 rename CefSharp.Example to CefSharp.WinFormsExample 2012-02-17 14:12:07 -08:00
chillitom 97b26909c5 added a binding test page to CefSharp.Example 2010-12-14 21:26:23 +08:00