52 Commits

Author SHA1 Message Date
illfang f7d139a8d2 test for js exceptions created in callbacks 2015-10-26 11:50:29 +10:00
amaitland a598af2a2e BindingTest - Braces on new lines
Fix CefAppUnmanagedWrapper code formatting
Slightly more descriptive error message when frame not found
2015-10-19 13:23:01 +10:00
Greg Martin 1a01b95619 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:13:12 +10:00
illfang fc9b095544 fix formatting of multi binding test 2015-10-17 12:27:33 +10:00
illfang 88342c1594 added multi binding test for testing bindings with multiple contexts and dynamic context creation / destruction
1 browser, multiple changing contexts
also added a link to the popuptest

Conflicts:
	CefSharp.Example/CefSharpSchemeHandler.cs
	CefSharp.Example/Properties/Resources.Designer.cs
	CefSharp.Example/Properties/Resources.resx
2015-10-17 12:27:33 +10:00
illfang 553ccfc8cc replaced tabs for spaces in test html files
Conflicts:
	CefSharp.Example/Resources/FramedWebGLTest.html
2015-10-17 12:26:27 +10:00
amaitland ea3cbb74f7 Add popup to open BindingTest.html 2015-10-17 12:20:32 +10:00
amaitland 15a509fb2e Register the same scheme twice to confirm parsing of command line arguments
Fix up some urls in the custom scheme popup test
Add PopupTest.html to WPF example menu
2015-09-16 09:12:31 +10:00
amaitland cafa4a937b Formatting - braces on new lines 2015-09-08 16:27:06 +10:00
illfang 4c39a511e9 format exception log for html output 2015-09-08 16:27:05 +10:00
illfang ae32ed4955 added test html logging exception log messages: ExceptionTest.html
custom://cefsharp/ExceptionTest.html
2015-09-08 16:27:05 +10:00
amaitland 5a09a5ef35 Merge branch 'cefextensions' of https://github.com/arsher/CefSharp 2015-08-03 12:12:51 +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
David Serfozo 756bd44bbd added extension example 2015-08-01 20:26:03 +02: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 679e5e70c7 Undate embedded jQuery to v1.11.3 2015-05-08 11:40:17 +10:00
Bill Tutt af412b623a Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/Cef.h
2015-05-02 05:04:21 -04:00
amaitland 232a180cf9 Update CEF Google Code references to new bitbucket site 2015-04-26 08:02:30 +10:00
amaitland 16e785a723 Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse 2015-04-17 13:07:03 +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
rassilon 7c3dcb656e * Code Review changes
* Add float right select drop down for additional move test.
2015-02-11 17:30:33 -05: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 6e767c02fe Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-03 18:22:43 +10:00
amaitland 18153a2017 Update Home.html to reference Cef 33 (was previously 29) 2014-09-29 20:51:10 +10: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
jornh 09c43d4d5a Update Example app Home.html
HTML5 is a moving target, lets update numbers and add a bit of comparison shall we?
2014-03-17 17:34:53 +01:00
Per Lundberg 4c958cdfcb Fixed a much better example for the eval/exec JS stuff. Closes #209. 2013-11-10 23:16:29 +02:00
Per Lundberg 30564e54b1 #209. Let’s add some nice HTML documentation about this also, shall we not? 2013-11-09 00:18:16 +02:00
Per Lundberg b07deda22e Started some of the fun work on the "home" page, based heavily on Twitter Bootstrap's "general usage" page (which is liberally licenses, to our benefit). Still a lot of work to be done, and the unfinished parts are obviously hard to document, but it's a good start. I think we could also publish this up using GitHub Pages eventually. 2013-10-27 10:53:17 +02:00
Per Lundberg c75d93c65c Started working on a nice little "home page", which we will include, using Twitter Bootstrap. The idea is to add links to the various tests we provide + to the CefSharp web page of course, in line with the "build UIs with HTML" paradigm. Relies on a bug fix for #150 which isn't really implemented yet though. :) 2013-09-18 22:46:27 +03:00
Per Lundberg 96d3704917 Updated links to indicate the forked nature of this, err, fork. :) 2013-06-17 07:08:19 +02: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 3d928da3f3 handle popup adapter methods 2012-03-12 16:36:23 -07:00
anthony taranto adcaa7262c Revert "TooltipTest.html: focus first text input on load"
This reverts commit fbd5f37c16.
2012-03-05 17:55:45 -08:00
anthony taranto fbd5f37c16 TooltipTest.html: focus first text input on load 2012-03-05 17:14:41 -08:00
anthony taranto bfa19398ed reenable popup test 2012-02-28 19:29:05 -08:00
anthony taranto 5c61f41b50 rename tooltips to tooltip 2012-02-28 19:19:53 -08:00
anthony taranto ab91d467b0 wpf tooltips 2012-02-28 16:50:33 -08: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
anthony taranto 03da84ab58 add popup test html file to test target=_blank and window.open() popups 2011-07-18 16:35:26 -07:00
anthony taranto 4c71c081c4 add quick winforms tooltip test html file 2011-06-10 13:53:12 -07:00