Hi, I have a GWT generated JS code that is injected to the page after the DOMReady event. I use the xsiframe linker. After some research I discovered that the linker does listen to the DOMReady event but check for load state as fallback. These are the relevant files:
https://gwt.googlesource.com/gwt/+/master/dev/core/src/com/google/gwt/core/ext/linker/impl/waitForBodyLoaded.js https://gwt.googlesource.com/gwt/+/master/dev/core/src/com/google/gwt/core/ext/linker/impl/isBodyLoaded.js So logically, we wait for the DOMready by listeneing in waitForBodyLoaded.js: $doc.addEventListener("DOMContentLoaded", onBodyDone, false); but we wait for the loaded state in isBodyLoaded.js: return (/loaded|complete/.test($doc.readyState)); I can simply override the linker and replace the isBodyLoaded, but i was wondering if there is a reason why there is no "interactive" in the regex like so: return (/loaded|complete|interactive/.test($doc.readyState)); or maybe this use case was just missed?! -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/e1a2b659-32df-4376-9ba2-63d45ede5155%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
