From 2958ec7e85c9a1182cd81728e3705948a2c39d71 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 11:58:24 -0700 Subject: replace some domxref macro calls with event macro calls (#1016) --- 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 2b33e9de41..60b8585131 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")}} {{domxref("EventHandler")}} for the {{domxref("ServiceWorkerRegistration.installing", "installing")}} worker and on the {{event("active")}} {{domxref("EventHandler")}} for the {{domxref("ServiceWorkerRegistration.active", "active")}} worker.

+

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.

-- cgit v1.2.3-54-g00ecf