I just test this and confirmed it by looking at the source code. In the JS engine we always tell SPS the inferred name. For example var f = function() in Scratchpad shows up as f() @ 2:10. Looking at the source confirms the usage of displayAtom() http://dxr.mozilla.org/mozilla-central/js/src/vm/SPSProfiler.cpp.html#l191. I think we could do a better job with naming stuff as "eval" or "global" scope.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.