ability to save local copy of scripts from sources list

RESOLVED FIXED in Firefox 69

Status

enhancement
P3
normal
RESOLVED FIXED
6 years ago
14 days ago

People

(Reporter: luke, Assigned: janelledement)

Tracking

(Depends on 1 bug, Blocks 1 bug, {good-first-bug})

unspecified
Firefox 69
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox69 fixed)

Details

(Whiteboard: [projects])

Attachments

(1 attachment)

A pretty common problem I have is that I want to save a JS file that I can see in the left column of the debugger (or in the Net console log).  It'd be pretty great if I could right click the script name and choose "save as".  I just checked and Chrome devtools has this feature.
See bug 859058 and bug 890286 for corresponding functionality in the network monitor.
Summary: ability to save local copy of scripts from debugger/network pane → ability to save local copy of scripts from sources list
Yup. This is going to be a big part of our Project Map / Workspace tooling. Also, we'll be able to edit Sources in the Debugger soon so we'll definitely want to save them. Marking this P3 for now and cc'ing Benvie who's doing the Editing piece.
Whiteboard: [projects]
Great, glad to know it's on the roadmap.
OS: Mac OS X → All
Hardware: x86 → All
Depends on: 894997
Priority: -- → P3
Component: Developer Tools: Debugger → Developer Tools: User Stories
Component: Developer Tools: User Stories → Developer Tools: Debugger
Product: Firefox → DevTools
Blocks: dbg-frontend
Type: defect → enhancement
Keywords: good-first-bug

I noticed that there is a 'Download File' option on the context menu in the editor panel of the debugger. Would maybe adding this same option for sourceTree items be a possible solution?

Yep - that would be perfect

Ok, great. I'd like to claim this one if that's ok.

@janelledement are you working on this?

@pradeepgangwar Yes

This patch addresses bug 888161 by adding a ‘Download File’ option to the context menu of individual source tree item files.

Attachment #9068027 - Attachment description: Bug #888161 - Adds download file option to the context menu of source tree items r=davidwalsh → Bug 888161 - Adds download file option to the context menu of source tree items r=davidwalsh
Pushed by dwalsh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d90d0a3f00a6
Adds download file option to the context menu of source tree items r=davidwalsh
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Assignee: nobody → janelledement
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713
You need to log in before you can comment on or make changes to this bug.