Bug 206656 - [GTK] Several WPT mediacapture-streams tests are failing since they were updated in r252335
Summary: [GTK] Several WPT mediacapture-streams tests are failing since they were upda...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-23 05:36 PST by Diego Pino
Modified: 2020-02-27 01:39 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2020-01-23 05:36:14 PST
* 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) "" but got (undefined) undefined
+FAIL A device can be opened twice and have the same device ID promise_test: Unhandled rejection with value: object "OverconstrainedError: Invalid constraint"
+FAIL A device can be opened twice with different resolutions requested promise_test: Unhandled rejection with value: object "OverconstrainedError: Invalid constraint"
+FAIL groupId is correctly reported by getSettings() for all input devices promise_test: Unhandled rejection with value: object "OverconstrainedError: Invalid constraint"
 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 "string" but got "undefined"
 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) "" but got (undefined) undefined
+FAIL A device can be opened twice and have the same device ID promise_test: Unhandled rejection with value: object "OverconstrainedError: Invalid constraint"
+FAIL A device can be opened twice with different resolutions requested promise_test: Unhandled rejection with value: object "OverconstrainedError: Invalid constraint"
+FAIL groupId is correctly reported by getSettings() for all input devices promise_test: Unhandled rejection with value: object "OverconstrainedError: Invalid constraint"
 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 "string" but got "undefined"
 PASS sampleRate is reported by getSettings() for getUserMedia() audio tracks
Comment 1 Diego Pino 2020-02-27 01:39:13 PST
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 'none' is ignored for MediaStream object URL used as srcObject for audio
-FAIL Test that preload 'none' is ignored for MediaStream used as srcObject for video assert_unreached: 'suspend' should not be fired. Reached unreachable code
+PASS Test that preload 'none' is ignored for MediaStream used as srcObject for video