Commit Graph

28 Commits

Author SHA1 Message Date
illfang 441a2872c5 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
2015-10-09 15:23:50 +09:00
amaitland 2153c51d15 Add PostData null checks to examples
Add basic ajax post example for custom scheme handler test page/handler
2015-09-25 11:47:10 +10:00
illfang a9f5ab4c97 merge with master 2015-09-16 18:05:13 +09:00
illfang 94e352908a added test for WebGL content which is loaded in a cefsharp/CefSharp/issues/1226 2015-09-16 17:59:20 +09:00
amaitland 99762a8e05 Add pointer check to CefPostDataWrapper - return an empty collection if no CefPostData was passed in
Handle the empty post data better in the example SchemeHandler
2015-09-16 16:07:40 +10:00
amaitland 3fac742403 Demo Post data for #1267 2015-09-16 16:01:48 +10:00
amaitland 5aa45a8107 Add using(callback) so dispose is called in the event of an exception 2015-09-09 11:45:57 +10:00
amaitland 52791957d5 Update callback usage examples
Add some comments in example RequestHandler about disposing of callbacks
2015-09-09 09:18:27 +10:00
illfang 81c545cf39 added test html logging exception log messages: ExceptionTest.html
custom://cefsharp/ExceptionTest.html
2015-09-08 11:20:31 +09:00
amaitland 7498c65741 Add copyright to CefSharp.Example 2015-08-03 10:41:29 +10:00
amaitland abb06171b6 Add basic example of reading the Debug.log file from disk and add option to use ResourceHandler in a SchemeHandlerFactory
(Means that ISchemeHandler had to be removed - which is an unfortunate breaking change, better to be done now though)
2015-07-29 20:55:28 +10:00
amaitland 996cb9a44c Revert to using embedded home page - added .html extension so the mimeType mapping picks up the correct type.
Fix the StatusCode to 200 to represent success (minor type fix as was 300 before)
2015-06-24 17:19:57 +10:00
amaitland 864f9ea7a2 Rename GetResponseHeaders to GetResponse 2015-06-15 23:07:02 +10:00
amaitland 018598171a Add first draft of CefResponseWrapper 2015-06-15 21:20:02 +10:00
amaitland afbed86524 First draft of what is hopefully the final rewrite of ResourceHandler/SchemeHandler
This will built but won't run as CefResponseWrapper has not yet been implemented.
2015-06-15 21:03:25 +10:00
amaitland c193020c72 Change public API to use Continue and Cancel methods - callback is then somewhat more consistent with other callback wrappers 2015-06-05 12:17:12 +10:00
amaitland c8d73574da Add cancel param to ProcessRequestCallback - previously only able to call the Continue() method on the callback 2015-06-05 12:12:33 +10:00
amaitland 48268721c0 Use Task to execute scheme handler in async fashion 2015-04-28 08:30:11 +10:00
amaitland 2468e41ea1 Extract ISchemeHandler into IResourceHandler - haven't marked as [Obsolete] as it may make more sense naming wise to keep this interface
Maybe need to add a code comment explaining the reason for keeping both interfaces?
2015-04-17 13:07:07 +10:00
amaitland 1863c571ae Extract ISchemeHandlerResponse into IResourceHandlerResponse and mark as obsolete 2015-04-17 13:07:07 +10:00
amaitland 16e785a723 Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse 2015-04-17 13:07:03 +10:00
amaitland a0460e83d8 When running stress test of the latest branch (using http://ie.microsoft.com/testdrive/performance/fishbowl/) a ContextSwitchDeadlock exception occurred.
Problem is reproducible, happens after a minute or two. Changing the recently updated schema handler code seems to resolve the problem.
(ContextSwitchDeadlock debugging info http://stackoverflow.com/a/2797936)
2015-01-16 19:40:11 +10:00
amaitland 928da8df5e Update ProcessRequestAsync example to execute in an async fashion 2015-01-16 17:40:09 +10:00
JanEggers 52bfa60c23 remaining stuff that i desired to put in on changeset 2014-03-09 14:11:37 +01: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 5663ea8fd2 Forward-ported the changes to make scheme handling async instead of synchronous, from the CefSharp1 branch. 2013-09-25 07:47:53 +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 7d2854d9c3 Renamed the scheme handler classes to be a slightly better example of class naming... 2013-09-18 22:05:30 +03:00