performExternalDragDropOfFiles not working on the WebBrowserComponent

Hello, I’m trying to call performExternalDragDropOfFiles through a mouse event on the WebUI,
I tried calling window__JUCE__.backend.emitEvent(‘dragFile’) through various mouse events in the web JS code, and then calling performExternalDragDropOfFiles with the native listener of WebBrowserComponent,
but it’s not working. What should I do?
Thanks.