This tests that when inline-playback is restricted, the video element's "controls" are always shown while inline. RUN(internals.settings.setAllowsInlineMediaPlayback(false)) EXPECTED (video.hasAttribute('controls') == 'false') OK EXPECTED (video.controls == 'false') OK EXPECTED (shadowRoot = internals.shadowRoot(video) != 'null') OK EXPECTED (panel = mediaControlsElement(shadowRoot.firstChild, '-webkit-media-controls-panel') != 'null'), OBSERVED 'null' FAIL TypeError: Argument 1 ('element') to Internals.shadowPseudoId must be an instance of Element TypeError: Type error TypeError: Type error END OF TEST