Console.log bug on 11.0.9600.17239 -- Displays undefined:undefined for objects and arrays which are properties of objects

Not reproducible Issue #761504

Details

Created
Aug 29, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Copy the following line into an html file and save it, open it in Internet Explorer with the console open.
<script>console.log({obj:{name:"value"}})</script>

Expected Results:

An output of :

{
[functions]: ,
proto: { },
name: “value”
}

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Martyn L.”

      Changed Assigned To from “Martyn L.” to “Andy S.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Andy S.” to “IE F.”

      Changed Status from “Confirmed” to “Not reproducible”

    • Thought you would like to know, I also have just encountered this problem (Win 10, Microsoft Edge 40.15063.0.0.)

      I have not confirmed it, but it is highly likely that it might be caused when there are circular references between objects such that fully expanding them would produce an infinite loop.

      In my case, I have quite a large amount of JS, so might be hard to duplicate exactly. However, somewhere in the middle of it all, I have a simple doubly-linked stack of objects. Each object has two object references called ‘above’ and ‘below’ forming a circular reference between adjacent objects in the list. When I expand on either of these properties (when viewing one of these objects via the console), the expansion is shown as ‘undefined: undefined’ instead of simply revealing the next linked object.

      I have a screenshot of this error in action if anyone is interested.

    • (The anonymous entry above is actually me before I added a name to my account)

    • (Ha, looks like the account names might also have a problem)

    You need to sign in to your Microsoft account to add a comment.

    Sign in