WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299802
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-09-29 09:47:38 PDT
<
rdar://problem/161577627
>
Razvan Caliman
Comment 2
2025-09-29 10:04:02 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51509
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.
Top of Page
Format For Printing
XML
Clone This Bug