aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/workerglobalscope/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/workerglobalscope/index.html')
-rw-r--r--files/zh-cn/web/api/workerglobalscope/index.html10
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 8d9fef8dd7..23b754735f 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 {{domxref("EventHandler")}} representing the code to be called when the {{event("error")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("error")}} event is raised.</dd>
<dt>{{domxref("WorkerGlobalScope.onoffline")}}</dt>
- <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.</dd>
<dt>{{domxref("WorkerGlobalScope.ononline")}}</dt>
- <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.</dd>
<dt>{{domxref("WorkerGlobalScope.onlanguagechange")}}</dt>
- <dd>An {{domxref("EventHandler")}} fired at the global/worker scope object when the user's preferred languages change.</dd>
+ <dd>An {{event("Event_handlers")}} 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 {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers")}} 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>