<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>206656</bug_id>
          
          <creation_ts>2020-01-23 05:36:14 -0800</creation_ts>
          <short_desc>[GTK] Several WPT mediacapture-streams tests are failing since they were updated in r252335</short_desc>
          <delta_ts>2026-04-26 02:47:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>307032</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Pino">dpino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1610069</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-23 05:36:14 -0800</bug_when>
    <thetext>* imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https.html [ Failure ]
  * imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https.html [ Failure ]
  * imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html [ Failure ]
  * imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https.html [ Failure ]

--- /w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https-expected.txt
+++ /w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https-actual.txt
@@ -7,6 +7,6 @@
 
 
 PASS Tests that a removal from a MediaStream works as expected
-PASS Test that removal from a MediaStream fires ended on media elements (video first) 
+FAIL Test that removal from a MediaStream fires ended on media elements (video first) assert_equals: audio element ended because no more audio tracks expected true but got false
 FAIL Test that removal from a MediaStream fires ended on media elements (audio first) assert_equals: audio element ended because no more audio tracks expected true but got false


--- /w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https-expected.txt
+++ /w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 3463: Error: assert_unreached: Got unexpected event resize Reached unreachable code
 When prompted, accept to share your video stream.

 Description

--- /w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https-expected.txt 
+++ /w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https-actual.txt
@@ -1,9 +1,9 @@
 When prompted, accept to share your video stream.
 

-PASS A device can be opened twice and have the same device ID 
-PASS A device can be opened twice with different resolutions requested 
-FAIL groupId is correctly reported by getSettings() for all input devices assert_equals: expected (string) &quot;&quot; but got (undefined) undefined
+FAIL A device can be opened twice and have the same device ID promise_test: Unhandled rejection with value: object &quot;OverconstrainedError: Invalid constraint&quot;
+FAIL A device can be opened twice with different resolutions requested promise_test: Unhandled rejection with value: object &quot;OverconstrainedError: Invalid constraint&quot;
+FAIL groupId is correctly reported by getSettings() for all input devices promise_test: Unhandled rejection with value: object &quot;OverconstrainedError: Invalid constraint&quot;
 PASS deviceId is reported by getSettings() for getUserMedia() audio tracks 
 FAIL groupId is reported by getSettings() for getUserMedia() audio tracks assert_equals: groupId should exist and it should be a string. expected &quot;string&quot; but got &quot;undefined&quot;
 PASS sampleRate is reported by getSettings() for getUserMedia() audio tracks 

--- /w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https-expected.txt
+++ /w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https-actual.txt
@@ -1,9 +1,9 @@
 When prompted, accept to share your video stream.
 

-PASS A device can be opened twice and have the same device ID 
-PASS A device can be opened twice with different resolutions requested 
-FAIL groupId is correctly reported by getSettings() for all input devices assert_equals: expected (string) &quot;&quot; but got (undefined) undefined
+FAIL A device can be opened twice and have the same device ID promise_test: Unhandled rejection with value: object &quot;OverconstrainedError: Invalid constraint&quot;
+FAIL A device can be opened twice with different resolutions requested promise_test: Unhandled rejection with value: object &quot;OverconstrainedError: Invalid constraint&quot;
+FAIL groupId is correctly reported by getSettings() for all input devices promise_test: Unhandled rejection with value: object &quot;OverconstrainedError: Invalid constraint&quot;
 PASS deviceId is reported by getSettings() for getUserMedia() audio tracks 
 FAIL groupId is reported by getSettings() for getUserMedia() audio tracks assert_equals: groupId should exist and it should be a string. expected &quot;string&quot; but got &quot;undefined&quot;
 PASS sampleRate is reported by getSettings() for getUserMedia() audio tracks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1623403</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-02-27 01:39:13 -0800</bug_when>
    <thetext>Another test is failing/flaky also since the revision:

* imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-preload-none-manual.https.html [ Failure Pass ]

Diff:

--- /layout-test-results/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-preload-none-manual.https-expected.txt
+++ /layout-test-results/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-preload-none-manual.https-actual.txt
@@ -4,5 +4,5 @@


 PASS Test that preload &apos;none&apos; is ignored for MediaStream object URL used as srcObject for audio
-FAIL Test that preload &apos;none&apos; is ignored for MediaStream used as srcObject for video assert_unreached: &apos;suspend&apos; should not be fired. Reached unreachable code
+PASS Test that preload &apos;none&apos; is ignored for MediaStream used as srcObject for video</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204579</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2026-04-26 02:44:38 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 307032 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204581</commentid>
    <comment_count>3</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2026-04-26 02:47:00 -0700</bug_when>
    <thetext>Out of the original tests filed under this bug, only two are still failing:

```
Regressions: Unexpected text-only failures (2)
  imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https.html [ Failure ]
  imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html [ Failure ]
```

MediaStreamTrack-MediaElement-disabled-video-is-black.https.html is marked a flaky failure in the general TestExpectations file:
```
imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html [ Pass Failure ]
```

Test &apos;MediaStream-removetrack.https.html&apos; is filed as flaky timeout in GLIB ports:
```
webkit.org/b/307032 imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https.html [ Timeout Failure ]
```</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>