Module org.htmlunit
Class WorkerJavaScriptConfiguration
java.lang.Object
org.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration
org.htmlunit.javascript.configuration.WorkerJavaScriptConfiguration
A container for all the JavaScript configuration information for workers.
- Author:
- Ronald Brill
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends HtmlUnitScriptable>[]getInstance(BrowserVersion browserVersion) Returns the instance that represents the configuration for the specifiedBrowserVersion.Methods inherited from class org.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration
getAll, getClassConfiguration, getDomJavaScriptMappingFor, getGlobalThisConfiguration
-
Method Details
-
getInstance
Returns the instance that represents the configuration for the specifiedBrowserVersion. This method is synchronized to allow multi-threaded access to the JavaScript configuration.- Parameters:
browserVersion- theBrowserVersion- Returns:
- the instance for the specified
BrowserVersion
-
getClasses
- Specified by:
getClassesin classAbstractJavaScriptConfiguration- Returns:
- the classes configured by this configuration
-
getDedicatedWorkerGlobalScopeClassConfiguration
- Returns:
- the configuration of the globalThis class
-