Package org.htmlunit.javascript.host
Interface WindowOrWorkerGlobalScope
- All Known Implementing Classes:
DedicatedWorkerGlobalScope
,Window
public interface WindowOrWorkerGlobalScope
The WindowOrWorkerGlobalScope mixin describes several features
common to the
Window
and WorkerGlobalScope.-
Method Summary
-
Method Details
-
atob
Decodes a string of data which has been encoded using base-64 encoding.- Parameters:
encodedData
- the encoded string- Returns:
- the decoded value
-
btoa
Creates a base-64 encoded ASCII string from a string of binary data.- Parameters:
stringToEncode
- string to encode- Returns:
- the encoded string
-