LibWeb: Delete public constructor of FontFaceSet

The IDL definition in the spec does not have a public constructor, and
our test that relies on it was failing to run in other browsers.
This commit is contained in:
Aliaksandr Kalenik
2024-09-29 23:19:08 +02:00
committed by Andreas Kling
parent ee7b90b789
commit 814fa0682a
2 changed files with 1 additions and 3 deletions

View File

@@ -17,8 +17,6 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
// https://drafts.csswg.org/css-font-loading/#fontfaceset
[Exposed=(Window,Worker)]
interface FontFaceSet : EventTarget {
constructor(sequence<FontFace> initialFaces);
setlike<FontFace>;
FontFaceSet add(FontFace font);
boolean delete(FontFace font);