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
public void apply(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scriptable)
context
- the contextscriptable
- the scriptableCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.