MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / getState

Method getState

src/main/java/org/htmlunit/javascript/host/History.java:72–76  ·  view source on GitHub ↗

Returns the state property. @return the state property

()

Source from the content-addressed store, hash-verified

70 * @return the {@code state} property
71 */
72 @JsxGetter
73 public Object getState() {
74 final WebWindow w = getWindow().getWebWindow();
75 return w.getHistory().getCurrentState();
76 }
77
78 /**
79 * JavaScript function "back".

Callers 3

ext-all-debug.jsFile · 0.45
ext-all.jsFile · 0.45
ext-all.jsFile · 0.45

Calls 4

getHistoryMethod · 0.95
getCurrentStateMethod · 0.80
getWebWindowMethod · 0.45
getWindowMethod · 0.45

Tested by

no test coverage detected