Display inconsistency of folder & file
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox114 fixed)
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: erosman, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
As per attached screenshots, Dev Tools displays files as decoded but folders as encoded.
Example:
//# sourceURL=moz-extension://f5dc...3411/userscript/IMDb%20Scout%20Mod/IMDb%20Scout%20Mod.user.js
There is also a consideration with displaying http/s URLs as a sub folder of https:/
.
Example:
//# sourceURL=moz-extension://f5dc...3411/userscript/IMDb%20Scout%20Mod/https://code.jquery.com/jquery-3.5.1.min.js
- Ubuntu 22.10 Wayland, Nightly 113.0a1 (2023-03-27) (64-bit)
Reporter | ||
Comment 1•2 years ago
|
||
Note https:/
folder
Reporter | ||
Comment 2•2 years ago
|
||
Note https:/
folder
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 3•2 years ago
|
||
Another example with Unicode characters
Assignee | ||
Comment 4•2 years ago
|
||
The issue for non-decoded folder can be visible in https://firefox-devtools-debugger-sources-tree.glitch.me/
The issue for folder containing urls is different, we should probably have a dedicated bug for it
Reporter | ||
Comment 5•2 years ago
|
||
The issue for folder containing urls is different, we should probably have a dedicated bug for it
Split to bug 1829460
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 6•2 years ago
|
||
The issue for non-decoded folder can be visible in https://firefox-devtools-debugger-sources-tree.glitch.me/
Updated the title as it is not limited to sourceURL
Assignee | ||
Comment 7•2 years ago
|
||
We were decoding groups and files source items label,
but not folders.
We fix this and take the occasion to use decodeURI instead
of the non-standard unescape.
A test is added to ensure the source tree items are rendered
as expected.
Updated•2 years ago
|
Comment 9•2 years ago
|
||
bugherder |
Reporter | ||
Comment 10•2 years ago
•
|
||
I have also noticed that the code changes the scheme to Lowercase. e.g.
//# sourceURL=FireMonkey://UserScript/....
// --- or
//# sourceURL=FireMonkey:UserScript/....
will be shown as
firemonkey://
-- UserScript/....
While it is understandable in case of real schemes (http/https/...), they are not the only possibility.
Reporter | ||
Comment 11•2 years ago
|
||
sourceURL
scheme changed to lowercase
Reporter | ||
Comment 12•2 years ago
|
||
The scheme issue will be moved to Bug 1829460 .
Reporter | ||
Comment 13•2 years ago
|
||
Confirmed fixed in Nightly 114.0a1 (2023-04-25) (64-bit)
Build ID 20230425154313
Ubuntu 23.04
Description
•