Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 856d17b8d8dbfc40ea8e3bc28033ef6aceb17a6b
      
https://github.com/WebKit/WebKit/commit/856d17b8d8dbfc40ea8e3bc28033ef6aceb17a6b
  Author: Devin Rousso <[email protected]>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js

  Log Message:
  -----------
  Web Inspector: unnecessary colon in front of non-class function properties
https://bugs.webkit.org/show_bug.cgi?id=317562

Reviewed by Alexey Proskuryakov.

Seeing a repeated `: function(` just adds a ton of noise.

For example, this
```js
{
    a: function() {},
    b: function() {},
    c: function() {},
}
```
is much more repetitive than
```js
{
    a() {},
    b() {},
    c() {},
}
```

* Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js:
(WI.ObjectTreePropertyTreeElement.prototype._createTitlePropertyStyle):
(WI.ObjectTreePropertyTreeElement.prototype._functionPropertyString): Deleted.

Canonical link: https://commits.webkit.org/315731@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to