chromium/third_party/blink/web_tests/external/wpt/storage/buckets/idlharness-worker.https.any.js

// META: global=window,worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

idl_test(
  ['storage-buckets'],
  ['html'],
  async (idl_array, t) => {
    idl_array.add_objects({
      StorageBucketManager: ['navigator.storageBuckets'],
      StorageBucket: []
    });

    if (self.Window) {
      idl_array.add_objects({ Navigator: ['navigator'] });
    } else {
      idl_array.add_objects({ WorkerNavigator: ['navigator'] });
    }
  }
);