Skip to content

Commit

Permalink
working on a more complete context setup for WebWorker (#816) - simpl…
Browse files Browse the repository at this point in the history
…ify setup code
  • Loading branch information
rbri committed Jul 27, 2024
1 parent cf76635 commit a94ee46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ private static void removePrototypeProperties(final Scriptable scope, final Stri
* @throws IllegalArgumentException
*/
public static HtmlUnitScriptable configureClass(final ClassConfiguration config, final Scriptable window)
throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException {
throws Exception {

final HtmlUnitScriptable prototype = config.getHostClass().getDeclaredConstructor().newInstance();
prototype.setParentScope(window);
Expand Down

0 comments on commit a94ee46

Please sign in to comment.