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

Issue 2203473002: DevTools: fix CSS.getComputedStyle protocol method (Closed)

Created:
4 years, 4 months ago by lushnikov
Modified:
4 years, 4 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, blink-reviews-style_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, 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: fix CSS.getComputedStyle protocol method Currently, the CSS.getComputedStyle upcasts CSSComputedStyleDeclaration to the CSSStyleDeclaration and, unwillingly, was using the length() and item() methods to iterate the CSSComputedStyleDeclaration. However, these are private methods of CSSComputedStyleDeclaration which are not supposed to be used by the clients. BUG=606834 R=dgozman Committed: https://crrev.com/4e200d9789699ba9d52d8650babb12664b2d1b5d Cr-Commit-Position: refs/heads/master@{#409418}

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebaseline #

Patch Set 3 : we should not query for descriptors only properties #

Messages

Total messages: 35 (16 generated)
lushnikov
please, take a look
4 years, 4 months ago (2016-08-01 18:19:32 UTC) #1
dgozman
https://codereview.chromium.org/2203473002/diff/1/third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt File third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt (right): https://codereview.chromium.org/2203473002/diff/1/third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt#newcode52 third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt:52: background-repeat-x: ; Why empty? Is it a valid value? ...
4 years, 4 months ago (2016-08-01 18:46:50 UTC) #2
lushnikov
https://codereview.chromium.org/2203473002/diff/1/third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt File third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt (right): https://codereview.chromium.org/2203473002/diff/1/third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt#newcode52 third_party/WebKit/LayoutTests/inspector/elements/styles-2/lazy-computed-style-expected.txt:52: background-repeat-x: ; On 2016/08/01 18:46:49, dgozman wrote: > Why ...
4 years, 4 months ago (2016-08-01 19:22:39 UTC) #3
dgozman
lgtm
4 years, 4 months ago (2016-08-01 19:44:46 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/2203473002/1
4 years, 4 months ago (2016-08-01 19:58:30 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/269676)
4 years, 4 months ago (2016-08-01 20:43:17 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/2203473002/1
4 years, 4 months ago (2016-08-01 22:59:42 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/202177)
4 years, 4 months ago (2016-08-01 23:39:33 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/2203473002/1
4 years, 4 months ago (2016-08-02 00:53:56 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/269885)
4 years, 4 months ago (2016-08-02 01:35:04 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/2203473002/1
4 years, 4 months ago (2016-08-02 03:12:05 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/269955)
4 years, 4 months ago (2016-08-02 03:56:11 UTC) #20
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/2203473002/1
4 years, 4 months ago (2016-08-02 15:14:47 UTC) #22
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/272732)
4 years, 4 months ago (2016-08-02 16:18:28 UTC) #24
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/2203473002/20001
4 years, 4 months ago (2016-08-02 19:18:36 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/202705) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 4 months ago (2016-08-02 20:08:00 UTC) #29
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/2203473002/40001
4 years, 4 months ago (2016-08-03 00:01:12 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-03 01:24:28 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 01:26:22 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4e200d9789699ba9d52d8650babb12664b2d1b5d
Cr-Commit-Position: refs/heads/master@{#409418}

Powered by Google App Engine
This is Rietveld 408576698