| Index: core/css/FontFaceSet.idl
|
| diff --git a/core/css/FontFaceSet.idl b/core/css/FontFaceSet.idl
|
| index 50525e52f7b144de4d347bc4a3ab92f7f084668c..9f7480e75a05f1171a49ab6f21bfeae33d220468 100644
|
| --- a/core/css/FontFaceSet.idl
|
| +++ b/core/css/FontFaceSet.idl
|
| @@ -35,19 +35,12 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
| // TODO(philipj): This interface should be [Exposed=Window,Worker] and should
|
| // have a constructor, and thus not have [NoInterfaceObject].
|
| [
|
| - ActiveDOMObject,
|
| + DependentLifetime,
|
| SetWrapperReferenceFrom=document,
|
| NoInterfaceObject,
|
| ] interface FontFaceSet : EventTarget {
|
| - // TODO(ksakamoto): Make FontFaceSet Set-like. crbug.com/392075
|
| - // setlike<FontFace>;
|
| - void forEach(FontFaceSetForEachCallback callback, optional any thisArg);
|
| - [RaisesException] boolean has(FontFace fontFace);
|
| + setlike<FontFace>;
|
| readonly attribute unsigned long size;
|
| - // TODO(philipj): add() should return the FontFaceSet.
|
| - [RaisesException] void add(FontFace fontFace);
|
| - [RaisesException, ImplementedAs=remove] boolean delete(FontFace fontFace);
|
| - void clear();
|
|
|
| // events for when loading state changes
|
| attribute EventHandler onloading;
|
|
|