aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/storage/idlharness.https.any.js
blob: 0ce4d5a0c8fccf07f6908a7a9ac9ac5ab5df6624 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'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'] });
    }
  }
);