Closed Bug 1327700 Opened 7 years ago Closed 5 years ago

Ctrl+C copies current source url to clipboard if item in "Variables" tab was focused

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arni2033, Unassigned)

Details

>>>   My Info:   Win7_64, Nightly 48, 32bit, ID 20160403030243
STR_1:
1. Open   data:text/html,<script src="data:text/javascript,onclick=function(){}"></script>
2. Copy some irrelevant string to clipboard, e.g. "asdf"
3. Open Debugger, set breakpoint on 'click' event, click on page
4. Click string "Function scope" in Variables pane to select it, then press Ctrl+C
   OR add watch expression "window", click on that watch expression, then press Ctrl+C
   OR click on "this" in function scope, then press Ctrl+C
5. Focus any input field, press Ctrl+V to see what was in clipboard

AR:
 "data:text/javascript,onclick=function(){}" was copied. It also works with real urls from Bugzilla
 
ER:  Either X or Y
 X) In Step 4 pair "property-value" should be copied, just like in Object inspector
 Y) In Step 4 nothing should be copied at all, because spamming clipboard is bad, isn't it?
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools

only affects the old debugger.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.