Bug 223214

Summary: Likely copy/paste error in CSSProperty.js
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, nvasilyev, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Michael Catanzaro
Reported 2021-03-15 14:02:04 PDT
This looks pretty suspicious: Error: COPY_PASTE_ERROR (CWE-398): [#def48] webkitgtk-2.31.1/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:363: original: "styleTextRange.startLine" looks like the original copy. webkitgtk-2.31.1/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:364: copy_paste_error: "startLine" in "styleTextRange.startLine" looks like a copy-paste error. webkitgtk-2.31.1/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:364: remediation: Should it say "endLine" instead? # 362| # 363| var startLine = this._styleSheetTextRange.startLine - styleTextRange.startLine; # 364|-> var endLine = this._styleSheetTextRange.endLine - styleTextRange.startLine; # 365| # 366| var startColumn = this._styleSheetTextRange.startColumn;
Attachments
Radar WebKit Bug Importer
Comment 1 2021-03-22 14:03:12 PDT
Note You need to log in before you can comment on or make changes to this bug.