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

Issue 2728543002: DevTools: refactor Common.Renderer for DOM nodes (Closed)

Created:
3 years, 9 months ago by chenwilliam
Modified:
3 years, 9 months ago
Reviewers:
dgozman, pfeldman
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, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: refactor Common.Renderer for DOM nodes Preparation for: https://codereview.chromium.org/2714833002/ BUG=687641 Review-Url: https://codereview.chromium.org/2728543002 Cr-Commit-Position: refs/heads/master@{#458841} Committed: https://chromium.googlesource.com/chromium/src/+/6acb535d91ce5fc01546dc63b07b736e919accbb

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixup #

Total comments: 6

Patch Set 3 : cl fb #

Total comments: 7

Patch Set 4 : cl fb #

Total comments: 6

Patch Set 5 : cl fb #

Patch Set 6 : fixup #

Total comments: 10

Patch Set 7 : fixup #

Patch Set 8 : fixup #

Total comments: 4

Patch Set 9 : cl fb #

Total comments: 1

Patch Set 10 : fixup #

Messages

Total messages: 26 (9 generated)
chenwilliam
ptal https://codereview.chromium.org/2728543002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/module.json File third_party/WebKit/Source/devtools/front_end/elements/module.json (right): https://codereview.chromium.org/2728543002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/module.json#newcode24 third_party/WebKit/Source/devtools/front_end/elements/module.json:24: "SDK.DeferredDOMNode" Don't know why SDK.DeferredDOMNode wasn't included before
3 years, 9 months ago (2017-03-01 01:59:08 UTC) #2
chenwilliam
Sorry! I made a mistake in my earlier patchset. ptal.
3 years, 9 months ago (2017-03-01 02:12:00 UTC) #4
pfeldman
https://codereview.chromium.org/2728543002/diff/20001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/20001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode218 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:218: var domModel = SDK.DOMModel.fromTarget(remoteObject.target()); if (remoteObject.isNode()) { ... } ...
3 years, 9 months ago (2017-03-01 02:37:45 UTC) #5
chenwilliam
ptal https://codereview.chromium.org/2728543002/diff/20001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/20001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode218 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:218: var domModel = SDK.DOMModel.fromTarget(remoteObject.target()); On 2017/03/01 02:37:44, pfeldman ...
3 years, 9 months ago (2017-03-02 00:06:55 UTC) #6
pfeldman
https://codereview.chromium.org/2728543002/diff/40001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/40001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode220 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:220: domModel.pushObjectAsNodeToFrontend(remoteObject, onNodeResolved); (If only this returned a promise, this ...
3 years, 9 months ago (2017-03-02 22:04:51 UTC) #7
chenwilliam
ptal https://codereview.chromium.org/2728543002/diff/40001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/40001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode222 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:222: var section = new ObjectUI.ObjectPropertiesSection(remoteObject); On 2017/03/02 22:04:51, ...
3 years, 9 months ago (2017-03-13 23:25:26 UTC) #8
dgozman
https://codereview.chromium.org/2728543002/diff/60001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/60001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode220 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:220: domModel.pushObjectAsNodeToFrontend(remoteObject, onNodeResolved); While you are here, let's promisify this. ...
3 years, 9 months ago (2017-03-16 23:07:36 UTC) #9
chenwilliam
ptal https://codereview.chromium.org/2728543002/diff/60001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/60001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode220 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:220: domModel.pushObjectAsNodeToFrontend(remoteObject, onNodeResolved); On 2017/03/16 23:07:36, dgozman wrote: > ...
3 years, 9 months ago (2017-03-21 22:40:28 UTC) #10
dgozman
https://codereview.chromium.org/2728543002/diff/100001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/100001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode222 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:222: var node = await domModel.pushObjectAsNodeToFrontend(remoteObject); if (!domModel) return; https://codereview.chromium.org/2728543002/diff/100001/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js ...
3 years, 9 months ago (2017-03-21 23:00:49 UTC) #11
chenwilliam
ptal https://codereview.chromium.org/2728543002/diff/100001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/100001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode222 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:222: var node = await domModel.pushObjectAsNodeToFrontend(remoteObject); On 2017/03/21 23:00:49, ...
3 years, 9 months ago (2017-03-22 00:30:39 UTC) #12
dgozman
https://codereview.chromium.org/2728543002/diff/140001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/140001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode229 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:229: remoteObject.release(); We have to always release the object. https://codereview.chromium.org/2728543002/diff/140001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode235 ...
3 years, 9 months ago (2017-03-22 00:35:52 UTC) #13
chenwilliam
ptal https://codereview.chromium.org/2728543002/diff/140001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/140001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode229 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:229: remoteObject.release(); On 2017/03/22 00:35:51, dgozman wrote: > We ...
3 years, 9 months ago (2017-03-22 01:04:26 UTC) #15
dgozman
lgtm https://codereview.chromium.org/2728543002/diff/180001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js File third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js (right): https://codereview.chromium.org/2728543002/diff/180001/third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js#newcode212 third_party/WebKit/Source/devtools/front_end/audits/AuditExtensionCategory.js:212: this.evaluate(expression, evaluateOptions, onEvaluate); this.evaluate(expression, evaluateOptions, async remoteObject => ...
3 years, 9 months ago (2017-03-22 01:09:01 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/2728543002/200001
3 years, 9 months ago (2017-03-22 01:15:09 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 9 months ago (2017-03-22 03:17:36 UTC) #21
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/2728543002/200001
3 years, 9 months ago (2017-03-22 19:22:52 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 19:35:48 UTC) #26
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/6acb535d91ce5fc01546dc63b07b...

Powered by Google App Engine
This is Rietveld 408576698