From edffa4e99466d896442e529a812dc5ff2f00f1dc Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Tue, 1 Oct 2024 08:05:41 +0200 Subject: [PATCH] Drop IDL patch from mediacapture-viewport The underlying issue (a dedicated dictionary should be used) still exists, but the IDL hiccup was fixed by reusing the `DisplayMediaStreamConstraints` dictionary. --- ed/idlpatches/mediacapture-viewport.idl.patch | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 ed/idlpatches/mediacapture-viewport.idl.patch diff --git a/ed/idlpatches/mediacapture-viewport.idl.patch b/ed/idlpatches/mediacapture-viewport.idl.patch deleted file mode 100644 index cb89bdcf03ba..000000000000 --- a/ed/idlpatches/mediacapture-viewport.idl.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 27765a0b82440cec7de0e4eb2ed1befadeb46cac Mon Sep 17 00:00:00 2001 -From: Dominique Hazael-Massieux -Date: Fri, 26 Aug 2022 09:34:39 +0200 -Subject: [PATCH] Replace non-longer-defined DisplayMediaStreamConstraints - -See https://github.com/w3c/mediacapture-viewport/pull/22 ---- - ed/idl/mediacapture-viewport.idl | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/ed/idl/mediacapture-viewport.idl b/ed/idl/mediacapture-viewport.idl -index 187bdf28d..a9dcf74e1 100644 ---- a/ed/idl/mediacapture-viewport.idl -+++ b/ed/idl/mediacapture-viewport.idl -@@ -5,5 +5,10 @@ - - partial interface MediaDevices { - Promise getViewportMedia( -- optional DisplayMediaStreamConstraints constraints = {}); -+ optional ViewportMediaStreamConstraints constraints = {}); -+}; -+ -+dictionary ViewportMediaStreamConstraints { -+ (boolean or MediaTrackConstraints) video = true; -+ (boolean or MediaTrackConstraints) audio = false; - }; --- -2.36.1 -