Skip to content

Commit

Permalink
Include stacktrace into log messages
Browse files Browse the repository at this point in the history
This would align behavior in Chrome and the spec.

Related discussions:

- puppeteer/puppeteer#13264
- whatwg/console#203
  • Loading branch information
OrKoN committed Nov 14, 2024
1 parent a9e13a5 commit a86f3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -10854,7 +10854,7 @@ Define the following [=console steps=] with |method|, |args|, and

1. Let |source| be the result of [=get the source=] given [=current Realm Record=].

1. If |method| is "<code>assert</code>", "<code>error</code>",
1. If |method| is "<code>assert</code>", "<code>error</code>", "<code>log</code>",
"<code>trace</code>", or "<code>warn</code>", let |stack| be the [=current
stack trace=]. Otherwise let |stack| be null.

Expand Down

0 comments on commit a86f3e6

Please sign in to comment.