Dart API Referencedart:htmlWorkerContext

WorkerContext Interface

Extends

EventTarget

Subinterfaces

DedicatedWorkerContext, SharedWorkerContext

Static Fields

Code final int PERSISTENT #

static final int PERSISTENT = 1;

Code final int TEMPORARY #

static final int TEMPORARY = 0;

Methods

Code void clearInterval(int handle) #

void clearInterval(int handle);

Code void clearTimeout(int handle) #

void clearTimeout(int handle);

Code void close() #

void close();

Code void importScripts() #

void importScripts();

Code WorkerContextEvents get on() #

WorkerContextEvents get on();

Code Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) #

Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);

Code DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) #

DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);

Code int setInterval(TimeoutHandler handler, int timeout) #

int setInterval(TimeoutHandler handler, int timeout);

Code int setTimeout(TimeoutHandler handler, int timeout) #

int setTimeout(TimeoutHandler handler, int timeout);

Code void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) #

void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]);

Code DOMFileSystemSync webkitRequestFileSystemSync(int type, int size) #

DOMFileSystemSync webkitRequestFileSystemSync(int type, int size);

Code EntrySync webkitResolveLocalFileSystemSyncURL(String url) #

EntrySync webkitResolveLocalFileSystemSyncURL(String url);

Code void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]) #

void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]);

Code void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) #

void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);

Code bool $dom_dispatchEvent(Event evt) #

bool $dom_dispatchEvent(Event evt);

Code void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) #

void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);

Fields

Code final WorkerLocation location #

final WorkerLocation location;
final WorkerNavigator navigator;

Code final WorkerContext self #

final WorkerContext self;

Code final IDBFactory webkitIndexedDB #

final IDBFactory webkitIndexedDB;

Code final NotificationCenter webkitNotifications #

final NotificationCenter webkitNotifications;