firefox-devtools / devtools-core

:rocket: Packages for Firefox DevTools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strip browser-loader part in frames' url for the Error rep stacktrace

nchevobbe opened this issue · comments

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)