-
Notifications
You must be signed in to change notification settings - Fork 758
[Sources] Should see extensions more clearly #5815
Comments
@julienw can you share some screenshots of the current behavior |
I added a screenshot in the initial description. This is from www.mozilla.org with both ublock origin and the react addon enabled. I also added a line about the part in |
Hey @rpl, @digitarald i'm curious what you think? We probably have other similar issues too |
I definitely agree (and I recall that we had already briefly discussed about this before, I'm been wondering if we were discussing about a particular issue already fined and I've been looking for it, e.g. #5759 seems to be also a duplicate of it, but it has been filed just 8 days ago and so it isn't the reason why I recall that we talked about this before). I'm pretty sure that to be able to show the extension name we have to make some changes on both:
Maybe we could even start by adding the new "extension" level in the source tree and use the moz-extension hostname as a first step (so that at least a developer that already knows the moz-extension hostname of the extension, e.g. by looking the one visible in about:debugging#addons, is able to find the files of that extension more easily, and then improve it further by showing the user-visible extension name as a second step, once we landed the changes on the remote debugging server side, and maybe also degrade gracefully when the remote target version doesn't yet provide this additional information about the sources listed in the tree). About the |
Using the |
@jasonLaster In my initial description, I wrote that we should see the extension's name. Currently we see the extension URL: This is better than before, but still not useful enough in my opinion. Should I file a separate bug or should we reopen this one ? |
@julienw i think this should be filed in bugzilla as the work will largely be server-side. CC @juliandescottes who might know more about addons |
Not sure where the server is getting the addon uuid, but you could use the WebExtensionPolicy to convert from moz-extension:// to the addon name:
This is just from a quick search in our codebase, @rpl might know a better way. |
Thanks, I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1486416 |
STR:
=> The 2 extensions are mixed, we see the React addon's
build
and ublock'sjs
directories glued together.We don't know which extensions all this come from.
Instead, we should likely have a different top-level line for each extension, with the extension's name.
You can also see the part with
resource://
at the end. I'm not sure why we see this either, is it because some code from this resource has been run or injected?The text was updated successfully, but these errors were encountered: