diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-05-28 12:36:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 12:36:36 -0700 |
commit | 05a7219ba9605649cb6daa281e26209eaa73adf0 (patch) | |
tree | 63c9443b214d52257ff4ef5546f9e70c8b7365cd /files/zh-cn/web/api/dedicatedworkerglobalscope | |
parent | 220a7d23b0755acc06146c1262aa09ba22d6e3b1 (diff) | |
download | translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.tar.gz translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.tar.bz2 translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.zip |
fix MacroWrongXRefError flaws for some domxref calls (#1018)
Diffstat (limited to 'files/zh-cn/web/api/dedicatedworkerglobalscope')
-rw-r--r-- | files/zh-cn/web/api/dedicatedworkerglobalscope/index.html | 4 |
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 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 <dl> <dt>{{domxref("DedicatedWorkerGlobalScope.onmessage")}}</dt> - <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> + <dd>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.)</dd> <dt>{{domxref("DedicatedWorkerGlobalScope.onmessageerror")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd> </dl> <h2 id="方法">方法</h2> |