diff options
Diffstat (limited to 'files/zh-cn/web/api/workerglobalscope/index.html')
-rw-r--r-- | files/zh-cn/web/api/workerglobalscope/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/zh-cn/web/api/workerglobalscope/index.html b/files/zh-cn/web/api/workerglobalscope/index.html index 23b754735f..8d9fef8dd7 100644 --- a/files/zh-cn/web/api/workerglobalscope/index.html +++ b/files/zh-cn/web/api/workerglobalscope/index.html @@ -50,18 +50,18 @@ translation_of: Web/API/WorkerGlobalScope <dl> <dt>{{domxref("WorkerGlobalScope.onerror")}}</dt> - <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("error")}} event is raised.</dd> + <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("error")}} event is raised.</dd> <dt>{{domxref("WorkerGlobalScope.onoffline")}}</dt> - <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.</dd> + <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.</dd> <dt>{{domxref("WorkerGlobalScope.ononline")}}</dt> - <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.</dd> + <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.</dd> <dt>{{domxref("WorkerGlobalScope.onlanguagechange")}}</dt> - <dd>An {{event("Event_handlers")}} fired at the global/worker scope object when the user's preferred languages change.</dd> + <dd>An {{domxref("EventHandler")}} fired at the global/worker scope object when the user's preferred languages change.</dd> </dl> <dl> <dt>{{domxref("WorkerGlobalScope.onclose")}} {{non-standard_inline}}</dt> - <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("close")}} event is raised.</dd> + <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.</dd> <dt>{{domxref("WorkerGlobalScope.onrejectionhandled")}} {{non-standard_inline}}</dt> <dd>An event handler for handled <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" title="The Promise object is used for deferred and asynchronous computations. A Promise represents an operation that hasn't completed yet, but is expected in the future."><code>Promise</code></a> rejection events.</dd> <dt>{{domxref("WorkerGlobalScope.onunhandledrejection")}} {{non-standard_inline}}</dt> |