| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript.commonjs.module |
| Modifier and Type | Method and Description |
|---|---|
RequireBuilder |
RequireBuilder.setModuleScriptProvider(ModuleScriptProvider moduleScriptProvider)
Sets the
ModuleScriptProvider for the Require instances that this builder
builds. |
RequireBuilder |
RequireBuilder.setPostExec(Script postExec)
Sets the script that should execute in every module's scope after the module's own script has
executed.
|
RequireBuilder |
RequireBuilder.setPreExec(Script preExec)
Sets the script that should execute in every module's scope before the module's own script
has executed.
|
RequireBuilder |
RequireBuilder.setSandboxed(boolean sandboxed)
Sets whether the created require() instances will be sandboxed.
|
Copyright © 2025 HtmlUnit. All rights reserved.