From e5ca70f6b8f5ff32572a51adbcae71622f378004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 26 Jul 2024 22:07:19 +0200 Subject: [PATCH 1/2] Add the Presentation API --- features/{draft/spec => }/presentation-api.yml | 6 ++++-- .../{draft/spec => }/presentation-api.yml.dist | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) rename features/{draft/spec => }/presentation-api.yml (85%) rename features/{draft/spec => }/presentation-api.yml.dist (89%) diff --git a/features/draft/spec/presentation-api.yml b/features/presentation-api.yml similarity index 85% rename from features/draft/spec/presentation-api.yml rename to features/presentation-api.yml index 99a61b9a3f7..8e821215282 100644 --- a/features/draft/spec/presentation-api.yml +++ b/features/presentation-api.yml @@ -1,7 +1,8 @@ -draft_date: 2024-07-11 name: Presentation API -description: TODO +description: The Presentation API allows you to show and control content on another device, such as a network-connected TV. spec: https://w3c.github.io/presentation-api/ +status: + compute_from: api.PresentationRequest.PresentationRequest compat_features: - api.Navigator.presentation - api.Presentation @@ -35,3 +36,4 @@ compat_features: - api.PresentationRequest.getAvailability - api.PresentationRequest.reconnect - api.PresentationRequest.start + - html.elements.iframe.sandbox.allow-presentation diff --git a/features/draft/spec/presentation-api.yml.dist b/features/presentation-api.yml.dist similarity index 89% rename from features/draft/spec/presentation-api.yml.dist rename to features/presentation-api.yml.dist index e48047f8e8c..f7b5d10bc24 100644 --- a/features/draft/spec/presentation-api.yml.dist +++ b/features/presentation-api.yml.dist @@ -4,10 +4,20 @@ status: baseline: false support: - chrome: "59" - chrome_android: "59" + chrome: "47" + chrome_android: "47" edge: "79" compat_features: + # baseline: false + # support: + # chrome: "53" + # chrome_android: "53" + # edge: "79" + # firefox: "50" + # firefox_android: "50" + - html.elements.iframe.sandbox.allow-presentation + + # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "47" @@ -65,7 +75,6 @@ compat_features: # edge: "79" - api.PresentationConnection.url - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "59" From 97bf2ab2a3d989abc7891f24458cbb0483236eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 7 Aug 2024 16:16:20 +0200 Subject: [PATCH 2/2] Update features/presentation-api.yml Co-authored-by: Daniel D. Beck --- features/presentation-api.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/presentation-api.yml b/features/presentation-api.yml index 8e821215282..ff88fcbe7ad 100644 --- a/features/presentation-api.yml +++ b/features/presentation-api.yml @@ -1,5 +1,5 @@ name: Presentation API -description: The Presentation API allows you to show and control content on another device, such as a network-connected TV. +description: The Presentation API shows or controls content on another display, such as a network-connected TV or projector. spec: https://w3c.github.io/presentation-api/ status: compute_from: api.PresentationRequest.PresentationRequest