Bug 234079 - Web Inspector: Cleanup signature of WI.CSSDeclaration
Summary: Web Inspector: Cleanup signature of WI.CSSDeclaration
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-09 06:19 PST by Razvan Caliman
Modified: 2021-12-09 06:19 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Razvan Caliman 2021-12-09 06:19:18 PST
There are too many arguments in the signature and it's difficult to follow which is which. 
Restructuring to an options object will help:

``` 
constructor(type, nodeStyles, {id, ownerStyleSheet, styleSheetTextRange, node, properties, text, inherited} = {}) 
```
Comment 1 Radar WebKit Bug Importer 2021-12-09 06:19:59 PST
<rdar://problem/86268593>