summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/media-playback-quality/idlharness.window.js
blob: 2444e30c704457353145c252dcd7adf3432d35f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/media-playback-quality/

'use strict';

idl_test(
  ['media-playback-quality'],
  ['html', 'dom'],
  idl_array => {
    idl_array.add_objects({
      HTMLVideoElement: ['video'],
      VideoPlaybackQuality: ['videoPlaybackQuality']
    });

    self.video = document.createElement('video');
    self.videoPlaybackQuality = video.getVideoPlaybackQuality();
  }
);