Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9dd8793cb3ee3c57b311566d62552b2c03d863d3
https://github.com/WebKit/WebKit/commit/9dd8793cb3ee3c57b311566d62552b2c03d863d3
Author: Anuj Panta <[email protected]>
Date: 2026-01-15 (Thu, 15 Jan 2026)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/Layers3DContentView.js
Log Message:
-----------
Inspector: TypeError: layerGroup.clear is not a function.
https://bugs.webkit.org/show_bug.cgi?id=304509
rdar://166891010
Reviewed by BJ Burg.
Replace layerGroup.clear() calls with manual child removal for compatibility
with older Three.js versions that don't support the Group.clear() method.
This fixes TypeError crashes when refreshing layer contents or loading layer
textures in the 3D Layers view.
* Source/WebInspectorUI/UserInterface/Views/Layers3DContentView.js:
(WI.Layers3DContentView.prototype._populateLayerGroup):
(WI.Layers3DContentView.prototype._refreshAllLayers):
Canonical link: https://commits.webkit.org/305665@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications