blob: 2ca948b462662bc776793a0cd33dda5e63f7b14a [file] [log] [blame]
Testing the MediaControls constructor.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS mediaControls.element.localName is "div"
PASS mediaControls.element.className is "media-controls"
PASS mediaControls.width is 300
PASS mediaControls.height is 150
PASS mediaControls.layoutTraits is LayoutTraits.macOS
PASS mediaControls.playPauseButton instanceof PlayPauseButton is true
PASS mediaControls.airplayButton instanceof AirplayButton is true
PASS mediaControls.pipButton instanceof PiPButton is true
PASS mediaControls.fullscreenButton instanceof FullscreenButton is true
PASS mediaControls.statusLabel instanceof StatusLabel is true
PASS mediaControls.timeControl instanceof TimeControl is true
PASS mediaControls.airplayPlacard instanceof AirplayPlacard is true
PASS mediaControls.invalidPlacard instanceof InvalidPlacard is true
PASS mediaControls.pipPlacard instanceof PiPPlacard is true
PASS mediaControls.bottomControlsBar instanceof ControlsBar is true
PASS mediaControls.bottomControlsBar.element.localName is "div"
PASS mediaControls.bottomControlsBar.element.classList.contains('controls-bar') is true
PASS mediaControls.bottomControlsBar.element.classList.contains('bottom') is true
PASS mediaControlsWithArguments.width is 600
PASS mediaControlsWithArguments.height is 300
PASS successfullyParsed is true
TEST COMPLETE