chromium/third_party/blink/renderer/modules/background_sync/service_worker_registration_sync.idl

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

[
    Exposed=(Window,Worker),
    ImplementedAs=ServiceWorkerRegistrationSync
] partial interface ServiceWorkerRegistration {
    [MeasureAs=PeriodicBackgroundSync, RuntimeEnabled=PeriodicBackgroundSync] readonly attribute PeriodicSyncManager periodicSync;
    [MeasureAs=BackgroundSync] readonly attribute SyncManager sync;
};