@@ -287,13 +287,13 @@ <h3>Print</h3>
287287< h3 > TestAllTypes</ h3 >
288288
289289< script > ShowSource ( "TestAllTypes" ) ; </ script >
290- < a href ="javascript:external.TestAllTypes(undefined, null, true, 1,
291- ((1<<31)>>>0), 2.14, 'Date not yet supported', 'string',
290+ < a href ="javascript:external.TestAllTypes(undefined, null, true, 1,
291+ ((1<<31)>>>0), 2.14, 'Date not yet supported', 'string',
292292 {key1: 1, key2: 2}, {key1: {'key1.1': 'nested object'}, 'key1.2': [1]},
293293 [1, 2], [1, [2.1, 'nested array']], [{key1: [{}]}]) ">
294294 external.TestAllTypes</ a >
295- < small > (undefined, null, true, 1,
296- ((1<<31)> > > 0), 2.14, 'Date not yet supported', 'string',
295+ < small > (undefined, null, true, 1,
296+ ((1<<31)> > > 0), 2.14, 'Date not yet supported', 'string',
297297 {key1: 1, key2: 2}, {key1: {'key1.1': 'nested object'}, 'key1.2': [1]},
298298 [1, 2], [1, [2.1, 'nested array']], [{key1: [{}]}])</ small >
299299< br >
@@ -310,10 +310,10 @@ <h3>ExecuteFunction</h3>
310310</ code > </ pre >
311311
312312< script > ShowSource ( "ExecuteFunction" ) ; </ script >
313- < a href ="javascript:external.ExecuteFunction('JavascriptAlert',
314- 'python called from js and then js called from python') ">
315- external.ExecuteFunction('JavascriptAlert',
316- 'python called from js and then js called from python')</ a >
313+ < a href ="javascript:external.ExecuteFunction('JavascriptAlert',
314+ 'python called from js and then js called from python', 0, [1,2] ) ">
315+ external.ExecuteFunction('JavascriptAlert',
316+ 'python called from js and then js called from python', 0, [1,2] )</ a >
317317< br >
318318
319319< h3 > GetSource, GetText</ h3 >
@@ -429,7 +429,7 @@ <h3>OnStatusMessage</h3>
429429
430430< h3 > OnConsoleMessage</ h3 >
431431< script > ShowSource ( "OnConsoleMessage" ) ; </ script >
432- Try this:
432+ Try this:
433433< a href ="http://patik.com/code/console-log-polyfill/ ">
434434 http://patik.com/code/console-log-polyfill/</ a >
435435
@@ -442,7 +442,7 @@ <h2>Keyboard handler</h2>
442442
443443< p >
444444 Press F5 to reload the page.< br >
445- On Linux it is required to click anywhere in the window first
445+ On Linux it is required to click anywhere in the window first
446446 so that keyboard focus is set. See Issue 77 in the CEF Python
447447 Issue Tracker.
448448</ p >
@@ -465,7 +465,7 @@ <h3>OnResourceRedirect</h3>
465465< script > ShowSource ( "OnResourceRedirect" ) ; </ script >
466466Try this:
467467< a href ="http://tinyurl.com/google404redirect ">
468- http://tinyurl.com/google404redirect</ a >
468+ http://tinyurl.com/google404redirect</ a >
469469
470470< h3 > GetAuthCredentials</ h3 >
471471< script > ShowSource ( "GetAuthCredentials" ) ; </ script >
@@ -478,7 +478,7 @@ <h3>OnQuotaRequest</h3>
478478
479479< script >
480480function DoRequestQuota ( ) {
481- // Request Quota (only for File System API)
481+ // Request Quota (only for File System API)
482482 try {
483483 navigator . webkitPersistentStorage . requestQuota ( PERSISTENT , 1024 * 1024 ,
484484 function ( bytes ) { window . alert ( "Granted bytes: " + bytes ) ; } ,
@@ -493,7 +493,7 @@ <h3>OnQuotaRequest</h3>
493493
494494< pre > < code class ="language-javascript "> <script>
495495function DoRequestQuota() {
496- // Request Quota (only for File System API)
496+ // Request Quota (only for File System API)
497497 try {
498498 navigator.webkitPersistentStorage.requestQuota(PERSISTENT, 1024*1024,
499499 function(bytes){ window.alert("Granted bytes: "+bytes);},
@@ -507,7 +507,7 @@ <h3>OnQuotaRequest</h3>
507507</script>
508508</ code > </ pre >
509509
510- Try this:
510+ Try this:
511511< a href ="https://googledrive.com/host/0B1di2XiBBfacMnhRRkI1YlotUEk/requestquota.html ">
512512 https://googledrive.com/host/0B1di2XiBBfacMnhRRkI1YlotUEk/requestquota.html</ a >
513513
@@ -542,7 +542,7 @@ <h3>_OnCertificateError</h3>
542542
543543< h3 > OnRendererProcessTerminated</ h3 >
544544< script > ShowSource ( "OnRendererProcessTerminated" ) ; </ script >
545- Try to terminate the "subprocess.exe" renderer process through
545+ Try to terminate the "subprocess.exe" renderer process through
546546task manager.
547547
548548< h3 > OnPluginCrashed</ h3 >
@@ -563,7 +563,7 @@ <h3>GetCookieManager</h3>
563563< script > ShowSource ( "GetCookieManager" ) ; </ script >
564564
565565RequestHandler.GetCookieManager() - an example of having an unique
566- cookie manager for each browser.
566+ cookie manager for each browser.
567567< ol >
568568 < li > Visit the url below and set some cookies. Use "Back" from
569569 context menu to get back here (you might have to click "Back"
@@ -608,12 +608,12 @@ <h3>VisitUrlCookies</h3>
608608
609609< h3 > SetCookie</ h3 >
610610< script > ShowSource ( "SetCookie" ) ; </ script >
611- Set a cookie on html-kit.com:
611+ Set a cookie on html-kit.com:
612612< a href ="javascript:external.SetCookie() "> external.SetCookie()</ a >
613613< br >
614614Go see the cookie that was created:
615615 < a href ="http://www.html-kit.com/tools/cookietester/ ">
616- http://www.html-kit.com/tools/cookietester/</ a >
616+ http://www.html-kit.com/tools/cookietester/</ a >
617617
618618< h3 > DeleteCookies</ h3 >
619619< script > ShowSource ( "DeleteCookies" ) ; </ script >
@@ -623,7 +623,7 @@ <h3>DeleteCookies</h3>
623623< br >
624624Go check if cookie was deleted:
625625 < a href ="http://www.html-kit.com/tools/cookietester/ ">
626- http://www.html-kit.com/tools/cookietester/</ a >
626+ http://www.html-kit.com/tools/cookietester/</ a >
627627
628628<!-- ********************************************************************** -->
629629<!-- Load handler -->
@@ -648,7 +648,7 @@ <h3>OnLoadError</h3>
648648After you see the custom error message you have to hit
649649twice the Back from the context menu, to get back to this page.
650650< br >
651- Try this:
651+ Try this:
652652< a href ="http://www.non-existent.nono/ ">
653653 http://www.non-existent.nono/</ a >
654654< br >
@@ -698,7 +698,7 @@ <h3>OnBeforeUnloadJavascriptDialog</h3>
698698< h3 > OnResetJavascriptDialogState</ h3 >
699699< script > ShowSource ( "OnResetJavascriptDialogState" ) ; </ script >
700700
701- < h3 > OnJavascriptDialogClosed</ h3 >
701+ < h3 > OnJavascriptDialogClosed</ h3 >
702702< script > ShowSource ( "OnJavascriptDialogClosed" ) ; </ script >
703703
704704<!-- ********************************************************************** -->
0 commit comments