Package | Description |
---|---|
com.gargoylesoftware.htmlunit.javascript.host |
Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
static Promise |
Promise.all(net.sourceforge.htmlunit.corejs.javascript.Context context,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function function)
Returns a
Promise that resolves when all of the promises in the iterable argument have resolved,
or rejects with the reason of the first passed promise that rejects. |
static String |
URL.createObjectURL(Object fileOrBlob)
The URL.createObjectURL() static method creates a DOMString containing an URL
representing the object given in parameter.
|
static Symbol |
Symbol.forFunction(net.sourceforge.htmlunit.corejs.javascript.Context context,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function function)
Searches for existing symbols in a runtime-wide symbol registry with the given key and returns it if found.
|
static Promise |
Promise.reject(net.sourceforge.htmlunit.corejs.javascript.Context context,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function function)
Returns a
Promise object that is rejected with the given value. |
static void |
Notification.requestPermission()
Asks the user for permission.
|
static Promise |
Promise.resolve(net.sourceforge.htmlunit.corejs.javascript.Context context,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function function)
Returns a
Promise object that is resolved with the given value. |
static void |
URL.revokeObjectURL(Object objectURL) |
Copyright © 2002–2018 Gargoyle Software Inc.. All rights reserved.