The CEF3 document describing JavaScript extensions is here :
https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration.md
The following button shows the contents of test.myval which was registered in the GlobalCEFApp.OnWebKitInitialized event.