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

Issue 197073004: DevTools: Fix wrong is-array-like detection when logging in console. (Closed)

Created:
6 years, 9 months ago by aandrey
Modified:
6 years, 9 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
Visibility:
Public.

Description

DevTools: Fix wrong is-array-like detection when logging in console. 1) Functions should not be logged as array-like objects. 2) Log DOMTokenList as array in console, like we already do for HTMLCollection and NodeList. BUG=350644 R=pfeldman Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169012

Patch Set 1 #

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -15 lines) Patch
M LayoutTests/inspector/console/console-format.html View 1 chunk +4 lines, -1 line 0 comments Download
M LayoutTests/inspector/console/console-format-collections.html View 3 chunks +8 lines, -4 lines 0 comments Download
M LayoutTests/inspector/console/console-format-collections-expected.txt View 3 chunks +6 lines, -2 lines 0 comments Download
M LayoutTests/inspector/console/console-format-expected.txt View 1 2 chunks +6 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptSource.js View 2 chunks +26 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
aandrey
6 years, 9 months ago (2014-03-12 11:07:41 UTC) #1
pfeldman
lgtm
6 years, 9 months ago (2014-03-12 11:32:12 UTC) #2
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 9 months ago (2014-03-12 12:02:06 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/197073004/1
6 years, 9 months ago (2014-03-12 12:02:10 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 12:02:23 UTC) #5
commit-bot: I haz the power
Failed to apply patch for LayoutTests/inspector/console/console-format-expected.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-12 12:02:23 UTC) #6
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 9 months ago (2014-03-12 12:09:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/197073004/20001
6 years, 9 months ago (2014-03-12 12:09:32 UTC) #8
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 13:16:36 UTC) #9
Message was sent while issue was closed.
Change committed as 169012

Powered by Google App Engine
This is Rietveld 408576698