public class Polyfill extends Object
| Constructor and Description | 
|---|
| Polyfill() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(org.htmlunit.corejs.javascript.Context context,
     org.htmlunit.corejs.javascript.Scriptable scriptable)Compile the script if needed and exec to setup the context. | 
| static Polyfill | getFetchPolyfill() | 
public static Polyfill getFetchPolyfill() throws IOException
IOException - in case of errorpublic void apply(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scriptable)
context - the contextscriptable - the scriptableCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.