Index: core/css/FontFace.idl |
diff --git a/core/css/FontFace.idl b/core/css/FontFace.idl |
index 874872ffc24a51ed750ac55b6aa1c9076916ea4a..fcfef2d143b39657681d44bc0c16953792d3a90a 100644 |
--- a/core/css/FontFace.idl |
+++ b/core/css/FontFace.idl |
@@ -38,20 +38,19 @@ enum FontFaceLoadStatus { |
[ |
RuntimeEnabled=FontLoadEvents, |
Constructor(DOMString family, DOMString source, Dictionary descriptors), |
- ConstructorRaisesException |
+ RaisesException=Constructor |
] interface FontFace { |
- [SetterRaisesException] attribute DOMString family; |
- [SetterRaisesException] attribute DOMString style; |
- [SetterRaisesException] attribute DOMString weight; |
- [SetterRaisesException] attribute DOMString stretch; |
- [SetterRaisesException] attribute DOMString unicodeRange; |
- [SetterRaisesException] attribute DOMString variant; |
- [SetterRaisesException] attribute DOMString featureSettings; |
+ [RaisesException=Setter] attribute DOMString family; |
+ [RaisesException=Setter] attribute DOMString style; |
+ [RaisesException=Setter] attribute DOMString weight; |
+ [RaisesException=Setter] attribute DOMString stretch; |
+ [RaisesException=Setter] attribute DOMString unicodeRange; |
+ [RaisesException=Setter] attribute DOMString variant; |
+ [RaisesException=Setter] attribute DOMString featureSettings; |
readonly attribute FontFaceLoadStatus status; |
- // FIXME: Implement them |
- // void load(); |
- // Promise ready(); |
+ void load(); |
+ [CallWith=ExecutionContext] Promise ready(); |
}; |