diff --git a/testing/web-platform/tests/interfaces/appmanifest.idl b/testing/web-platform/tests/interfaces/appmanifest.idl index ddfe82dc34d3..4a6425829f23 100644 --- a/testing/web-platform/tests/interfaces/appmanifest.idl +++ b/testing/web-platform/tests/interfaces/appmanifest.idl @@ -3,10 +3,10 @@ // (https://github.com/tidoust/reffy-reports) // Source: Web App Manifest (https://w3c.github.io/manifest/) -[Constructor(DOMString type, optional EventInit eventInitDict = {}), - Exposed=Window] +[Exposed=Window] interface BeforeInstallPromptEvent : Event { - Promise prompt(); + constructor(DOMString type, optional EventInit eventInitDict = {}); + Promise prompt(); }; dictionary PromptResponseObject {