RESOLVED FIXED299802
Web Inspector: Elements: Adding an attribute via the context menu on a closing tag throws an exception
https://bugs.webkit.org/show_bug.cgi?id=299802
Summary Web Inspector: Elements: Adding an attribute via the context menu on a closin...
Razvan Caliman
Reported 2025-09-29 09:46:36 PDT
Created attachment 476895 [details] Screenshot of unhandled exception ``` null is not an object (evaluating 'tagNameElement.parentNode')​ (at DOMTreeElement.js:​765:​27)​ _insertInLastAttributePosition @ DOMTreeElement.js:​765:​27 _addNewAttribute @ DOMTreeElement.js:​966:​44 ?​ @ DOMTreeElement.js:​842:​38 _itemSelected @ ContextMenu.js:​260:​40 contextMenuItemSelected @ ContextMenu.js:​184:​58 contextMenuItemSelected @ InspectorFrontendAPI.js:​147:​47 ```
Attachments
Screenshot of unhandled exception (587.65 KB, image/png)
2025-09-29 09:46 PDT, Razvan Caliman
no flags
Radar WebKit Bug Importer
Comment 1 2025-09-29 09:47:38 PDT
Razvan Caliman
Comment 2 2025-09-29 10:04:02 PDT
EWS
Comment 3 2025-09-30 08:15:03 PDT
Committed 300752@main (349b0b974ee4): <https://commits.webkit.org/300752@main> Reviewed commits have been landed. Closing PR #51509 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.