JavaScript Binding Test - Part 2

While this page was loaded, the JavaScript function

window.cefRequest(request: 'hasExtension')
was executed for enabling/disabling the buttons below.
 
If you press "Enable myQuery", the JavaScript function
window.cefRequest(request: 'enableExt')
is executed. This causes Java to create a second instance of
CefMessageRouter
In this case the name of the JavaScript query function is set to "myQuery" and
a handler for the request 'jcefJava' is registered. Pressing the "Test"
button will execute the JavaScript code
window.myRequest(request: 'jcefJava')
which returns your current Java version on success or an error message in case
of an error.

Please note: If you leave this page (myQuery enabled) and you return
after a while - without closing the browser - the JavaScript binding is
still enabled.

Second message router: