summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compute-pressure/idlharness.https.any.js
blob: 6cd7e87b5b3ba363ae3d4f48fb25a4360b38f395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: global=window,dedicatedworker,sharedworker

// https://w3c.github.io/compute-pressure/

'use strict';

idl_test(['compute-pressure'], ['dom', 'html'], async idl_array => {
  idl_array.add_objects({
    PressureObserver: ['observer'],
  });

  self.observer = new PressureObserver(() => {});
});