Closed Bug 1360252 Opened 7 years ago Closed 6 years ago
Map URL in Console Stack Trace
Currently if a console message comes from a source-mapped url, and the corresponding script is GC'd, then there's not a good way to get the sourceMapURL. One idea for fixing this would be to store the sourceMapURL in the ConsoleEvent and the ConsoleStackEntry objects.
If we went this route we would also want to expose sourceURL. I tend to think this won't work, though, because these URLs aren't always known at the point at which the error is logged -- for example if CSS parsing logs an error before it parses to the end of the sheet.
I no longer think this is a good approach, because the sourceMappingURL can be quite large. I'm writing up another approach in the source map planning document.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.