New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 713157 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 591188
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



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:
 

Comment 1 by caseq@chromium.org, Apr 19 2017

Components: -Platform>DevTools Platform>DevTools>JavaScript
Mergedinto: 591188
Owner: kozyatinskiy@chromium.org
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment