SharedWorkerglobal scope) is accessible through the
applicationCacheread-only property of the
SharedWorkerGlobalScopeinterface returns the
ApplicationCacheobject for the worker (see Using the application cache).
nameread-only property of the
SharedWorkerGlobalScopeinterface returns the name that the
SharedWorkerwas (optionally) given when it was created. This is the name that the
SharedWorker()constructor can pass to get a reference to the
onconnectproperty of the
SharedWorkerGlobalScopeinterface is an
EventHandlerrepresenting the code to be called when the
connectevent is raised — that is, when a
MessagePortconnection is opened between the associated
SharedWorkerand the main thread.