AbstractWorker 인터페이스는 SharedWorker나 Worker와 같은 모든 종류의 워커에 공통적으로 들어가는 속성과 메소드들을 추상적으로 나타냅니다.

속성

AbstractWorker 인터페이스는 어떠한 속성도 상속하지 않습니다.

AbstractWorker.onerror
는 워커를 통해 발생하는 error 버블 타입의 ErrorEvent가 나타날때마다 호출되는  EventListener입니다.

메서드

AbstractWorker 인터페이스는 어떠한 메서드도 상속받거나 이행하지 않습니다.

명세

Specification Status Comment
HTML Living Standard
The definition of 'AbstractWorker' in that specification.
Living Standard No change from Unknown.
Unknown
The definition of 'AbstractWorker' in that specification.
Recommendation Initial definition.

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
AbstractWorkerChrome Full support 4Edge Full support YesFirefox Full support 3.5IE Full support 10Opera Full support 10.6Safari Full support 4WebView Android Full support 4.4Chrome Android Full support 18Firefox Android Full support 4Opera Android Full support 11Safari iOS Full support 5.1Samsung Internet Android Full support Yes
onerrorChrome Full support 4Edge Full support 12Firefox Full support 3.5IE Full support 10Opera Full support 10.6Safari Full support 4WebView Android Full support 4.4Chrome Android Full support 18Firefox Android Full support 4Opera Android Full support 11Safari iOS Full support 5.1Samsung Internet Android Full support Yes

Legend

Full support  
Full support

같이 보기

문서 태그 및 공헌자

이 페이지의 공헌자: alattalatta, mdnwebdocs-bot, Cho.Eun
최종 변경자: alattalatta,