Click here to download the Blitz Browser!

WPT

wpt / screen-capture / getdisplaymedia-capture-controller.https.window.html

Spec: Screen Capture ↗

Runs: Chrome 155.0.8039.0 (wpt@a8b466b15, 2026-09-03) | Firefox 157.0a1 (wpt@a8b466b15, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@ed1909ed6, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total51/510/510/510/510/51NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
CaptureController in windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must succeed before capture startsPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must succeed before capture startsPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must succeed before capture startsPASSFAILFAILFAILFAIL
setFocusBehavior("invalid") must throw TypeError if focusBehavior is invalidPASSFAILFAILFAILFAIL
setFocusBehavior("null") must throw TypeError if focusBehavior is invalidPASSFAILFAILFAILFAIL
setFocusBehavior("undefined") must throw TypeError if focusBehavior is invalidPASSFAILFAILFAILFAIL
setFocusBehavior("[object Object]") must throw TypeError if focusBehavior is invalidPASSFAILFAILFAILFAIL
setFocusBehavior("true") must throw TypeError if focusBehavior is invalidPASSFAILFAILFAILFAIL
getDisplayMedia({controller}) must succeedPASSFAILFAILFAILFAIL
getDisplayMedia({controller: invalid}) must fail with TypeErrorPASSFAILFAILFAILFAIL
getDisplayMedia({controller: null}) must fail with TypeErrorPASSFAILFAILFAILFAIL
getDisplayMedia({controller: [object Object]}) must fail with TypeErrorPASSFAILFAILFAILFAIL
getDisplayMedia({controller: true}) must fail with TypeErrorPASSFAILFAILFAILFAIL
getDisplayMedia({controller}) must fail with InvalidStateError if controller is boundPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must succeed when window of opportunity is opened if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must succeed when window of opportunity is opened if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must succeed when window of opportunity is opened if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must succeed when window of opportunity is opened if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must succeed when window of opportunity is opened if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must succeed when window of opportunity is opened if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must succeed when getDisplayMedia promise is pending if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must succeed when getDisplayMedia promise is pending if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must succeed when getDisplayMedia promise is pending if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must succeed when getDisplayMedia promise is pending if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must succeed when getDisplayMedia promise is pending if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must succeed when getDisplayMedia promise is pending if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError when track is stopped if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError when track is stopped if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError when track is stopped if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError when track is stopped if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError when track is stopped if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError when track is stopped if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError if capturing a monitorPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError if capturing a monitorPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError if capturing a monitorPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError when window of opportunity is closed if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError when window of opportunity is closed if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError when window of opportunity is closed if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError when window of opportunity is closed if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError when window of opportunity is closed if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError when window of opportunity is closed if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError the second time if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError the second time if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError the second time if capturing a windowPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError the second time if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError the second time if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError the second time if capturing a browserPASSFAILFAILFAILFAIL
setFocusBehavior("focus-capturing-application") must throw InvalidStateError if getDisplayMedia failsPASSFAILFAILFAILFAIL
setFocusBehavior("focus-captured-surface") must throw InvalidStateError if getDisplayMedia failsPASSFAILFAILFAILFAIL
setFocusBehavior("no-focus-change") must throw InvalidStateError if getDisplayMedia failsPASSFAILFAILFAILFAIL