Bug 161563

Summary: Web Inspector: Address ESLint undefined variable errors
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2016-09-02 19:26:41 PDT
Address ESLint undefined variable errors:

    Source/WebInspectorUI/UserInterface/Controllers/CSSStyleManager.js
      86:65  error  'origin' is not defined  no-undef

    Source/WebInspectorUI/UserInterface/Models/IssueMessage.js
      73:52  error  'source' is not defined  no-undef

    Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js
      586:169  error  'args' is not defined  no-undef

These are all legit errors. Fortunately there are in handling error conditions that shouldn't be reached!
Comment 1 Joseph Pecoraro 2016-09-02 19:27:20 PDT
Created attachment 287849 [details]
[PATCH] Proposed Fix
Comment 2 WebKit Commit Bot 2016-09-02 19:29:10 PDT
Attachment 287849 [details] did not pass style-queue:


ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:586:  Line contains single-quote character.  [js/syntax] [5]
Total errors found: 1 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 WebKit Commit Bot 2016-09-03 07:42:32 PDT
Comment on attachment 287849 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 287849

Committed r205402: <http://trac.webkit.org/changeset/205402>
Comment 4 WebKit Commit Bot 2016-09-03 07:42:35 PDT
All reviewed patches have been landed.  Closing bug.