Skip to content

Commit f383d72

Browse files
committed
Add events patches for mediacapture-surface-control
Pending resolution of the issues raised against the spec
1 parent 7fd1760 commit f383d72

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tools/amend-event-data.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,21 @@ const patches = {
270270
change: { bubbles: false}
271271
}
272272
],
273+
'mediacapture-surface-control': [
274+
// Pending clarification on the notion of "viewport":
275+
// https://github.com/w3c/mediacapture-surface-control/issues/51
276+
{
277+
pattern: { type: 'wheel' },
278+
matched: 1,
279+
delete: true
280+
},
281+
// Pending https://github.com/w3c/mediacapture-surface-control/issues/50
282+
{
283+
pattern: { type: 'capturedzoomlevelchange' },
284+
matched: 1,
285+
change: { interface: "Event" }
286+
}
287+
],
273288
'notifications': [
274289
{
275290
pattern: { type: /^notification(click|close)$/ },

0 commit comments

Comments
 (0)