webkit2gtk-web-extension-4.0: add delegate for EventTarget listener