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/workerglobalscope/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/zh-cn/web/api/workerglobalscope') diff --git a/files/zh-cn/web/api/workerglobalscope/index.html b/files/zh-cn/web/api/workerglobalscope/index.html index 8d9fef8dd7..60d0b88373 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
{{domxref("WorkerGlobalScope.onerror")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("error")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("error")}} event is raised.
{{domxref("WorkerGlobalScope.onoffline")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("offline")}} event is raised.
{{domxref("WorkerGlobalScope.ononline")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("online")}} event is raised.
{{domxref("WorkerGlobalScope.onlanguagechange")}}
-
An {{domxref("EventHandler")}} fired at the global/worker scope object when the user's preferred languages change.
+
An {{event("Event_handlers", "event handler")}} fired at the global/worker scope object when the user's preferred languages change.
{{domxref("WorkerGlobalScope.onclose")}} {{non-standard_inline}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("close")}} event is raised.
{{domxref("WorkerGlobalScope.onrejectionhandled")}} {{non-standard_inline}}
An event handler for handled Promise rejection events.
{{domxref("WorkerGlobalScope.onunhandledrejection")}} {{non-standard_inline}}
-- cgit v1.2.3-54-g00ecf