Issue metadata
Sign in to add a comment
|
Feature request: log native function parameters when logging native function in console
Reported by
stephb...@cruncher.ch,
Apr 19 2017
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Steps to reproduce the problem:
In the console -
console.log(window.open)
> function open() { [native code] }
What is the expected behavior?
It would be very useful to have the native function's parameters displayed in the log. That would save many, many MDN look-ups for the DOM API and save a lot of time. Most often, just having a hint at the parameter names is enough to avoid reading the docs.
console.log(window.open)
> function open(url, name, features) { [native code] }
What went wrong?
Nothing went wrong. This is a small feature request.
Did this work before? N/A
Chrome version: 57.0.2987.133 Channel: stable
OS Version: OS X 10.12.3
Flash Version:
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by caseq@chromium.org
, Apr 19 2017Mergedinto: 591188
Owner: kozyatinskiy@chromium.org
Status: Duplicate (was: Unconfirmed)