Updates:
        Status: WorkingAsIntended

Comment #1 on issue 1722 by [email protected]: Native DOMExceptions don't have stack traces
http://code.google.com/p/v8/issues/detail?id=1722

This is true. When a non-Error object is created (in this case, a DOMException), no stack trace is captured, and DOMException does not have a property "stack".

However, when it's thrown, a stack trace is captured at the throw site and can be displayed on devtools. I'm not sure if that helps.

Consider this:

function a() {
  var elt = document.createElement("div");
  elt.appendChild(elt);
}

function b() {
  a();
}

b();

When executed, a stack trace can be observed in devtools like the one attached.

Attachments:
        Screenshot.png  3.8 KB

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to