You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting, it is a shame that it was never standardized in Chrome. I've posted https://groups.google.com/a/chromium.org/g/devtools-dev/c/umeCeS3Bgcs to see if I can get someone from the Chromium DevTools team to lend a hand here, especially since @nchevobbe seems to think that this would be useful, and thus we have a shot at getting multi-vendor support.
In the spirit of #27 and #74 I'm filing issues about two additional console members I've spotted as part of foolip/mdn-bcd-collector#917.
console.context(name)
is available in Chrome and Node.js, and returns a new object with a lot of theconsole
members. This test gives some clues about what it does:https://chromium.googlesource.com/v8/v8/+/23d0a6a5125d407655f2b7f6bb7263b4e05019d8/test/inspector/runtime/console-context.js
It looks like
console.context('bla').log('hello')
doesn't log anything in Node.js, but logs "hello" just likeconsole.log("hello")
would in Chrome.Does anyone recognize what this is, and would it be useful to standardize? I expect not, but want to check.
The text was updated successfully, but these errors were encountered: