From 220a7d23b0755acc06146c1262aa09ba22d6e3b1 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:05:52 -0700 Subject: Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017) This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71. --- files/zh-cn/web/api/fetchevent/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/api/fetchevent') diff --git a/files/zh-cn/web/api/fetchevent/index.html b/files/zh-cn/web/api/fetchevent/index.html index 60b8585131..2b33e9de41 100644 --- a/files/zh-cn/web/api/fetchevent/index.html +++ b/files/zh-cn/web/api/fetchevent/index.html @@ -46,7 +46,7 @@ translation_of: Web/API/FetchEvent
Resolves by returning a {{domxref("Response")}} or a network error  to Fetch.
{{domxref("ExtendableEvent.waitUntil", "ExtendableEvent.waitUntil()")}}
-

Extends the lifetime of the event.  It is intended to be called in the {{event("install")}} {{event("Event_handlers")}} for the {{domxref("ServiceWorkerRegistration.installing", "installing")}} worker and on the {{event("active")}} {{event("Event_handlers")}} for the {{domxref("ServiceWorkerRegistration.active", "active")}} worker.

+

Extends the lifetime of the event.  It is intended to be called in the {{event("install")}} {{domxref("EventHandler")}} for the {{domxref("ServiceWorkerRegistration.installing", "installing")}} worker and on the {{event("active")}} {{domxref("EventHandler")}} for the {{domxref("ServiceWorkerRegistration.active", "active")}} worker.

-- cgit v1.2.3-54-g00ecf