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

Issue 26586002: [devtools] Return empty array from DOMNode.children() rather than null. (Closed)

Created:
7 years, 2 months ago by johnjbarton
Modified:
7 years, 2 months ago
Reviewers:
pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[devtools] Return empty array from DOMNode.children() rather than null. Array.<WebInspector.DOMNode> for no children should be []. See comments on https://codereview.chromium.org/16561003/ BUG=

Patch Set 1 #

Total comments: 1

Patch Set 2 : Provisional fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M LayoutTests/inspector/elements/inspect-deep-shadow-element.html View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/DOMAgent.js View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
johnjbarton
ready for review
7 years, 2 months ago (2013-10-08 22:00:41 UTC) #1
pfeldman
https://codereview.chromium.org/26586002/diff/1/Source/devtools/front_end/DOMAgent.js File Source/devtools/front_end/DOMAgent.js (right): https://codereview.chromium.org/26586002/diff/1/Source/devtools/front_end/DOMAgent.js#newcode141 Source/devtools/front_end/DOMAgent.js:141: return this._children ? this._children.slice() : []; This is intentionally ...
7 years, 2 months ago (2013-10-09 05:41:05 UTC) #2
johnjbarton
On 2013/10/09 05:41:05, pfeldman wrote: > https://codereview.chromium.org/26586002/diff/1/Source/devtools/front_end/DOMAgent.js > File Source/devtools/front_end/DOMAgent.js (right): > > https://codereview.chromium.org/26586002/diff/1/Source/devtools/front_end/DOMAgent.js#newcode141 > ...
7 years, 2 months ago (2013-10-09 17:12:55 UTC) #3
pfeldman
I'll take a look tomorrow my time.
7 years, 2 months ago (2013-10-09 18:13:04 UTC) #4
pfeldman
Could you provide bug with the repro steps? There is a test for the scenario ...
7 years, 2 months ago (2013-10-10 15:02:37 UTC) #5
johnjbarton
On 2013/10/10 15:02:37, pfeldman wrote: > Could you provide bug with the repro steps? There ...
7 years, 2 months ago (2013-10-10 15:14:03 UTC) #6
pfeldman
On 2013/10/10 15:14:03, johnjbarton wrote: > On 2013/10/10 15:02:37, pfeldman wrote: > > Could you ...
7 years, 2 months ago (2013-10-10 15:20:46 UTC) #7
johnjbarton
On 2013/10/10 15:20:46, pfeldman wrote: > On 2013/10/10 15:14:03, johnjbarton wrote: > > On 2013/10/10 ...
7 years, 2 months ago (2013-10-10 22:31:31 UTC) #8
pfeldman
7 years, 2 months ago (2013-10-17 17:20:12 UTC) #9
Should we close it for now?

Powered by Google App Engine
This is Rietveld 408576698