Issue 97 in chromedevtools: Functions that have a .splice method log like arrays

5 views
Skip to first unread message

chromed...@googlecode.com

unread,
Mar 8, 2014, 12:41:36 AM3/8/14
to chromedev...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 97 by rya...@gmail.com: Functions that have a .splice method log
like arrays
http://code.google.com/p/chromedevtools/issues/detail?id=97

SDK/Debugger version:
Eclipse version:
Google Chrome/V8 Embedder + version:
[For WebKit (WIP) protocol] Backend version:
OS + version:

What steps will reproduce the problem?
var f = function() {};
f.splice = function() {};
console.log(f);
console.dir(f);
console.info(f);
console.warn(f);
console.error(f);

What is the expected result?
f should log as function() {}

What happens instead?
f logs as []


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chromed...@googlecode.com

unread,
Mar 8, 2014, 1:25:04 AM3/8/14
to chromedev...@googlegroups.com

Comment #1 on issue 97 by rya...@gmail.com: Functions that have a .splice
This may not be relevant here. I meant to (and later did) post this as a
Chrome Developer Tools issue:
https://code.google.com/p/chromium/issues/detail?id=350644
Reply all
Reply to author
Forward
0 new messages