Events in workers have been prefixed with Worker

Published: | Categories: DOM


In order to make normal DOM events work in Web workers, the current events in workers including Event, MessageEvent, ErrorEvent and ProgressEvent have been renamed to WorkerEvent, WorkerMessageEvent, WorkerErrorEvent and WorkerProgressEvent. This change is temporary. Once the Firefox back-end implementation is fixed, those events will be unprefixed again.