Search in sources :

Example 6 with Event

use of com.gargoylesoftware.htmlunit.javascript.host.event.Event in project htmlunit by HtmlUnit.

the class NamedAttrNodeMapImpl method dblClick.

/**
 * Simulates double-clicking on this element, returning the page in the window that has the focus
 * after the element has been clicked. Note that the returned page may or may not be the same
 * as the original page, depending on the type of element being clicked, the presence of JavaScript
 * action listeners, etc. Note also that {@link #click(boolean, boolean, boolean)} is automatically
 * called first.
 *
 * @param shiftKey {@code true} if SHIFT is pressed during the double-click
 * @param ctrlKey {@code true} if CTRL is pressed during the double-click
 * @param altKey {@code true} if ALT is pressed during the double-click
 * @param <P> the page type
 * @return the page that occupies this element's window after the element has been double-clicked
 * @exception IOException if an IO error occurs
 */
@SuppressWarnings("unchecked")
public <P extends Page> P dblClick(final boolean shiftKey, final boolean ctrlKey, final boolean altKey) throws IOException {
    if (isDisabledElementAndDisabled()) {
        return (P) getPage();
    }
    // call click event first
    P clickPage = click(shiftKey, ctrlKey, altKey);
    if (clickPage != getPage()) {
        if (LOG.isDebugEnabled()) {
            LOG.debug("dblClick() is ignored, as click() loaded a different page.");
        }
        return clickPage;
    }
    // call click event a second time
    clickPage = click(shiftKey, ctrlKey, altKey);
    if (clickPage != getPage()) {
        if (LOG.isDebugEnabled()) {
            LOG.debug("dblClick() is ignored, as click() loaded a different page.");
        }
        return clickPage;
    }
    final Event event;
    final WebClient webClient = getPage().getWebClient();
    if (webClient.getBrowserVersion().hasFeature(EVENT_ONDOUBLECLICK_USES_POINTEREVENT)) {
        event = new PointerEvent(this, MouseEvent.TYPE_DBL_CLICK, shiftKey, ctrlKey, altKey, MouseEvent.BUTTON_LEFT, 0);
    } else {
        event = new MouseEvent(this, MouseEvent.TYPE_DBL_CLICK, shiftKey, ctrlKey, altKey, MouseEvent.BUTTON_LEFT);
    }
    final ScriptResult scriptResult = fireEvent(event);
    if (scriptResult == null) {
        return clickPage;
    }
    return (P) webClient.getCurrentWindow().getEnclosedPage();
}
Also used : PointerEvent(com.gargoylesoftware.htmlunit.javascript.host.event.PointerEvent) ScriptResult(com.gargoylesoftware.htmlunit.ScriptResult) MouseEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent) MouseEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent) Event(com.gargoylesoftware.htmlunit.javascript.host.event.Event) PointerEvent(com.gargoylesoftware.htmlunit.javascript.host.event.PointerEvent) WebClient(com.gargoylesoftware.htmlunit.WebClient)

Example 7 with Event

use of com.gargoylesoftware.htmlunit.javascript.host.event.Event in project htmlunit by HtmlUnit.

the class HTMLCollectionFrames method postMessage.

/**
 * Posts a message.
 * @param message the object passed to the window
 * @param targetOrigin the origin this window must be for the event to be dispatched
 * @param transfer an optional sequence of Transferable objects
 * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage">MDN documentation</a>
 */
@JsxFunction
public void postMessage(final String message, final String targetOrigin, final Object transfer) {
    final WebWindow webWindow = getWebWindow();
    final Page page = webWindow.getEnclosedPage();
    final URL currentURL = page.getUrl();
    if (!"*".equals(targetOrigin) && !"/".equals(targetOrigin)) {
        final URL targetURL;
        try {
            targetURL = new URL(targetOrigin);
        } catch (final Exception e) {
            throw Context.throwAsScriptRuntimeEx(new Exception("SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '" + targetOrigin + "' was specified (reason: " + e.getMessage() + "."));
        }
        if (getPort(targetURL) != getPort(currentURL)) {
            return;
        }
        if (!targetURL.getHost().equals(currentURL.getHost())) {
            return;
        }
        if (!targetURL.getProtocol().equals(currentURL.getProtocol())) {
            return;
        }
    }
    final MessageEvent event = new MessageEvent();
    final String origin = currentURL.getProtocol() + "://" + currentURL.getHost() + ':' + currentURL.getPort();
    event.initMessageEvent(Event.TYPE_MESSAGE, false, false, message, origin, "", this, transfer);
    event.setParentScope(this);
    event.setPrototype(getPrototype(event.getClass()));
    final JavaScriptEngine jsEngine = (JavaScriptEngine) webWindow.getWebClient().getJavaScriptEngine();
    final PostponedAction action = new PostponedAction(page, "Window.postMessage") {

        @Override
        public void execute() throws Exception {
            final ContextAction<Object> contextAction = cx -> dispatchEvent(event);
            final ContextFactory cf = jsEngine.getContextFactory();
            cf.call(contextAction);
        }
    };
    jsEngine.addPostponedAction(action);
}
Also used : DomElement(com.gargoylesoftware.htmlunit.html.DomElement) WebWindow(com.gargoylesoftware.htmlunit.WebWindow) DialogWindow(com.gargoylesoftware.htmlunit.DialogWindow) HtmlMap(com.gargoylesoftware.htmlunit.html.HtmlMap) JS_WINDOW_SELECTION_NULL_IF_INVISIBLE(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WINDOW_SELECTION_NULL_IF_INVISIBLE) FF(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF) MediaQueryList(com.gargoylesoftware.htmlunit.javascript.host.css.MediaQueryList) EDGE(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.EDGE) StringUtils(org.apache.commons.lang3.StringUtils) JsxConstant(com.gargoylesoftware.htmlunit.javascript.configuration.JsxConstant) MouseEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent) BaseFrameElement(com.gargoylesoftware.htmlunit.html.BaseFrameElement) ContextAction(net.sourceforge.htmlunit.corejs.javascript.ContextAction) Map(java.util.Map) JS_WINDOW_CHANGE_OPENER_ONLY_WINDOW_OBJECT(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WINDOW_CHANGE_OPENER_ONLY_WINDOW_OBJECT) Scriptable(net.sourceforge.htmlunit.corejs.javascript.Scriptable) JsxSetter(com.gargoylesoftware.htmlunit.javascript.configuration.JsxSetter) HTMLCollection(com.gargoylesoftware.htmlunit.javascript.host.html.HTMLCollection) EnumMap(java.util.EnumMap) DomNode(com.gargoylesoftware.htmlunit.html.DomNode) JsxGetter(com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter) SpeechSynthesis(com.gargoylesoftware.htmlunit.javascript.host.speech.SpeechSynthesis) JS_WINDOW_TOP_WRITABLE(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WINDOW_TOP_WRITABLE) HtmlElement(com.gargoylesoftware.htmlunit.html.HtmlElement) HtmlInput(com.gargoylesoftware.htmlunit.html.HtmlInput) LogFactory(org.apache.commons.logging.LogFactory) AlertHandler(com.gargoylesoftware.htmlunit.AlertHandler) HtmlAnchor(com.gargoylesoftware.htmlunit.html.HtmlAnchor) HtmlEmbed(com.gargoylesoftware.htmlunit.html.HtmlEmbed) ScriptableObject(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject) PromptHandler(com.gargoylesoftware.htmlunit.PromptHandler) UrlUtils(com.gargoylesoftware.htmlunit.util.UrlUtils) ArrayList(java.util.ArrayList) JavaScriptException(net.sourceforge.htmlunit.corejs.javascript.JavaScriptException) XmlPage(com.gargoylesoftware.htmlunit.xml.XmlPage) IOException(java.io.IOException) HtmlPage(com.gargoylesoftware.htmlunit.html.HtmlPage) JsxFunction(com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction) CSS2Properties(com.gargoylesoftware.htmlunit.javascript.host.css.CSS2Properties) JsxClass(com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass) Performance(com.gargoylesoftware.htmlunit.javascript.host.performance.Performance) IE(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.IE) WebClient(com.gargoylesoftware.htmlunit.WebClient) JS_WINDOW_FRAMES_ACCESSIBLE_BY_ID(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WINDOW_FRAMES_ACCESSIBLE_BY_ID) ElementNotFoundException(com.gargoylesoftware.htmlunit.ElementNotFoundException) StyleMedia(com.gargoylesoftware.htmlunit.javascript.host.css.StyleMedia) ScriptResult(com.gargoylesoftware.htmlunit.ScriptResult) HtmlImage(com.gargoylesoftware.htmlunit.html.HtmlImage) URL(java.net.URL) ObjectInputStream(java.io.ObjectInputStream) HtmlTextArea(com.gargoylesoftware.htmlunit.html.HtmlTextArea) HtmlObject(com.gargoylesoftware.htmlunit.html.HtmlObject) HtmlAttributeChangeEvent(com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeEvent) JS_WINDOW_FRAME_BY_ID_RETURNS_WINDOW(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WINDOW_FRAME_BY_ID_RETURNS_WINDOW) DataTransfer(com.gargoylesoftware.htmlunit.javascript.host.html.DataTransfer) ScriptException(com.gargoylesoftware.htmlunit.ScriptException) FF_ESR(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR) Selection(com.gargoylesoftware.htmlunit.javascript.host.dom.Selection) HtmlForm(com.gargoylesoftware.htmlunit.html.HtmlForm) StatusHandler(com.gargoylesoftware.htmlunit.StatusHandler) ConfirmHandler(com.gargoylesoftware.htmlunit.ConfirmHandler) Crypto(com.gargoylesoftware.htmlunit.javascript.host.crypto.Crypto) List(java.util.List) DocumentProxy(com.gargoylesoftware.htmlunit.javascript.host.html.DocumentProxy) ContextFactory(net.sourceforge.htmlunit.corejs.javascript.ContextFactory) Undefined(net.sourceforge.htmlunit.corejs.javascript.Undefined) Function(net.sourceforge.htmlunit.corejs.javascript.Function) Page(com.gargoylesoftware.htmlunit.Page) EventTarget(com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget) HTMLDocument(com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument) HtmlUnitScriptable(com.gargoylesoftware.htmlunit.javascript.HtmlUnitScriptable) HashMap(java.util.HashMap) WebWindowNotFoundException(com.gargoylesoftware.htmlunit.WebWindowNotFoundException) HtmlFrame(com.gargoylesoftware.htmlunit.html.HtmlFrame) JS_WINDOW_FORMFIELDS_ACCESSIBLE_BY_NAME(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WINDOW_FORMFIELDS_ACCESSIBLE_BY_NAME) TopLevelWindow(com.gargoylesoftware.htmlunit.TopLevelWindow) BrowserVersion(com.gargoylesoftware.htmlunit.BrowserVersion) HtmlSelect(com.gargoylesoftware.htmlunit.html.HtmlSelect) SgmlPage(com.gargoylesoftware.htmlunit.SgmlPage) EcmaError(net.sourceforge.htmlunit.corejs.javascript.EcmaError) Event(com.gargoylesoftware.htmlunit.javascript.host.event.Event) JavaScriptEngine(com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine) Context(net.sourceforge.htmlunit.corejs.javascript.Context) FrameWindow(com.gargoylesoftware.htmlunit.html.FrameWindow) HtmlButton(com.gargoylesoftware.htmlunit.html.HtmlButton) XMLDocument(com.gargoylesoftware.htmlunit.javascript.host.xml.XMLDocument) ScriptRuntime(net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime) MalformedURLException(java.net.MalformedURLException) Type(com.gargoylesoftware.htmlunit.StorageHolder.Type) CHROME(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME) PostponedAction(com.gargoylesoftware.htmlunit.javascript.PostponedAction) WebAssert(com.gargoylesoftware.htmlunit.WebAssert) JsxConstructor(com.gargoylesoftware.htmlunit.javascript.configuration.JsxConstructor) Document(com.gargoylesoftware.htmlunit.javascript.host.dom.Document) HTMLElement(com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement) Log(org.apache.commons.logging.Log) MessageEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent) ContextFactory(net.sourceforge.htmlunit.corejs.javascript.ContextFactory) MessageEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent) XmlPage(com.gargoylesoftware.htmlunit.xml.XmlPage) HtmlPage(com.gargoylesoftware.htmlunit.html.HtmlPage) Page(com.gargoylesoftware.htmlunit.Page) SgmlPage(com.gargoylesoftware.htmlunit.SgmlPage) PostponedAction(com.gargoylesoftware.htmlunit.javascript.PostponedAction) ScriptableObject(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject) HtmlObject(com.gargoylesoftware.htmlunit.html.HtmlObject) URL(java.net.URL) JavaScriptException(net.sourceforge.htmlunit.corejs.javascript.JavaScriptException) IOException(java.io.IOException) ElementNotFoundException(com.gargoylesoftware.htmlunit.ElementNotFoundException) ScriptException(com.gargoylesoftware.htmlunit.ScriptException) WebWindowNotFoundException(com.gargoylesoftware.htmlunit.WebWindowNotFoundException) MalformedURLException(java.net.MalformedURLException) WebWindow(com.gargoylesoftware.htmlunit.WebWindow) JavaScriptEngine(com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine) JsxFunction(com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction)

Example 8 with Event

use of com.gargoylesoftware.htmlunit.javascript.host.event.Event in project htmlunit by HtmlUnit.

the class HTMLCollectionFrames method scrollByLines.

/**
 * Scrolls the window content down by the specified number of lines.
 * @param lines the number of lines to scroll down
 */
@JsxFunction({ FF, FF_ESR })
public void scrollByLines(final int lines) {
    final HTMLElement body = document_.getBody();
    if (body != null) {
        body.setScrollTop(body.getScrollTop() + (19 * lines));
        final Event event = new Event(body, Event.TYPE_SCROLL);
        body.fireEvent(event);
    }
}
Also used : HTMLElement(com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement) MouseEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent) HtmlAttributeChangeEvent(com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeEvent) Event(com.gargoylesoftware.htmlunit.javascript.host.event.Event) MessageEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent) JsxFunction(com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction)

Example 9 with Event

use of com.gargoylesoftware.htmlunit.javascript.host.event.Event in project htmlunit by HtmlUnit.

the class HTMLCollectionFrames method scrollBy.

/**
 * Scrolls the window content the specified distance.
 * @param x the horizontal distance to scroll by
 * @param y the vertical distance to scroll by
 */
@JsxFunction
public void scrollBy(final int x, final int y) {
    final HTMLElement body = document_.getBody();
    if (body != null) {
        body.setScrollLeft(body.getScrollLeft() + x);
        body.setScrollTop(body.getScrollTop() + y);
        final Event event = new Event(body, Event.TYPE_SCROLL);
        body.fireEvent(event);
    }
}
Also used : HTMLElement(com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement) MouseEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent) HtmlAttributeChangeEvent(com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeEvent) Event(com.gargoylesoftware.htmlunit.javascript.host.event.Event) MessageEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent) JsxFunction(com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction)

Example 10 with Event

use of com.gargoylesoftware.htmlunit.javascript.host.event.Event in project htmlunit by HtmlUnit.

the class WorkerJob method postMessage.

/**
 * Posts a message to the {@link Worker} in the page's context.
 * @param message the message
 */
@JsxFunction
public void postMessage(final Object message) {
    final MessageEvent event = new MessageEvent();
    event.initMessageEvent(Event.TYPE_MESSAGE, false, false, message, origin_, "", owningWindow_, Undefined.instance);
    event.setParentScope(owningWindow_);
    event.setPrototype(owningWindow_.getPrototype(event.getClass()));
    if (LOG.isDebugEnabled()) {
        LOG.debug("[DedicatedWorker] postMessage: {}" + message);
    }
    final JavaScriptEngine jsEngine = (JavaScriptEngine) owningWindow_.getWebWindow().getWebClient().getJavaScriptEngine();
    final ContextAction<Object> action = cx -> {
        worker_.getEventListenersContainer().executeCapturingListeners(event, null);
        final Object[] args = { event };
        worker_.getEventListenersContainer().executeBubblingListeners(event, args);
        return null;
    };
    final ContextFactory cf = jsEngine.getContextFactory();
    final JavaScriptJob job = new WorkerJob(cf, action, "postMessage: " + Context.toString(message));
    final HtmlPage page = (HtmlPage) owningWindow_.getDocument().getPage();
    owningWindow_.getWebWindow().getJobManager().addJob(job, page);
}
Also used : AbstractJavaScriptConfiguration(com.gargoylesoftware.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration) WindowOrWorkerGlobalScopeMixin(com.gargoylesoftware.htmlunit.javascript.host.WindowOrWorkerGlobalScopeMixin) URL(java.net.URL) Script(net.sourceforge.htmlunit.corejs.javascript.Script) HtmlUnitScriptable(com.gargoylesoftware.htmlunit.javascript.HtmlUnitScriptable) FF(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF) EDGE(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.EDGE) ClassConfiguration(com.gargoylesoftware.htmlunit.javascript.configuration.ClassConfiguration) BrowserVersion(com.gargoylesoftware.htmlunit.BrowserVersion) ContextAction(net.sourceforge.htmlunit.corejs.javascript.ContextAction) FF_ESR(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR) Event(com.gargoylesoftware.htmlunit.javascript.host.event.Event) JavaScriptEngine(com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine) MimeType(com.gargoylesoftware.htmlunit.util.MimeType) Context(net.sourceforge.htmlunit.corejs.javascript.Context) WebRequest(com.gargoylesoftware.htmlunit.WebRequest) Scriptable(net.sourceforge.htmlunit.corejs.javascript.Scriptable) JsxSetter(com.gargoylesoftware.htmlunit.javascript.configuration.JsxSetter) Window(com.gargoylesoftware.htmlunit.javascript.host.Window) CHROME(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME) IOException(java.io.IOException) JavaScriptJob(com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJob) HtmlPage(com.gargoylesoftware.htmlunit.html.HtmlPage) WebResponse(com.gargoylesoftware.htmlunit.WebResponse) JsxGetter(com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter) JsxFunction(com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction) JsxClass(com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass) List(java.util.List) ContextFactory(net.sourceforge.htmlunit.corejs.javascript.ContextFactory) IE(com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.IE) WindowOrWorkerGlobalScope(com.gargoylesoftware.htmlunit.javascript.host.WindowOrWorkerGlobalScope) Log(org.apache.commons.logging.Log) WebClient(com.gargoylesoftware.htmlunit.WebClient) LogFactory(org.apache.commons.logging.LogFactory) Undefined(net.sourceforge.htmlunit.corejs.javascript.Undefined) Function(net.sourceforge.htmlunit.corejs.javascript.Function) JS_WORKER_IMPORT_SCRIPTS_ACCEPTS_ALL(com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_WORKER_IMPORT_SCRIPTS_ACCEPTS_ALL) MessageEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent) EventTarget(com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget) BasicJavaScriptJob(com.gargoylesoftware.htmlunit.javascript.background.BasicJavaScriptJob) ContextFactory(net.sourceforge.htmlunit.corejs.javascript.ContextFactory) JavaScriptJob(com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJob) BasicJavaScriptJob(com.gargoylesoftware.htmlunit.javascript.background.BasicJavaScriptJob) HtmlPage(com.gargoylesoftware.htmlunit.html.HtmlPage) MessageEvent(com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent) JavaScriptEngine(com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine) JsxFunction(com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction)

Aggregations

Event (com.gargoylesoftware.htmlunit.javascript.host.event.Event)25 JsxFunction (com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction)11 MouseEvent (com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent)9 MessageEvent (com.gargoylesoftware.htmlunit.javascript.host.event.MessageEvent)8 BrowserVersion (com.gargoylesoftware.htmlunit.BrowserVersion)6 WebClient (com.gargoylesoftware.htmlunit.WebClient)6 HtmlAttributeChangeEvent (com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeEvent)6 IOException (java.io.IOException)6 ScriptResult (com.gargoylesoftware.htmlunit.ScriptResult)5 EventTarget (com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget)5 HTMLElement (com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement)5 WebWindow (com.gargoylesoftware.htmlunit.WebWindow)4 HtmlPage (com.gargoylesoftware.htmlunit.html.HtmlPage)4 JavaScriptEngine (com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine)4 URL (java.net.URL)4 Page (com.gargoylesoftware.htmlunit.Page)3 SgmlPage (com.gargoylesoftware.htmlunit.SgmlPage)3 TopLevelWindow (com.gargoylesoftware.htmlunit.TopLevelWindow)3 HtmlUnitScriptable (com.gargoylesoftware.htmlunit.javascript.HtmlUnitScriptable)3 JsxClass (com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass)3