Title: [286643] trunk/Source/WebCore
- Revision
- 286643
- Author
- [email protected]
- Date
- 2021-12-07 22:34:20 -0800 (Tue, 07 Dec 2021)
Log Message
[Model] Only expose APIs on the IDL interface when the feature is enabled
https://bugs.webkit.org/show_bug.cgi?id=233942
Reviewed by Dean Jackson.
* Modules/model-element/HTMLModelElement.idl:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (286642 => 286643)
--- trunk/Source/WebCore/ChangeLog 2021-12-08 06:28:55 UTC (rev 286642)
+++ trunk/Source/WebCore/ChangeLog 2021-12-08 06:34:20 UTC (rev 286643)
@@ -1,5 +1,14 @@
2021-12-07 Antoine Quint <[email protected]>
+ [Model] Only expose APIs on the IDL interface when the feature is enabled
+ https://bugs.webkit.org/show_bug.cgi?id=233942
+
+ Reviewed by Dean Jackson.
+
+ * Modules/model-element/HTMLModelElement.idl:
+
+2021-12-07 Antoine Quint <[email protected]>
+
ActiveDOMObject::suspendIfNeeded() should not be called in the WebAnimation constructor
https://bugs.webkit.org/show_bug.cgi?id=233932
Modified: trunk/Source/WebCore/Modules/model-element/HTMLModelElement.idl (286642 => 286643)
--- trunk/Source/WebCore/Modules/model-element/HTMLModelElement.idl 2021-12-08 06:28:55 UTC (rev 286642)
+++ trunk/Source/WebCore/Modules/model-element/HTMLModelElement.idl 2021-12-08 06:34:20 UTC (rev 286643)
@@ -34,21 +34,21 @@
undefined enterFullscreen();
- Promise<HTMLModelElementCamera> getCamera();
- Promise<undefined> setCamera(HTMLModelElementCamera camera);
+ [Conditional=ARKIT_INLINE_PREVIEW_CAMERA_TRANSFORM] Promise<HTMLModelElementCamera> getCamera();
+ [Conditional=ARKIT_INLINE_PREVIEW_CAMERA_TRANSFORM] Promise<undefined> setCamera(HTMLModelElementCamera camera);
- Promise<boolean> isPlayingAnimation();
- Promise<undefined> playAnimation();
- Promise<undefined> pauseAnimation();
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<boolean> isPlayingAnimation();
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> playAnimation();
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> pauseAnimation();
- Promise<boolean> isLoopingAnimation();
- Promise<undefined> setIsLoopingAnimation(boolean looping);
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<boolean> isLoopingAnimation();
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> setIsLoopingAnimation(boolean looping);
- Promise<double> animationDuration();
- Promise<double> animationCurrentTime();
- Promise<undefined> setAnimationCurrentTime(double currentTime);
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<double> animationDuration();
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<double> animationCurrentTime();
+ [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> setAnimationCurrentTime(double currentTime);
- Promise<boolean> hasAudio();
- Promise<boolean> isMuted();
- Promise<undefined> setIsMuted(boolean isMuted);
+ [Conditional=ARKIT_INLINE_PREVIEW_AUDIO_CONTROL] Promise<boolean> hasAudio();
+ [Conditional=ARKIT_INLINE_PREVIEW_AUDIO_CONTROL] Promise<boolean> isMuted();
+ [Conditional=ARKIT_INLINE_PREVIEW_AUDIO_CONTROL] Promise<undefined> setIsMuted(boolean isMuted);
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes