chromium/third_party/blink/renderer/modules/background_fetch/service_worker_global_scope_background_fetch.idl

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://wicg.github.io/background-fetch/#extensions-to-service-worker-global

[
    ImplementedAs=ServiceWorkerGlobalScopeBackgroundFetch,
    RuntimeEnabled=BackgroundFetch
] partial interface ServiceWorkerGlobalScope {
    attribute EventHandler onbackgroundfetchsuccess;
    attribute EventHandler onbackgroundfetchfail;
    attribute EventHandler onbackgroundfetchabort;
    attribute EventHandler onbackgroundfetchclick;
};