Mac OS X Reference Library Apple Developer
Search

WorkerContext

Module:
threads
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

addEventListener
clearInterval
clearTimeout
close
dispatchEvent
importScripts
openDatabase
openDatabaseSync
removeEventListener
setInterval
setTimeout

addEventListener



void addEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 

clearInterval



void clearInterval(
    in long handle); 

clearTimeout



void clearTimeout(
    in long handle); 

close



void close(); 

dispatchEvent



boolean dispatchEvent(
    in Event evt) raises(EventException); 

importScripts



void importScripts(/*[Variadic] in DOMString urls */); 

openDatabase



Database openDatabase(
    in DOMString name,
    in DOMString version,
    in DOMString displayName,
    in unsigned long estimatedSize,
    in DatabaseCallback creationCallback) raises(DOMException); 

openDatabaseSync



DatabaseSync openDatabaseSync(
    in DOMString name,
    in DOMString version,
    in DOMString displayName,
    in unsigned long estimatedSize,
    in DatabaseCallback creationCallback); 

removeEventListener



void removeEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 

setInterval



long setInterval(
    in TimeoutHandler handler,
    in long timeout); 

setTimeout



long setTimeout(
    in TimeoutHandler handler,
    in long timeout); 

Member Data

EventSource
location
MessageChannel
MessageEvent
navigator
onerror
self
webkitNotifications
WebSocket
WorkerLocation
XMLHttpRequest

EventSource



attribute EventSourceConstructor EventSource; 

location



attribute WorkerLocation location; 

MessageChannel



attribute MessageChannelConstructor MessageChannel; 

MessageEvent



attribute MessageEventConstructor MessageEvent; 

navigator



attribute WorkerNavigator navigator; 

onerror



attribute EventListener onerror; 

self



attribute WorkerContext self; 

webkitNotifications



readonly attribute NotificationCenter webkitNotifications; 

WebSocket



attribute WebSocketConstructor WebSocket; 

WorkerLocation



attribute WorkerLocationConstructor WorkerLocation; 

XMLHttpRequest



attribute XMLHttpRequestConstructor XMLHttpRequest; 

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-05-27