Closed Bug 1403011 Opened 3 years ago Closed 3 years ago

Debugger splits data uri at last /

Categories

(DevTools :: Debugger, defect)

54 Branch
defect
Not set
normal

Tracking

(firefox-esr52 unaffected, firefox55 wontfix, firefox56 wontfix, firefox57 affected, firefox58 affected)

RESOLVED INVALID
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- affected
firefox58 --- affected

People

(Reporter: Oriol, Unassigned)

References

Details

(Keywords: regression)

1. Load data:text/html,<script>console.log(123)</script>
2. Open the new debugger
3. The left panel shows this source tree:

    ▼ data://
      ▼ html,<script>console.log(123)<
        script>

The debugger thinks that all content before the last "/" is the path and after that there is the file name.

But this fails for data URIs.
Jason, should this get moved to GitHub?
Yep, this is something we can fix in GitHub.

https://github.com/devtools-html/debugger.html/issues/4721
Flags: needinfo?(jlaster)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.