Class ScriptInjectionEventListener

  • All Implemented Interfaces:
    EventListener

    public class ScriptInjectionEventListener
    extends Object
    implements EventListener
    A DOM listener that listens for injections of <script> tags and calls a JavaScript function when it detects such injections. This mechanism is used to simulate the browser behavior in case of callback-polling transport. This class is used from the browser.js script.
    • Constructor Detail

      • ScriptInjectionEventListener

        public ScriptInjectionEventListener​(JavaScript javaScript,
                                            Object jsThis,
                                            Object function,
                                            Map<?,​?> domNodes)