From 05a7219ba9605649cb6daa281e26209eaa73adf0 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:36:36 -0700 Subject: fix MacroWrongXRefError flaws for some domxref calls (#1018) --- files/zh-cn/web/api/dedicatedworkerglobalscope/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-cn/web/api/dedicatedworkerglobalscope') diff --git a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html index 79044ba3cb..fd7d515eae 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
{{domxref("DedicatedWorkerGlobalScope.onmessage")}}
-
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.)
+
Is an {{event("Event_handlers", "event handler")}} 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.)
{{domxref("DedicatedWorkerGlobalScope.onmessageerror")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("messageerror")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("messageerror")}} event is raised.

方法

-- cgit v1.2.3-54-g00ecf