mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1045993 part 3 - Add AnimationEffect.name; r=dbaron, r=bz
This commit is contained in:
parent
5dd17adb88
commit
07f814acdf
@ -30,6 +30,11 @@ public:
|
||||
Animation* GetParentObject() const { return mAnimation; }
|
||||
virtual JSObject* WrapObject(JSContext* aCx) MOZ_OVERRIDE;
|
||||
|
||||
// AnimationEffect interface
|
||||
void GetName(nsString& aRetVal) const {
|
||||
aRetVal = mAnimation->Name();
|
||||
}
|
||||
|
||||
private:
|
||||
~AnimationEffect() { }
|
||||
|
||||
|
@ -12,4 +12,5 @@
|
||||
|
||||
[Pref="dom.animations-api.core.enabled"]
|
||||
interface AnimationEffect {
|
||||
readonly attribute DOMString name;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user