Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subsume browser support data #14

Open
paulirish opened this issue Oct 5, 2013 · 4 comments
Open

Subsume browser support data #14

paulirish opened this issue Oct 5, 2013 · 4 comments

Comments

@paulirish
Copy link
Member

Firebug WG and Axel did great work on exploring current browser support for the Console APIs:

https://github.com/DeveloperToolsWG/console-object#browser-support

In the Firebug WG table there is a lot of excellent detail in the columns on differences.
We want to absorb all current browser support information and detail these small differences (as non-normative text, likely).

cc @SebastianZ @rauschma

@bkardell
Copy link
Member

bkardell commented Oct 5, 2013

+1 great work

@jonathansampson
Copy link
Contributor

There are some additional methods not presently documented here. For instance, Internet Explorer 11 added a select method which, when provided an element reference, will select that element in the DOM Explorer. I've documented the enumerable members of the console in Chrome, Firefox, and Internet Explorer in this Google Doc.

The script I tossed together for this purpose follows:

(function () {

    var prop, props = [];

    for ( prop in console ) {
        props.push({ 
            name: prop, 
            type: Object.prototype.toString.call( console[ prop ] )
        });
    }

    props.sort(function( a, b ) {
        return a.name < b.name ? -1 : 1;
    });

    console.log( JSON.stringify( props, null, 4 ) );

}());

@bkardell
Copy link
Member

@jonathansampson Were you able to find any docs on this? I am not. http://msdn.microsoft.com/en-us/library/ie/hh772183(v=vs.85).aspx shows nothing.

Anyone from IE team?

@jonathansampson
Copy link
Contributor

@bkardell There is no documentation for this feature as far as I know. I asked some of the IE team members when I attended the MVP summit this past November. There were other undocumented features, but they didn't survive to a stable release. I cannot say whether select will stick around or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants