Strip browser-loader part in frames' url for the Error rep stacktrace
nchevobbe opened this issue · comments
Nicolas Chevobbe commented
When a resource is loaded by browser-loader.js, its location is defined as resource://devtools/shared/base-loader.js -> resource://devtools/path/to/file.js
.
We should completely strip the resource://devtools/shared/base-loader.js ->
part, like we already do in the toolbox (e.g. https://searchfox.org/mozilla-central/rev/61d400da1c692453c2dc2c1cf37b616ce13dea5b/devtools/client/webconsole/webconsole.js#2528)