diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations index 6ad3552538499..41a50c5e37dd2 100644 --- a/LayoutTests/TestExpectations +++ b/LayoutTests/TestExpectations @@ -6460,6 +6460,9 @@ webkit.org/b/256976 [ Debug ] imported/w3c/web-platform-tests/html/browsers/brow # Test has been timing out since its import. imported/w3c/web-platform-tests/dom/events/scrolling/scrollend-event-handler-content-attributes.html [ Skip ] +# New faliure after re-importing mediacapture-streams. +webkit.org/b/274091 imported/w3c/web-platform-tests/mediacapture-streams/idlharness.https.window.html + # Recent WPT update webkit.org/b/255101 imported/w3c/web-platform-tests/css/css-backgrounds/background-attachment-fixed-inside-transform-1.html [ ImageOnlyFailure ] webkit.org/b/255101 imported/w3c/web-platform-tests/css/css-backgrounds/background-attachment-local-hidden.html [ ImageOnlyFailure ] diff --git a/LayoutTests/imported/w3c/resources/resource-files.json b/LayoutTests/imported/w3c/resources/resource-files.json index f9b37eef32595..ef7be17af3be5 100644 --- a/LayoutTests/imported/w3c/resources/resource-files.json +++ b/LayoutTests/imported/w3c/resources/resource-files.json @@ -7939,7 +7939,6 @@ "web-platform-tests/mathml/relations/text-and-math/use-typo-metrics-1-ref.html", "web-platform-tests/mathml/tools/operator-dictionary.xsl", "web-platform-tests/mediacapture-record/support/MediaRecorder-iframe.html", - "web-platform-tests/mediacapture-streams/crashtests/enumerateDevices-after-discard-1.https.html", "web-platform-tests/mediacapture-streams/iframe-enumerate-cleared.html", "web-platform-tests/mediacapture-streams/iframe-enumerate-nogum.html", "web-platform-tests/mediacapture-streams/iframe-enumerate.html", diff --git a/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-cropTo.https-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-cropTo.https-expected.txt new file mode 100644 index 0000000000000..ea32fe5b94db5 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-cropTo.https-expected.txt @@ -0,0 +1,9 @@ +When prompted, accept to give permission to use your audio, video devices. + +Description +This test checks that BrowserCaptureMediaStreamTrack cropping works as expected. + +Start test + +FAIL Tests that cropping MediaStreamTrack objects works as expected promise_test: Unhandled rejection with value: object "InvalidStateError: getDisplayMedia must be called from a user gesture handler." + diff --git a/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-cropTo.https.html b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-cropTo.https.html new file mode 100644 index 0000000000000..f84029433f696 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-cropTo.https.html @@ -0,0 +1,66 @@ + + + +
++ When prompted, accept to give permission to use your audio, video devices. +
++ This test checks that BrowserCaptureMediaStreamTrack cropping works as + expected. +
+ + + + + + + + + + + + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-restrictTo.https-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-restrictTo.https-expected.txt new file mode 100644 index 0000000000000..f4d4a25f108e5 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-restrictTo.https-expected.txt @@ -0,0 +1,11 @@ +When prompted, accept to give permission to use your audio, video devices. + +Description +This test checks that restricting BrowserCaptureMediaStreamTrack works as expected. + + + +FAIL Tests that restricting MediaStreamTrack objects works as expected (StackingContext). promise_test: Unhandled rejection with value: object "InvalidStateError: getDisplayMedia must be called from a user gesture handler." +FAIL Tests that restricting MediaStreamTrack objects works as expected (OnlyOneBoxFragment). promise_test: Unhandled rejection with value: object "InvalidStateError: getDisplayMedia must be called from a user gesture handler." +FAIL Tests that restricting MediaStreamTrack objects works as expected (FlattenedIn3D). promise_test: Unhandled rejection with value: object "InvalidStateError: getDisplayMedia must be called from a user gesture handler." + diff --git a/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-restrictTo.https.html b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-restrictTo.https.html new file mode 100644 index 0000000000000..4b0da740bdf72 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/BrowserCaptureMediaStreamTrack-restrictTo.https.html @@ -0,0 +1,245 @@ + + + + ++ When prompted, accept to give permission to use your audio, video devices. +
++ This test checks that restricting BrowserCaptureMediaStreamTrack works as + expected. +
+ + + + +