class Browser
package js
Static variables
staticread onlyself:WorkerGlobalScope
The global scope typed with fields available only in a worker context.
Static methods
staticinlinealert(v:Dynamic):Void
Display an alert message box containing the given message. See also Window.alert()
.
staticcreateXMLHttpRequest():XMLHttpRequest
Creates an XMLHttpRequest, with a fallback to ActiveXObject for ancient versions of Internet Explorer.
staticgetLocalStorage():Null<Storage>
Safely gets the browser's local storage, or returns null if localStorage is unsupported or disabled.
staticgetSessionStorage():Storage
Safely gets the browser's session storage, or returns null if sessionStorage is unsupported or disabled.