Commit Graph

67 Commits

Author SHA1 Message Date
amaitland a38b0d065b Tidy up the SchemeTest.html example a little more - still ajax posts requests are broken 2016-01-11 15:27:02 +10:00
amaitland 009fa9b7de Fix JavaScript error in SchemeTest.html - wasn't showing the output correctly 2016-01-11 13:22:37 +10:00
amaitland af05e56c12 Reformat inline js (use @ notation so much of the string encapsulation can be removed)
Make ScriptedMethods class static and convert the methods into extension methods (really just for the hell of it)
Make some of the comments a little less verbose in terms of number of lines
Some Resharper inspired simplifications
Other code reformatting to make consistent with other parts of the project (switch case statements should have braces, ContinueWith blocks reformatted to match others)
Untabify ScriptedMethodsTest.html
Remove unused usings from ScriptedMethods
Add a few comments about camelCaseJavascriptNames
2015-12-30 09:57:34 +10:00
Rich McNeary 8e548d9c31 Add javascript syntax highlighting. New page to evaluate / execute js code. 2015-12-28 14:27:02 -05:00
amaitland 3f15b53ab7 Resolves #1407
More the DeserializeV8Object call to within the context->Enter so a V8Object can be created
Change callback to use a struct as it's return type to demo the solution to this bug
Add missing list->SetDictionary call in V8Serialization.cpp
2015-11-18 09:17:16 +10:00
amaitland 0ecd64dfd2 Upgrade to 3.2526.1347
Upgrade 45.0.0 references to 47.0.0
Remove BrowserSettings.Java as it's an NPAPI plugin and support was removed in version 45
2015-10-30 09:10:12 +10:00
illfang 8c76967b62 test for js exceptions created in callbacks 2015-10-23 16:40:07 +09:00
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 f341c5ba1f Improve display of TooltipTest.html - minor html cleanup 2015-10-13 13:11:27 +10:00
Alex Maitland a707902485 Merge pull request #1318 from illfang/feature-multi-binding-test
Feature multi binding test
2015-10-09 19:46:36 +10:00
illfang 1f601c9beb replaced tabs for spaces in test html files 2015-10-09 17:56:17 +09:00
illfang 06597c3368 fix formatting of multi binding test 2015-10-09 17:55:14 +09:00
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
Alex Maitland d95083ae4e Merge pull request #1284 from amaitland/bug/popupjsb
Add support for JSB in Popups
2015-09-29 08:16:13 +10: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
amaitland 83f5ae94fa Add popup to open BindingTest.html 2015-09-24 18:48:53 +10:00
amaitland 78dbdcd8ee Update CI build to 45
Update another 43 reference to 43 in Home.html
2015-09-23 09:11:36 +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 3fac742403 Demo Post data for #1267 2015-09-16 16:01:48 +10:00
amaitland 561b50b2cd 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:05:52 +10:00
amaitland 9ece6dcbbd Update Home.html - make code relevant for newer branches
Start adding new sections making it more info a full tutorial on CefSharp
Still a work in progress
2015-09-10 21:59:49 +10:00
amaitland b9bad5ebf3 Formatting - braces on new lines 2015-09-08 13:58:15 +10:00
illfang a62ff446bb format exception log for html output 2015-09-08 11:33:23 +09: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 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