summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/storage/idlharness.https.any.js
blob: 773fac4e4a8cabb09b6c3f838a83aac7c3b43f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long

'use strict';

idl_test(
  ['storage'],
  ['html'],
  idl_array => {
    idl_array.add_objects({ StorageManager: ['navigator.storage'] });
    if (self.Window) {
      idl_array.add_objects({ Navigator: ['navigator'] });
    } else {
      idl_array.add_objects({ WorkerNavigator: ['navigator'] });
    }
  }
);