| This is a testharness.js-based test. |
| PASS getDisplayMedia in navigator.mediaDevices |
| FAIL getDisplayMedia() must require user activation assert_unreached: Should have rejected: getDisplayMedia should have returned an already-rejected promise. Reached unreachable code |
| PASS getDisplayMedia({"video":true}) must succeed with video |
| PASS getDisplayMedia({"video":true,"audio":false}) must succeed with video |
| PASS getDisplayMedia({"audio":false}) must succeed with video |
| FAIL getDisplayMedia({"audio":true}) must succeed with video promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'getDisplayMedia' on 'MediaDevices': Audio only requests are not supported" |
| PASS getDisplayMedia({}) must succeed with video |
| PASS getDisplayMedia(undefined) must succeed with video |
| FAIL getDisplayMedia({"video":false}) must fail with TypeError assert_unreached: Should have rejected: getDisplayMedia should have returned an already-rejected promise. Reached unreachable code |
| PASS getDisplayMedia({"video":{"advanced":[{"width":320}]}}) must fail with TypeError |
| PASS getDisplayMedia({"video":{"width":{"min":320}}}) must fail with TypeError |
| PASS getDisplayMedia({"video":{"width":{"exact":320}}}) must fail with TypeError |
| PASS getDisplayMedia({"video":{"height":{"min":240}}}) must fail with TypeError |
| PASS getDisplayMedia({"video":{"height":{"exact":240}}}) must fail with TypeError |
| PASS getDisplayMedia({"video":{"frameRate":{"min":4}}}) must fail with TypeError |
| PASS getDisplayMedia({"video":{"frameRate":{"exact":4}}}) must fail with TypeError |
| PASS getDisplayMedia({"video":false,"audio":true}) must fail with TypeError |
| PASS getDisplayMedia({"video":true,"audio":true}) must succeed with video maybe audio |
| PASS getDisplayMedia({video: {"width":{"max":360}}}) must be constrained |
| PASS getDisplayMedia({video: {"height":{"max":240}}}) must be constrained |
| PASS getDisplayMedia({video: {"width":{"max":360},"height":{"max":240}}}) must be constrained |
| PASS getDisplayMedia({video: {"frameRate":{"max":4}}}) must be constrained |
| PASS getDisplayMedia({video: {"frameRate":{"max":4},"width":{"max":360}}}) must be constrained |
| PASS getDisplayMedia({video: {"frameRate":{"max":4},"height":{"max":240}}}) must be constrained |
| PASS getDisplayMedia({video: {"frameRate":{"max":4},"width":{"max":360},"height":{"max":240}}}) must be constrained |
| PASS getDisplayMedia({video: {"width":160}}) must be downscaled precisely |
| PASS getDisplayMedia({video: {"height":120}}) must be downscaled precisely |
| PASS getDisplayMedia({video: {"width":80}}) must be downscaled precisely |
| PASS getDisplayMedia({video: {"height":60}}) must be downscaled precisely |
| PASS getDisplayMedia({video: {"width":158}}) must be downscaled precisely |
| PASS getDisplayMedia({video: {"height":118}}) must be downscaled precisely |
| PASS applyConstraints(width or height) must downscale precisely |
| PASS getDisplayMedia({"video":{"width":{"max":0}}}) must fail with OverconstrainedError |
| PASS getDisplayMedia({"video":{"height":{"max":0}}}) must fail with OverconstrainedError |
| FAIL getDisplayMedia({"video":{"frameRate":{"max":0}}}) must fail with OverconstrainedError assert_unreached: getDisplayMedia should have failed Reached unreachable code |
| PASS getDisplayMedia({"video":{"width":{"max":-1}}}) must fail with OverconstrainedError |
| PASS getDisplayMedia({"video":{"height":{"max":-1}}}) must fail with OverconstrainedError |
| PASS getDisplayMedia({"video":{"frameRate":{"max":-1}}}) must fail with OverconstrainedError |
| PASS getDisplayMedia() resolves with stream with video track |
| PASS getDisplayMedia() with getSettings |
| Harness: the test ran to completion. |
| |