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

Issue 2109813003: [DevTools] No NetworkManager and NetworkLog for v8only mode (Closed)

Created:
4 years, 5 months ago by eostroukhov-old
Modified:
4 years, 5 months ago
Reviewers:
alph, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, 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] No NetworkManager and NetworkLog for v8only mode R=alph@chromium.org, dgozman@chromium.org BUG=624494 Committed: https://crrev.com/33d4a941b4801e7cb2828600675751c35750b330 Cr-Commit-Position: refs/heads/master@{#404032}

Patch Set 1 #

Patch Set 2 : Disable WorkerManger for V8-only targets #

Patch Set 3 : Pass NetworkManager as a ctor parameter, to ensure proper initialization order. #

Total comments: 30

Patch Set 4 : Fixed review comments #

Total comments: 22

Patch Set 5 : Addressing code review comments #

Total comments: 12

Patch Set 6 : Addressing code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -50 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.html View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/network/network-status-non-http.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/audits/AuditController.js View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 4 2 chunks +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js View 1 2 3 4 5 3 chunks +20 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js View 1 2 3 4 3 chunks +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Target.js View 1 2 3 4 5 6 chunks +34 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
eostroukhov-old
4 years, 5 months ago (2016-06-29 15:39:42 UTC) #1
dgozman
Please add a bug number reference (and create one if there is none). Also, we ...
4 years, 5 months ago (2016-06-29 18:14:36 UTC) #2
dgozman
https://codereview.chromium.org/2109813003/diff/40001/third_party/WebKit/Source/devtools/front_end/main/Main.js File third_party/WebKit/Source/devtools/front_end/main/Main.js (right): https://codereview.chromium.org/2109813003/diff/40001/third_party/WebKit/Source/devtools/front_end/main/Main.js#newcode314 third_party/WebKit/Source/devtools/front_end/main/Main.js:314: else if (Runtime.queryParam("v8only")) { style: extra {} https://codereview.chromium.org/2109813003/diff/40001/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js File ...
4 years, 5 months ago (2016-06-29 18:37:58 UTC) #4
eostroukhov-old
Thanks for the review! https://codereview.chromium.org/2109813003/diff/40001/third_party/WebKit/Source/devtools/front_end/main/Main.js File third_party/WebKit/Source/devtools/front_end/main/Main.js (right): https://codereview.chromium.org/2109813003/diff/40001/third_party/WebKit/Source/devtools/front_end/main/Main.js#newcode314 third_party/WebKit/Source/devtools/front_end/main/Main.js:314: else if (Runtime.queryParam("v8only")) { On ...
4 years, 5 months ago (2016-06-29 22:54:21 UTC) #5
dgozman
I think the more isolation we do, the less we need SDKObject. I'm inclined to ...
4 years, 5 months ago (2016-06-30 17:24:33 UTC) #6
eostroukhov-old
Updated... Please take another look. https://codereview.chromium.org/2109813003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js File third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/2109813003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js#newcode66 third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js:66: WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Events.TargetDisposed, this._targetDisposed, this); On ...
4 years, 5 months ago (2016-06-30 21:38:28 UTC) #7
dgozman
Looks pretty good! https://codereview.chromium.org/2109813003/diff/80001/third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js File third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js (right): https://codereview.chromium.org/2109813003/diff/80001/third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js#newcode59 third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js:59: return target[WebInspector.NetworkLog._symbol] || null; Let's use ...
4 years, 5 months ago (2016-07-05 17:54:31 UTC) #9
pfeldman
>> I think the more isolation we do, the less we need SDKObject. I'm inclined ...
4 years, 5 months ago (2016-07-05 21:01:59 UTC) #10
eostroukhov-old
Thank you for the review. Please take another look. https://codereview.chromium.org/2109813003/diff/80001/third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js File third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js (right): https://codereview.chromium.org/2109813003/diff/80001/third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js#newcode59 third_party/WebKit/Source/devtools/front_end/sdk/NetworkLog.js:59: ...
4 years, 5 months ago (2016-07-06 20:37:53 UTC) #11
dgozman
lgtm
4 years, 5 months ago (2016-07-06 21:04:12 UTC) #12
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/2109813003/100001
4 years, 5 months ago (2016-07-06 21:09:16 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/99370)
4 years, 5 months ago (2016-07-06 23:11:25 UTC) #16
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/2109813003/100001
4 years, 5 months ago (2016-07-06 23:17:24 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-07 02:36:17 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 02:36:22 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 02:39:29 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/33d4a941b4801e7cb2828600675751c35750b330
Cr-Commit-Position: refs/heads/master@{#404032}

Powered by Google App Engine
This is Rietveld 408576698