public final class WindowOrWorkerGlobalScopeMixin extends Object
WindowOrWorkerGlobalScope
to be used by the implementers of the mixin.Modifier and Type | Method and Description |
---|---|
static String |
atob(String encodedData)
Decodes a string of data which has been encoded using base-64 encoding.
|
static String |
btoa(String stringToEncode)
Creates a base-64 encoded ASCII string from a string of binary data.
|
static Object |
setInterval(org.htmlunit.corejs.javascript.Context context,
org.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
org.htmlunit.corejs.javascript.Function function)
Sets a chunk of JavaScript to be invoked each time a specified number of milliseconds has elapsed.
|
static Object |
setTimeout(org.htmlunit.corejs.javascript.Context context,
org.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
org.htmlunit.corejs.javascript.Function function)
Sets a chunk of JavaScript to be invoked at some specified time later.
|
public static String atob(String encodedData)
encodedData
- the encoded stringpublic static String btoa(String stringToEncode)
stringToEncode
- string to encodepublic static Object setTimeout(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function)
context
- the JavaScript contextthisObj
- the scriptableargs
- the arguments passed into the methodfunction
- the functionpublic static Object setInterval(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function)
context
- the JavaScript contextthisObj
- the scriptableargs
- the arguments passed into the methodfunction
- the functionCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.