Bug 304509

Summary: Web Inspector: TypeError:​ layerGroup.clear is not a function. (In 'layerGroup.clear()​', 'layerGroup.clear' is undefined)​ (at Layers3DContentView.js:​324:​33)​
Product: WebKit Reporter: Anuj Panta <a_panta>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Anuj Panta
Reported 2025-12-19 10:33:13 PST
From this PR "https://github.com/WebKit/WebKit/pull/54125" we accidentally used a clear() function that doesn't exist for older Three.js using .remove() should work !
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-19 10:33:20 PST
Anuj Panta
Comment 2 2025-12-19 10:39:35 PST
EWS
Comment 3 2026-01-15 13:06:10 PST
Committed 305665@main (9dd8793cb3ee): <https://commits.webkit.org/305665@main> Reviewed commits have been landed. Closing PR #55714 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.