Search in sources :

Example 1 with Performance

use of com.gargoylesoftware.htmlunit.javascript.host.performance.Performance in project htmlunit by HtmlUnit.

the class HTMLCollectionFrames method getPerformance.

/**
 * Returns the {@code performance} property.
 * @return the {@code performance} property
 */
@JsxGetter
public Performance getPerformance() {
    final Performance performance = new Performance();
    performance.setParentScope(this);
    performance.setPrototype(getPrototype(performance.getClass()));
    return performance;
}
Also used : Performance(com.gargoylesoftware.htmlunit.javascript.host.performance.Performance) JsxGetter(com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter)

Aggregations

JsxGetter (com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter)1 Performance (com.gargoylesoftware.htmlunit.javascript.host.performance.Performance)1