N
N
Nadarik2014-10-10 15:23:18
JavaScript
Nadarik, 2014-10-10 15:23:18

Google Chrome. console.profiles - undefined. Why?

I'm trying to come up with some kind of automated solution for my javascript code. I found an interesting API, for some reason it doesn't work.

  • console.profile()- starts profile;
  • console.profileEnd()- end it;
  • console.profiles[]- should be a storage for all my "snapshots"
Documentation link: https://developer.chrome.com/devtools/docs/tips-an...
Problem: console.profiles == undefined
Q: Has anyone encountered this problem? If yes, how to solve it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Vanin, 2014-10-10
@Nadarik

console.profiles was removed in version 29 of chrome
stackoverflow.com/questions/7527442/how-to-detect-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question