[Web Animations] Refactor AnimationEffect and KeyframeEffect into AnimationEffectRead...
[WebKit-https.git] / Source / WebCore / animation / AnimationEffectReadOnly.idl
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2017-2018 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -25,8 +25,9 @@
 
 [
     EnabledAtRuntime=WebAnimations,
+    Exposed=Window,
     CustomToJSObject
-] interface AnimationEffect {
-    readonly attribute AnimationEffectTiming timing;
+] interface AnimationEffectReadOnly {
+    readonly attribute AnimationEffectTimingReadOnly timing;
     ComputedTimingProperties getComputedTiming();
 };