mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Update to latest version of HtmlUnit
This commit is contained in:
parent
4ffe74296d
commit
f080526aca
|
@ -43,7 +43,7 @@
|
|||
<dependency>
|
||||
<groupId>net.sourceforge.htmlunit</groupId>
|
||||
<artifactId>htmlunit</artifactId>
|
||||
<version>2.19</version>
|
||||
<version>2.33</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class HtmlUnitRunStrategy implements TestRunStrategy {
|
|||
decodeStack ? createStackDecoderFunction(resultParser) : null,
|
||||
new NativeJavaObject(function, asyncResult, AsyncResult.class)
|
||||
};
|
||||
pageRef.executeJavaScriptFunctionIfPossible(function, function, args, page.get());
|
||||
pageRef.executeJavaScriptFunction(function, function, args, page.get());
|
||||
|
||||
resultParser.parseResult((Scriptable) asyncResult.getResult(), run.getCallback());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user