aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/dedicatedworkerglobalscope/index.html')
-rw-r--r--files/zh-cn/web/api/dedicatedworkerglobalscope/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
index e6acb236ac..79044ba3cb 100644
--- a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
+++ b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
@@ -46,9 +46,9 @@ translation_of: Web/API/DedicatedWorkerGlobalScope
<dl>
<dt>{{domxref("DedicatedWorkerGlobalScope.onmessage")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised. These events are of type {{domxref("MessageEvent")}} and will be called when the worker receives a message from the document that started it (i.e. from the {{domxref("Worker.postMessage")}} method.)</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised. These events are of type {{domxref("MessageEvent")}} and will be called when the worker receives a message from the document that started it (i.e. from the {{domxref("Worker.postMessage")}} method.)</dd>
<dt>{{domxref("DedicatedWorkerGlobalScope.onmessageerror")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd>
</dl>
<h2 id="方法">方法</h2>