[getdisplaymedia-capture-controller.https.window.html] [setFocusBehavior("no-focus-change") must throw InvalidStateError when track is stopped if capturing a browser] expected: FAIL [setFocusBehavior("focus-captured-surface") must succeed when window of opportunity is opened if capturing a window] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError the second time if capturing a window] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError if capturing a monitor] expected: FAIL [CaptureController in window] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError when track is stopped if capturing a window] expected: FAIL [setFocusBehavior("focus-captured-surface") must succeed before capture starts] expected: FAIL [setFocusBehavior("no-focus-change") must succeed when getDisplayMedia promise is pending if capturing a browser] expected: FAIL [setFocusBehavior("focus-captured-surface") must succeed when getDisplayMedia promise is pending if capturing a window] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError when track is stopped if capturing a browser] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError when window of opportunity is closed if capturing a browser] expected: FAIL [setFocusBehavior("no-focus-change") must succeed when getDisplayMedia promise is pending if capturing a window] expected: FAIL [getDisplayMedia({controller: true}) must fail with TypeError] expected: FAIL [getDisplayMedia({controller}) must succeed] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError when track is stopped if capturing a window] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError if capturing a monitor] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError when window of opportunity is closed if capturing a window] expected: FAIL [setFocusBehavior("no-focus-change") must succeed when window of opportunity is opened if capturing a browser] expected: FAIL [setFocusBehavior("no-focus-change") must succeed before capture starts] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError the second time if capturing a browser] expected: FAIL [getDisplayMedia({controller: null}) must fail with TypeError] expected: FAIL [getDisplayMedia({controller: invalid}) must fail with TypeError] expected: FAIL [setFocusBehavior("focus-captured-surface") must succeed when window of opportunity is opened if capturing a browser] expected: FAIL [setFocusBehavior("undefined") must throw TypeError if focusBehavior is invalid] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError the second time if capturing a browser] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError when window of opportunity is closed if capturing a window] expected: FAIL [setFocusBehavior("[object Object\]") must throw TypeError if focusBehavior is invalid] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError if getDisplayMedia fails] expected: FAIL [setFocusBehavior("null") must throw TypeError if focusBehavior is invalid] expected: FAIL [setFocusBehavior("no-focus-change") must succeed when window of opportunity is opened if capturing a window] expected: FAIL [setFocusBehavior("focus-captured-surface") must throw InvalidStateError the second time if capturing a window] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError if getDisplayMedia fails] expected: FAIL [getDisplayMedia({controller: [object Object\]}) must fail with TypeError] expected: FAIL [getDisplayMedia({controller}) must fail with InvalidStateError if controller is bound] expected: FAIL [setFocusBehavior("no-focus-change") must throw InvalidStateError when window of opportunity is closed if capturing a browser] expected: FAIL [setFocusBehavior("invalid") must throw TypeError if focusBehavior is invalid] expected: FAIL [setFocusBehavior("focus-captured-surface") must succeed when getDisplayMedia promise is pending if capturing a browser] expected: FAIL [setFocusBehavior("true") must throw TypeError if focusBehavior is invalid] expected: FAIL