I am using the JS Bridge to send information from JavaScript to Delphi.
It works fine under iOS, but on Windows, I get a JS error.
In the IDE, the WebBrowser reports "Edge Chromium 102.0.1245.44". Loading and showing HTML, even complex stuff, works fine.
iOS:
window.webkit.messageHandlers.ModelBridge.postMessage(s);
-> message comes in at my Delphi bridge object.
Windows:
let obj = window.chrome.webview.hostObjects.sync.ModelBridge;
-> Uncaught Error: Element not found. (0x80070490)
at RemoteMessenger.postSyncRequestMessage (:1:15258)
at Function.getHostProperty (:1:31668)
at Function._getAmbiguous (:1:18992)
at Object.get (:1:21537)
at app.ExternalInterface.callBridge (Mouth.js:213:66)