159160161162163164165166167
this.elementHandlers = elementHandlers; if (documentUrl != null) { this.documentUrl = title = baseURL = documentUrl; } this.globalScope = new JsWindow(this); this.jsTimerThread = new Thread(this.globalScope); this.jsTimerThread.start(); }