Bug 234079

Summary: Web Inspector: Cleanup signature of WI.CSSDeclaration
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Razvan Caliman
Reported 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} = {}) ```
Attachments
Radar WebKit Bug Importer
Comment 1 2021-12-09 06:19:59 PST
Note You need to log in before you can comment on or make changes to this bug.