summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/mediacapture-record
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/mediacapture-record
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/mediacapture-record')
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-bitrate.https.html.ini4
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-canvas-media-source.https.html.ini6
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-creation.https.html.ini4
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-destroy-script-execution.html.ini5
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-detached-context.html.ini4
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-disabled-tracks.https.html.ini3
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-error.html.ini12
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-events-and-exceptions.html.ini4
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-mimetype.html.ini4
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-pause-resume.html.ini3
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection-no-sink.https.html.ini16
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection.https.html.ini83
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-start.html.ini3
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-stop.html.ini9
-rw-r--r--testing/web-platform/meta/mediacapture-record/MediaRecorder-video-key-frame-distance.html.ini6
-rw-r--r--testing/web-platform/meta/mediacapture-record/__dir__.ini3
-rw-r--r--testing/web-platform/meta/mediacapture-record/idlharness.window.js.ini14
-rw-r--r--testing/web-platform/meta/mediacapture-record/passthrough/MediaRecorder-passthrough.https.html.ini17
18 files changed, 200 insertions, 0 deletions
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-bitrate.https.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-bitrate.https.html.ini
new file mode 100644
index 0000000000..52c0b8991a
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-bitrate.https.html.ini
@@ -0,0 +1,4 @@
+[MediaRecorder-bitrate.https.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-canvas-media-source.https.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-canvas-media-source.https.html.ini
new file mode 100644
index 0000000000..bc58d6d93a
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-canvas-media-source.https.html.ini
@@ -0,0 +1,6 @@
+[MediaRecorder-canvas-media-source.https.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [MediaRecorder returns frames containing video content]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-creation.https.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-creation.https.html.ini
new file mode 100644
index 0000000000..ceef73fe4c
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-creation.https.html.ini
@@ -0,0 +1,4 @@
+[MediaRecorder-creation.https.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-destroy-script-execution.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-destroy-script-execution.html.ini
new file mode 100644
index 0000000000..c7c481d3b3
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-destroy-script-execution.html.ini
@@ -0,0 +1,5 @@
+[MediaRecorder-destroy-script-execution.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ max-asserts: 2
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-detached-context.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-detached-context.html.ini
new file mode 100644
index 0000000000..76921fa825
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-detached-context.html.ini
@@ -0,0 +1,4 @@
+[MediaRecorder-detached-context.html]
+ [MediaRecorder creation with detached context]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-disabled-tracks.https.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-disabled-tracks.https.html.ini
new file mode 100644
index 0000000000..6d02b632eb
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-disabled-tracks.https.html.ini
@@ -0,0 +1,3 @@
+[MediaRecorder-disabled-tracks.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-error.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-error.html.ini
new file mode 100644
index 0000000000..e47638a923
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-error.html.ini
@@ -0,0 +1,12 @@
+[MediaRecorder-error.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, ERROR]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [MediaRecorder will stop recording when any of track is added and error event will be fired]
+ expected: FAIL
+
+ [MediaRecorder will stop recording when any of track is removed and error event will be fired]
+ expected: FAIL
+
+ [MediaRecorder throws NotSupportedError when given both videoKeyFrameIntervalDuration and videoKeyFrameIntervalCount]
+ expected: FAIL
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-events-and-exceptions.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-events-and-exceptions.html.ini
new file mode 100644
index 0000000000..b8d317b227
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-events-and-exceptions.html.ini
@@ -0,0 +1,4 @@
+[MediaRecorder-events-and-exceptions.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-mimetype.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-mimetype.html.ini
new file mode 100644
index 0000000000..106861b684
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-mimetype.html.ini
@@ -0,0 +1,4 @@
+[MediaRecorder-mimetype.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-pause-resume.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-pause-resume.html.ini
new file mode 100644
index 0000000000..8e92369561
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-pause-resume.html.ini
@@ -0,0 +1,3 @@
+[MediaRecorder-pause-resume.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection-no-sink.https.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection-no-sink.https.html.ini
new file mode 100644
index 0000000000..6a9b63dd4b
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection-no-sink.https.html.ini
@@ -0,0 +1,16 @@
+[MediaRecorder-peerconnection-no-sink.https.html]
+ expected:
+ if (os == "android") and release_or_beta: OK
+ if (os == "linux") and debug and not fission and swgl: [OK, CRASH]
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if os == "android": [OK, TIMEOUT]
+ [MediaRecorder records from PeerConnection without sinks, {"video":{}}]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [FAIL, PASS, TIMEOUT]
+
+ [MediaRecorder records from PeerConnection without sinks, {"audio":{},"video":{}}]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [PASS, NOTRUN]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection.https.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection.https.html.ini
new file mode 100644
index 0000000000..f8c905348e
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-peerconnection.https.html.ini
@@ -0,0 +1,83 @@
+[MediaRecorder-peerconnection.https.html]
+ expected:
+ if (os == "android") and release_or_beta: OK
+ if (os == "linux") and not debug and fission and (processor == "x86"): [OK, CRASH]
+ if (os == "linux") and not debug and fission and (processor == "x86_64"): [OK, CRASH]
+ if os == "android": [TIMEOUT, OK]
+ [PeerConnection MediaRecorder receives data after onstart, {"video":{}} mimeType ""]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [TIMEOUT, PASS]
+
+ [PeerConnection MediaRecorder gets ondata on stopping tracks, {"video":{}} mimeType ""]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder receives data after onstart, {"audio":{}} mimeType ""]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder gets ondata on stopping tracks, {"audio":{}} mimeType ""]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder receives data after onstart, {"video":{},"audio":{}} mimeType ""]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder gets ondata on stopping tracks, {"video":{},"audio":{}} mimeType ""]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder receives data after onstart, {"audio":{}} mimeType "audio/webm;codecs=opus"]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder gets ondata on stopping tracks, {"audio":{}} mimeType "audio/webm;codecs=opus"]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder receives data after onstart, {"video":{}} mimeType "video/webm;codecs=vp8"]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder gets ondata on stopping tracks, {"video":{}} mimeType "video/webm;codecs=vp8"]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder receives data after onstart, {"video":{},"audio":{}} mimeType "video/webm;codecs=vp8,opus"]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [PeerConnection MediaRecorder gets ondata on stopping tracks, {"video":{},"audio":{}} mimeType "video/webm;codecs=vp8,opus"]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1669551
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [MediaRecorder constructor throws on no support, {"video":{}} mimeType "video/webm;codecs=vp9"]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
+
+ [MediaRecorder constructor throws on no support, {"video":{},"audio":{}} mimeType "video/webm;codecs=vp9,opus"]
+ expected:
+ if (os == "android") and release_or_beta: PASS
+ if os == "android": [NOTRUN, PASS]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-start.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-start.html.ini
new file mode 100644
index 0000000000..42871fcd68
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-start.html.ini
@@ -0,0 +1,3 @@
+[MediaRecorder-start.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-stop.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-stop.html.ini
new file mode 100644
index 0000000000..a479bbd9f2
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-stop.html.ini
@@ -0,0 +1,9 @@
+[MediaRecorder-stop.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ [MediaRecorder will fire only start and stop events in a basic recording flow.]
+ expected:
+ if (os == "linux") and not swgl and not fission and debug: [PASS, FAIL]
+ if (os == "linux") and not swgl and fission: [PASS, FAIL]
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "win") and not debug: [FAIL, PASS]
diff --git a/testing/web-platform/meta/mediacapture-record/MediaRecorder-video-key-frame-distance.html.ini b/testing/web-platform/meta/mediacapture-record/MediaRecorder-video-key-frame-distance.html.ini
new file mode 100644
index 0000000000..5ed3f9be50
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/MediaRecorder-video-key-frame-distance.html.ini
@@ -0,0 +1,6 @@
+[MediaRecorder-video-key-frame-distance.html]
+ [MediaRecorder interprets videoKeyFrameIntervalDuration]
+ expected: FAIL
+
+ [MediaRecorder interprets videoKeyFrameIntervalCount]
+ expected: FAIL
diff --git a/testing/web-platform/meta/mediacapture-record/__dir__.ini b/testing/web-platform/meta/mediacapture-record/__dir__.ini
new file mode 100644
index 0000000000..8018f59649
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/__dir__.ini
@@ -0,0 +1,3 @@
+prefs: [media.navigator.permission.disabled:true, media.navigator.streams.fake:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true]
+lsan-allowed: [NewSegment, mozilla::layers::BufferTextureData::CreateInternal]
+leak-threshold: [default:3020800]
diff --git a/testing/web-platform/meta/mediacapture-record/idlharness.window.js.ini b/testing/web-platform/meta/mediacapture-record/idlharness.window.js.ini
new file mode 100644
index 0000000000..f35ddfa49c
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/idlharness.window.js.ini
@@ -0,0 +1,14 @@
+[idlharness.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [BlobEvent interface: attribute timecode]
+ expected: FAIL
+
+ [BlobEvent interface: [object BlobEvent\] must inherit property "timecode" with the proper type]
+ expected: FAIL
+
+ [MediaRecorder interface: [object MediaRecorder\] must inherit property "audioBitrateMode" with the proper type]
+ expected: FAIL
+
+ [MediaRecorder interface: attribute audioBitrateMode]
+ expected: FAIL
diff --git a/testing/web-platform/meta/mediacapture-record/passthrough/MediaRecorder-passthrough.https.html.ini b/testing/web-platform/meta/mediacapture-record/passthrough/MediaRecorder-passthrough.https.html.ini
new file mode 100644
index 0000000000..95361d8968
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-record/passthrough/MediaRecorder-passthrough.https.html.ini
@@ -0,0 +1,17 @@
+[MediaRecorder-passthrough.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [PeerConnection passthrough MediaRecorder receives VP9 after onstart with a video stream.]
+ expected: FAIL
+
+ [PeerConnection passthrough MediaRecorder receives VP8 after onstart with a audio/video stream.]
+ expected: FAIL
+
+ [PeerConnection passthrough MediaRecorder receives VP9 after onstart with a audio/video stream.]
+ expected: FAIL
+
+ [PeerConnection passthrough MediaRecorder receives VP8 after onstart with a video stream.]
+ expected: FAIL
+
+ [PeerConnection passthrough MediaRecorder should be prepared to handle the codec switching from VP8 to VP9]
+ expected: FAIL