[Webkit-unassigned] [Bug 223214] New: Likely copy/paste error in CSSProperty.js
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 15 14:02:04 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223214
Bug ID: 223214
Summary: Likely copy/paste error in CSSProperty.js
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
CC: inspector-bugzilla-changes at group.apple.com
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;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210315/ba271a13/attachment.htm>
More information about the webkit-unassigned
mailing list