Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(742)

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)

Created:
4 years ago by einbinder
Modified:
4 years ago
Reviewers:
dgozman
CC:
aboxhall, aboxhall+watch_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-style_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, dmazzoni+watch_chromium.org, dmazzoni, dtseng+watch_chromium.org, Eric Willigers, je_julie, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, nektar+watch_chromium.org, nektarios, pfeldman+blink_chromium.org, pfeldman, rjwright, shans, yuzo+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Remove unused variables. Disallow unused variables with eslint BUG=none Committed: https://crrev.com/aaad280294a29e3c0632b015a2360279a93fadcd Cr-Commit-Position: refs/heads/master@{#438768}

Patch Set 1 #

Total comments: 7

Patch Set 2 : More unused #

Patch Set 3 : unused events #

Patch Set 4 : Merge #

Patch Set 5 : Merge #

Patch Set 6 : A new unused variable was born #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -115 lines) Patch
M third_party/WebKit/Source/devtools/.eslintrc.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 3 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js View 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/audits/AuditRules.js View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Spectrum.js View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js View 1 2 3 4 5 4 chunks +7 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js View 1 2 3 4 3 chunks +1 line, -16 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sass/SASSSupport.js View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js View 1 2 3 4 3 chunks +0 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js View 3 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineFrameModel.js View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineIRModel.js View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Widget.js View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 35 (22 generated)
einbinder
ptal https://codereview.chromium.org/2560043005/diff/1/third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js File third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js (left): https://codereview.chromium.org/2560043005/diff/1/third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js#oldcode1811 third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js:1811: this.dispatchEventToListeners(SDK.DOMModel.Events.UndoRedoRequested); Nothing even uses these events.
4 years ago (2016-12-10 00:47:37 UTC) #2
dgozman
lgtm https://codereview.chromium.org/2560043005/diff/1/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js File third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js (left): https://codereview.chromium.org/2560043005/diff/1/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js#oldcode179 third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js:179: var totalTime = this._calculator.boundarySpan(); Let's double-check for side-effects. ...
4 years ago (2016-12-10 02:15:14 UTC) #3
einbinder
https://codereview.chromium.org/2560043005/diff/1/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js File third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js (left): https://codereview.chromium.org/2560043005/diff/1/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js#oldcode179 third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js:179: var totalTime = this._calculator.boundarySpan(); On 2016/12/10 at 02:15:14, dgozman ...
4 years ago (2016-12-12 20:41:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560043005/20001
4 years ago (2016-12-12 20:42:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560043005/40001
4 years ago (2016-12-12 20:51:17 UTC) #11
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-12 23:50:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560043005/60001
4 years ago (2016-12-13 00:29:24 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/354855)
4 years ago (2016-12-13 02:06:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560043005/80001
4 years ago (2016-12-14 21:22:47 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/356519)
4 years ago (2016-12-14 22:44:32 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560043005/100001
4 years ago (2016-12-15 03:34:16 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-15 06:44:52 UTC) #33
commit-bot: I haz the power
4 years ago (2016-12-15 06:46:17 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/aaad280294a29e3c0632b015a2360279a93fadcd
Cr-Commit-Position: refs/heads/master@{#438768}

Powered by Google App Engine
This is Rietveld 408576698