blob: 48ab5615b03fbe4d550ef1c55f5f3445107e3f04 [file] [log] [blame]
// 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(() => {}, {sampleInterval: 1000});
});