(Sending this to the list since I can't comment directly on the document.)
A comment on this line:
Line 7: A list of symbol names used by the “mappings” entry.
I think the spec should explain a bit more about how this is typically
used. Despite doing a fair amount of work with sourcemaps, I was unclear on
this until recently.
As far as I know no debugger uses the "names" field, but the intention is
a debugger stops at a breakpoint, we can treat the stack trace as a list of
deobfuscated function name that should appear in the stack trace. (Or more
generally, it is whatever string would most usefully appear in the function
name position when displaying a stack frame in the debugger.)