Title: [290562] trunk/Source/WebCore
- Revision
- 290562
- Author
- [email protected]
- Date
- 2022-02-27 08:26:51 -0800 (Sun, 27 Feb 2022)
Log Message
Loading a USDZ url as the main resource renders as garbage
https://bugs.webkit.org/show_bug.cgi?id=237240
rdar://88767033
Reviewed by Antoine Quint.
We can't render a USD document if the ModelDocument feature is not enabled.
* platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::canShowMIMEType):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (290561 => 290562)
--- trunk/Source/WebCore/ChangeLog 2022-02-27 16:17:03 UTC (rev 290561)
+++ trunk/Source/WebCore/ChangeLog 2022-02-27 16:26:51 UTC (rev 290562)
@@ -1,3 +1,16 @@
+2022-02-27 Dean Jackson <[email protected]>
+
+ Loading a USDZ url as the main resource renders as garbage
+ https://bugs.webkit.org/show_bug.cgi?id=237240
+ rdar://88767033
+
+ Reviewed by Antoine Quint.
+
+ We can't render a USD document if the ModelDocument feature is not enabled.
+
+ * platform/MIMETypeRegistry.cpp:
+ (WebCore::MIMETypeRegistry::canShowMIMEType):
+
2022-02-27 Antoine Quint <[email protected]>
[css-animations] implicit keyframes should be inserted after explicit keyframes with the same offset
Modified: trunk/Source/WebCore/platform/MIMETypeRegistry.cpp (290561 => 290562)
--- trunk/Source/WebCore/platform/MIMETypeRegistry.cpp 2022-02-27 16:17:03 UTC (rev 290561)
+++ trunk/Source/WebCore/platform/MIMETypeRegistry.cpp 2022-02-27 16:26:51 UTC (rev 290562)
@@ -28,6 +28,7 @@
#include "MIMETypeRegistry.h"
#include "MediaPlayer.h"
+#include "RuntimeEnabledFeatures.h"
#include "ThreadGlobalData.h"
#include <wtf/FixedVector.h>
#include <wtf/HashMap.h>
@@ -667,7 +668,7 @@
#endif
#if ENABLE(MODEL_ELEMENT)
- if (isSupportedModelMIMEType(mimeType))
+ if (isSupportedModelMIMEType(mimeType) && RuntimeEnabledFeatures::sharedFeatures().modelDocumentEnabled())
return true;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes