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

Issue 2163093003: [DevTools] Remove Object.values and Object.isEmpty from utilities.js (Closed)

Created:
4 years, 5 months ago by kozy
Modified:
4 years, 5 months ago
Reviewers:
dgozman, lushnikov
CC:
chromium-reviews, extensions-reviews_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Remove Object.values and Object.isEmpty from utilities.js - replaced some object-based maps with real Map; - remove Object.values and Object.isEmpty from utilities.js; - better typing; Object.values method will be added in ES2017. Closure compiler already supports it via externs, to roll it we need to remove it. It was mostly used for Objects that were used for maps, it's better to have real maps instead. R=dgozman@chromium.org,lushnikov@chromium.org Committed: https://crrev.com/178c750299b0c864c76bbe64e6830144d02816ea Cr-Commit-Position: refs/heads/master@{#406634}

Patch Set 1 #

Total comments: 22

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -116 lines) Patch
M third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js View 7 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js View 1 1 chunk +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/platform/utilities.js View 1 chunk +0 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js View 1 11 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js View 1 7 chunks +9 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/TracingModel.js View 1 6 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/snippets/SnippetStorage.js View 1 5 chunks +14 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js View 1 2 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
kozy
Dmitry, please take a look!
4 years, 5 months ago (2016-07-20 02:16:27 UTC) #1
kozy
Andrey, please take a look!
4 years, 5 months ago (2016-07-20 02:18:29 UTC) #4
lushnikov
lgtm, thanks! https://codereview.chromium.org/2163093003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js (right): https://codereview.chromium.org/2163093003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js#newcode597 third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js:597: var current = (this._numberOfDebuggerLocationForUILocation.get(uiLocation.id()) || 0) - ...
4 years, 5 months ago (2016-07-20 03:02:51 UTC) #5
kozy
all done, thanks! https://codereview.chromium.org/2163093003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js (right): https://codereview.chromium.org/2163093003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js#newcode597 third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js:597: var current = (this._numberOfDebuggerLocationForUILocation.get(uiLocation.id()) || 0) ...
4 years, 5 months ago (2016-07-20 17:55:19 UTC) #6
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/2163093003/20001
4 years, 5 months ago (2016-07-20 17:55:54 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-20 19:12:39 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 19:14:13 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/178c750299b0c864c76bbe64e6830144d02816ea
Cr-Commit-Position: refs/heads/master@{#406634}

Powered by Google App Engine
This is Rietveld 408576698