[wpt-sync] Sync PR 41863 - Add "focus-capturing-application" CaptureStartFocusBehavior
Categories
(Core :: WebRTC: Audio/Video, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41863 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41863
Details from upstream follow.
François Beaufort <beaufort.francois@gmail.com> wrote:
Add "focus-capturing-application" CaptureStartFocusBehavior
WIP
Spec PR: https://github.com/w3c/mediacapture-screen-share/pull/270/
Change-Id: Ibd0ce6b1f5fb83f5edc11fc6a7d47ccb5259ceae
Reviewed-on: https://chromium-review.googlesource.com/4847118
WPT-Export-Revision: 7ec7b28c08dff5941d7aeec4df604ffcc04efb84
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 51 subtests
Status Summary
Firefox
OK : 1
FAIL: 51
Chrome
OK : 1
PASS: 38
FAIL: 13
Safari
OK : 1
FAIL: 51
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /screen-capture/getdisplaymedia-capture-controller.https.window.html [wpt.fyi]
- CaptureController in window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must succeed before capture starts:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must succeed before capture starts:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must succeed before capture starts:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("invalid") must throw TypeError if focusBehavior is invalid:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("null") must throw TypeError if focusBehavior is invalid:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("undefined") must throw TypeError if focusBehavior is invalid:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("[object Object]") must throw TypeError if focusBehavior is invalid:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("true") must throw TypeError if focusBehavior is invalid:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({controller}) must succeed:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({controller: invalid}) must fail with TypeError:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({controller: null}) must fail with TypeError:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({controller: [object Object]}) must fail with TypeError:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({controller: true}) must fail with TypeError:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({controller}) must fail with InvalidStateError if controller is bound:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must succeed when window of opportunity is opened if capturing a window:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must succeed when window of opportunity is opened if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must succeed when window of opportunity is opened if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must succeed when window of opportunity is opened if capturing a browser:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must succeed when window of opportunity is opened if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must succeed when window of opportunity is opened if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must succeed when getDisplayMedia promise is pending if capturing a window:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must succeed when getDisplayMedia promise is pending if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must succeed when getDisplayMedia promise is pending if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must succeed when getDisplayMedia promise is pending if capturing a browser:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must succeed when getDisplayMedia promise is pending if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must succeed when getDisplayMedia promise is pending if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError when track is stopped if capturing a window:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError when track is stopped if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError when track is stopped if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError when track is stopped if capturing a browser:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError when track is stopped if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError when track is stopped if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError if capturing a monitor:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError if capturing a monitor:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError if capturing a monitor:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError when window of opportunity is closed if capturing a window:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError when window of opportunity is closed if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError when window of opportunity is closed if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError when window of opportunity is closed if capturing a browser:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError when window of opportunity is closed if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError when window of opportunity is closed if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError the second time if capturing a window:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError the second time if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError the second time if capturing a window:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError the second time if capturing a browser:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError the second time if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError the second time if capturing a browser:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("focus-capturing-application") must throw InvalidStateError if getDisplayMedia fails:
FAIL(Chrome:FAIL, Safari:FAIL) - setFocusBehavior("focus-captured-surface") must throw InvalidStateError if getDisplayMedia fails:
FAIL(Chrome:PASS, Safari:FAIL) - setFocusBehavior("no-focus-change") must throw InvalidStateError if getDisplayMedia fails:
FAIL(Chrome:PASS, Safari:FAIL)
- CaptureController in window:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9dba8a9438dc
https://hg.mozilla.org/mozilla-central/rev/3f9e5702a9de
Description
•