Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 33 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /storage/buckets/idlharness-worker.https.any.html - WPT Dashboard Interop Dashboard
- /storage/buckets/idlharness-worker.https.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /storage/buckets/idlharness-worker.https.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /storage/buckets/idlharness-worker.https.any.worker.html - WPT Dashboard Interop Dashboard
// 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'] });
}
}
);