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

NEW
Unassigned

Status

2 years ago
8 months ago

People

(Reporter: arni2033, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
>>>   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?
(Reporter)

Updated

2 years ago
No longer blocks: 1277113
(Reporter)

Updated

2 years ago
Component: Untriaged → Developer Tools: Canvas Debugger
(Reporter)

Updated

2 years ago
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger

Updated

8 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.