Dart API Reference
dart:html
WorkerGlobalScope
WorkerGlobalScope
class
Annotated by:
DocsEditable()
DomName('WorkerGlobalScope')
Experimental()
Extends:
EventTarget
Object
Implements:
WindowBase64
Implementors
DedicatedWorkerGlobalScope
ServiceWorkerGlobalScope
SharedWorkerGlobalScope
Constants
errorEvent
=
const
EventStreamProvider
<
Event
>
('error')
Static factory designed to expose error events to event handlers that are not necessarily instances of
WorkerGlobalScope
.
PERSISTENT
=
1
TEMPORARY
=
0
Instance Properties
console
WorkerConsole
read-only
crypto
Crypto
read-only
indexedDB
IdbFactory
read-only
location
_WorkerLocation
read-only
navigator
_WorkerNavigator
read-only
performance
WorkerPerformance
read-only
self
WorkerGlobalScope
read-only
onError
Stream
<
Event
>
read-only
on
Events
Inherited
read-only
Instance Methods
close
( ) →
void
importScripts
(
String
urls
) →
void
webkitRequestFileSystem
(
int
type
,
int
size
) →
Future
<
FileSystem
>
requestFileSystemSync
(
int
type
,
int
size
) →
_DOMFileSystemSync
resolveLocalFileSystemSyncUrl
(
String
url
) →
_EntrySync
webkitResolveLocalFileSystemUrl
(
String
url
) →
Future
<
Entry
>
atob
(
String
string
) →
String
btoa
(
String
string
) →
String
addEventListener
Inherited
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
] ) →
void
removeEventListener
Inherited
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
] ) →
void
dispatchEvent
Inherited
(
Event
event
) →
bool