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

// https://wicg.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(() => {}, {sampleRate: 1.0});
});