From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../tests/mediacapture-streams/GUM-api.https.html | 23 +++++++ .../tests/mediacapture-streams/GUM-deny.https.html | 38 +++++++++++ .../GUM-empty-option-param.https.html | 35 +++++++++++ .../GUM-impossible-constraint.https.html | 35 +++++++++++ .../GUM-optional-constraint.https.html | 32 ++++++++++ .../GUM-trivial-constraint.https.html | 31 +++++++++ .../GUM-unknownkey-option-param.https.html | 37 +++++++++++ .../MediaDevices-enumerateDevices.https.html | 47 ++++++++++++++ .../MediaDevices-getUserMedia.https.html | 41 ++++++++++++ ...ediaStream-MediaElement-preload-none.https.html | 58 +++++++++++++++++ .../MediaStream-MediaElement-srcObject.https.html | 55 ++++++++++++++++ .../MediaStream-add-audio-track.https.html | 54 ++++++++++++++++ .../MediaStream-audio-only.https.html | 35 +++++++++++ .../MediaStream-finished-add.https.html | 45 +++++++++++++ .../MediaStream-gettrackid.https.html | 35 +++++++++++ .../MediaStream-id-manual.https.html | 32 ++++++++++ .../MediaStream-idl.https.html | 52 +++++++++++++++ .../MediaStream-removetrack.https.html | 46 ++++++++++++++ .../MediaStream-video-only.https.html | 32 ++++++++++ ...diaElement-disabled-audio-is-silence.https.html | 55 ++++++++++++++++ ...MediaElement-disabled-video-is-black.https.html | 56 +++++++++++++++++ .../MediaStreamTrack-end.https.html | 39 ++++++++++++ .../MediaStreamTrack-id.https.html | 28 +++++++++ .../MediaStreamTrack-init.https.html | 73 ++++++++++++++++++++++ .../MediaStreamTrackEvent-constructor.https.html | 42 +++++++++++++ .../web-platform/tests/mediacapture-streams/OWNERS | 3 + 26 files changed, 1059 insertions(+) create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-api.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-deny.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-empty-option-param.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-impossible-constraint.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-optional-constraint.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-trivial-constraint.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-unknownkey-option-param.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaDevices-getUserMedia.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-srcObject.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-add-audio-track.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-audio-only.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-finished-add.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-gettrackid.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-id-manual.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-idl.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-removetrack.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStream-video-only.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-end.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-id.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-init.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaStreamTrackEvent-constructor.https.html create mode 100644 testing/web-platform/tests/mediacapture-streams/OWNERS (limited to 'testing/web-platform/tests/mediacapture-streams') diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-api.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-api.https.html new file mode 100644 index 000000000..6e662dded --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-api.https.html @@ -0,0 +1,23 @@ + + + +getUserMedia: test that getUserMedia is present (with or without vendor prefix) + + + + + +

Description

+

This test checks for the presence of the +navigator.getUserMedia method, taking vendor prefixes into account.

+
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-deny.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-deny.https.html new file mode 100644 index 000000000..cce0e1c18 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-deny.https.html @@ -0,0 +1,38 @@ + + + + getUserMedia() triggers error callback when auth is denied + + + + + +

When prompted, please deny access to +the video stream.

+

Description

+

This test checks that the error callback is triggered +when user denies access to the video stream.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-empty-option-param.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-empty-option-param.https.html new file mode 100644 index 000000000..a543129bb --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-empty-option-param.https.html @@ -0,0 +1,35 @@ + + + +getUserMedia({}) aborts with NOT_SUPPORTED_ERR + + + + +

Description

+

This test checks that getUserMedia with no value in the +options parameter raises a NOT_SUPPORTED_ERR exception.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-impossible-constraint.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-impossible-constraint.https.html new file mode 100644 index 000000000..b63856275 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-impossible-constraint.https.html @@ -0,0 +1,35 @@ + + + +Trivial mandatory constraint in getUserMedia + + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that setting an impossible mandatory +constraint (width >=1G) in getUserMedia works

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-optional-constraint.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-optional-constraint.https.html new file mode 100644 index 000000000..7e69ca03f --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-optional-constraint.https.html @@ -0,0 +1,32 @@ + + + +Optional constraint recognized as optional in getUserMedia + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that setting an optional constraint in +getUserMedia is handled as optional

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-trivial-constraint.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-trivial-constraint.https.html new file mode 100644 index 000000000..c24d02b84 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-trivial-constraint.https.html @@ -0,0 +1,31 @@ + + + +Trivial mandatory constraint in getUserMedia + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that setting a trivial mandatory +constraint (width >=0) in getUserMedia works

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-unknownkey-option-param.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-unknownkey-option-param.https.html new file mode 100644 index 000000000..c288c7439 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/GUM-unknownkey-option-param.https.html @@ -0,0 +1,37 @@ + + + +getUserMedia({doesnotexist:true}) aborts with NOT_SUPPORTED_ERR + + + + +

Description

+

This test checks that getUserMedia with an unknown value +in the options parameter raises a NOT_SUPPORTED_ERR exception.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices.https.html b/testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices.https.html new file mode 100644 index 000000000..806416e2c --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices.https.html @@ -0,0 +1,47 @@ + + + +enumerateDevices: test that enumerateDevices is present + + + + + +

Description

+

This test checks for the presence of the +navigator.mediaDevices.enumerateDevices() method.

+
+ + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaDevices-getUserMedia.https.html b/testing/web-platform/tests/mediacapture-streams/MediaDevices-getUserMedia.https.html new file mode 100644 index 000000000..0573ab0a5 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaDevices-getUserMedia.https.html @@ -0,0 +1,41 @@ + + + +getUserMedia: test that mediaDevices.getUserMedia is present + + + + + +

Description

+

This test checks for the presence of the +navigator.mediaDevices.getUserMedia method.

+
+ + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html new file mode 100644 index 000000000..ce97806a8 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html @@ -0,0 +1,58 @@ + + + + + Test that the HTMLMediaElement preload 'none' attribute value is ignored for MediaStream used as srcObject and MediaStream object URLs used as src.> + + + + + + +

When prompted, accept to share your audio and video streams.

+

Description

+

This test checks that the HTMLMediaElement preload 'none' attribute value is ignored for MediaStream used as srcObject and MediaStream object URLs used as src.

+ + + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-srcObject.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-srcObject.https.html new file mode 100644 index 000000000..1bdbe3eee --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-MediaElement-srcObject.https.html @@ -0,0 +1,55 @@ + + + +Assigning mediastream to a video element + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that the MediaStream object returned by +the success callback in getUserMedia can be properly assigned to a video element +via the srcObject attribute.

+ + + +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-add-audio-track.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-add-audio-track.https.html new file mode 100644 index 000000000..e3650aae0 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-add-audio-track.https.html @@ -0,0 +1,54 @@ + + + +Adding a track to a MediaStream + + + + + +

When prompted, accept to share your audio stream, then your video stream.

+

Description

+

This test checks that adding a track to a MediaStream works as expected.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-audio-only.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-audio-only.https.html new file mode 100644 index 000000000..77d6d0c19 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-audio-only.https.html @@ -0,0 +1,35 @@ + + + +getUserMedia({audio:true}) creates a stream with at least an audio track + + + + + +

When prompted, accept to share your audio stream.

+

Description

+

This test checks that the MediaStream object returned by +the success callback in getUserMedia has exactly one audio track.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-finished-add.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-finished-add.https.html new file mode 100644 index 000000000..a0c4b28b1 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-finished-add.https.html @@ -0,0 +1,45 @@ + + + +Adding a track to an inactive MediaStream + + + + + +

When prompted, accept to share your audio stream, then +your video stream.

+

Description

+

This test checks that adding a track to an inactive +MediaStream is allowed.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-gettrackid.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-gettrackid.https.html new file mode 100644 index 000000000..a7fabdaac --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-gettrackid.https.html @@ -0,0 +1,35 @@ + + + +Retrieving a track from a MediaStream + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that MediaStream.getTrackById behaves as expected

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-id-manual.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-id-manual.https.html new file mode 100644 index 000000000..88f095458 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-id-manual.https.html @@ -0,0 +1,32 @@ + + + +getUserMedia() creates a stream with a proper id + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that the MediaStream object returned by +the success callback in getUserMedia has a correct id.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-idl.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-idl.https.html new file mode 100644 index 000000000..81cce51c1 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-idl.https.html @@ -0,0 +1,52 @@ + + + +MediaStream constructor algorithm + + + + + + + + + +

When prompted, accept to share your video and audio stream.

+

Description

+

This test checks that the MediaStream constructor +follows the algorithm set in the spec.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-removetrack.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-removetrack.https.html new file mode 100644 index 000000000..1a62bedd7 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-removetrack.https.html @@ -0,0 +1,46 @@ + + + +Removing a track from a MediaStream + + + + + +

When prompted, accept to share your audio stream, then your video stream.

+

Description

+

This test checks that removinging a track from a MediaStream works as expected.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStream-video-only.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStream-video-only.https.html new file mode 100644 index 000000000..aaf880ff5 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStream-video-only.https.html @@ -0,0 +1,32 @@ + + + +getUserMedia({video:true}) creates a stream with one video track + + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that the MediaStream object returned by +the success callback in getUserMedia has exactly one video track and no audio.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https.html new file mode 100644 index 000000000..189bb849e --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https.html @@ -0,0 +1,55 @@ + + + +A disabled audio track is rendered as silence + + + + + +

When prompted, accept to share your audio stream.

+

Description

+

This test checks that a disabled audio track in a +MediaStream is rendered as silence. It relies on the + +Web Audio API.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html new file mode 100644 index 000000000..fef3f4f3b --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html @@ -0,0 +1,56 @@ + + + +A disabled video track is rendered as blackness + + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that a disabled video track in a +MediaStream is rendered as blackness.

+ + +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-end.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-end.https.html new file mode 100644 index 000000000..6b6b72fc0 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-end.https.html @@ -0,0 +1,39 @@ + + + +Test that mediastreamtrack are properly ended + + + + +

When prompted, accept to share your video and audio +stream, and then revoke that permission.

+

Description

+

This test checks that the video and audio tracks of +MediaStream object returned by the success callback in getUserMedia are +correctly set into inactive state when permission is revoked.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-id.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-id.https.html new file mode 100644 index 000000000..866b48f94 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-id.https.html @@ -0,0 +1,28 @@ + + + +Distinct id for distinct mediastream tracks + + + + +

When prompted, accept to share your audio and video stream.

+

Description

+

This test checks that distinct mediastream tracks have distinct ids.

+ +
+ + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-init.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-init.https.html new file mode 100644 index 000000000..3aa12052d --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-init.https.html @@ -0,0 +1,73 @@ + + + +getUserMedia({video:true}) creates a stream with a properly initialized video track + + + + + + + + +

When prompted, accept to share your video stream.

+

Description

+

This test checks that the video track of MediaStream +object returned by the success callback in getUserMedia is correctly initialized.

+ +
+ + + + + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/MediaStreamTrackEvent-constructor.https.html b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrackEvent-constructor.https.html new file mode 100644 index 000000000..8f5a543d8 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaStreamTrackEvent-constructor.https.html @@ -0,0 +1,42 @@ + +MediaStreamTrackEvent constructor + + + + diff --git a/testing/web-platform/tests/mediacapture-streams/OWNERS b/testing/web-platform/tests/mediacapture-streams/OWNERS new file mode 100644 index 000000000..2fec44486 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/OWNERS @@ -0,0 +1,3 @@ +@agouaillard +@alvestrand +@dontcallmedom -- cgit v1.2.3