WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
223214
Likely copy/paste error in CSSProperty.js
https://bugs.webkit.org/show_bug.cgi?id=223214
Summary
Likely copy/paste error in CSSProperty.js
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-03-22 14:03:12 PDT
<
rdar://problem/75707881
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug