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

Issue 2137773002: [DevTools] Replace the target type with capabilities (Closed)

Created:
4 years, 5 months ago by eostroukhov-old
Modified:
4 years, 5 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, shans, rjwright, blink-reviews-animation_chromium.org, darktears, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, Eric Willigers, 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] Replace the target type with capabilities Capabilities allow for more flexible specification of the devtools features available when working with a specific target. BUG=624494 Committed: https://crrev.com/1781e8c7f28068c35869e760e8adc0db04d69453 Cr-Commit-Position: refs/heads/master@{#405344}

Patch Set 1 #

Patch Set 2 : [DevTools] Replace target type with capabilities #

Total comments: 30

Patch Set 3 : Addressing the code review comments #

Total comments: 29

Patch Set 4 : Next batch of comments was addressed #

Patch Set 5 : One final comment fix #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -221 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/elements/event-listeners-framework-with-service-worker.html View 1 2 4 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/elements/event-listeners-framework-with-service-worker-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js View 1 2 3 1 chunk +11 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/ExecutionContextSelector.js View 1 2 3 4 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Spectrum.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/InspectElementModeController.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 4 5 5 chunks +10 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/TargetsComboBoxController.js View 1 2 3 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/CSSModel.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Target.js View 1 2 5 chunks +24 lines, -49 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js View 1 2 3 4 10 chunks +25 lines, -57 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/WorkerManager.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline_model/LayerTreeModel.js View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
eostroukhov-old
4 years, 5 months ago (2016-07-11 21:42:43 UTC) #2
dgozman
https://codereview.chromium.org/2137773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js (right): https://codereview.chromium.org/2137773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js#newcode22 third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js:22: if (!target.hasBrowserDomains() && target.hasJSDomains()) { Let's add InspectorTest.is{DedicatedWorker,ServiceWorker,ServiceWorkerPage} https://codereview.chromium.org/2137773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js ...
4 years, 5 months ago (2016-07-12 00:34:11 UTC) #3
eostroukhov-old
https://codereview.chromium.org/2137773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js (right): https://codereview.chromium.org/2137773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js#newcode22 third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js:22: if (!target.hasBrowserDomains() && target.hasJSDomains()) { On 2016/07/12 00:34:10, dgozman ...
4 years, 5 months ago (2016-07-12 21:46:16 UTC) #4
dgozman
https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js (right): https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js#newcode3 third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js:3: InspectorTest.isDedicatedWorker = function(target) Let's move these to inspector-test.js. They ...
4 years, 5 months ago (2016-07-13 00:08:30 UTC) #5
eostroukhov-old
Thank you for the review. Please take another look. https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js (right): https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js#newcode3 third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js:3: ...
4 years, 5 months ago (2016-07-13 00:36:30 UTC) #6
dgozman
lgtm with a comment. Nice work! https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js (right): https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js#newcode269 third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js:269: var shouldShowCheck = ...
4 years, 5 months ago (2016-07-13 00:41:52 UTC) #7
eostroukhov-old
On 2016/07/13 00:41:52, dgozman wrote: > lgtm with a comment. Nice work! > > https://codereview.chromium.org/2137773002/diff/40001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js ...
4 years, 5 months ago (2016-07-13 16:39:18 UTC) #8
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/2137773002/80001
4 years, 5 months ago (2016-07-13 16:42:03 UTC) #11
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/devtools/front_end/elements/Spectrum.js: While running git apply --index -3 -p1; error: third_party/WebKit/Source/devtools/front_end/elements/Spectrum.js: ...
4 years, 5 months ago (2016-07-13 20:00:13 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/2137773002/100001
4 years, 5 months ago (2016-07-13 21:56:53 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-13 23:12:00 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 23:12:09 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 23:14:44 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1781e8c7f28068c35869e760e8adc0db04d69453
Cr-Commit-Position: refs/heads/master@{#405344}

Powered by Google App Engine
This is Rietveld 408576698