SharedWorkerGlobalScope object (the
SharedWorker global scope) is accessible through the
applicationCache read-only property of the
SharedWorkerGlobalScope interface returns the
ApplicationCache object for the worker (see Using the application cache).
name read-only property of the
SharedWorkerGlobalScope interface returns the name that the
SharedWorker was (optionally) given when it was created. This is the name that the
SharedWorker() constructor can pass to get a reference to the
onconnect property of the
SharedWorkerGlobalScope interface is an
EventHandler representing the code to be called when the
connect event is raised — that is, when a
MessagePort connection is opened between the associated
SharedWorker and the main thread.