Open Bug 1327828 Opened 7 years ago Updated 2 years ago

Cut-Copy-Paste are NOW broken, Episode 3 - All are disabled even if <body> is focused

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

References

Details

(Whiteboard: Cut, copy, paste buttons intentionally broken in bug 1159490 by Ehsan Akhgari)

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
0. Move Cut-Copy-Paste toolbarbutton to toolbar
1. Open url [1] in a new tab
2. Click in the 1st input
3. Switch to another tab and back
4. Click on the page outside of the input

AR:
 Step 2 - all items (cut,copy,paste) are enabled in toolbarbutton
 Step 4 - <body> has focus, but all items (cut,copy,paste) are disabled in toolbarbutton
ER:  Either X or Y
 X) Everything should work just as intended before regression 1159490:   Step 2 - All items disabled
 Y) Step 4 - all items should be enabled, as intended in terrible UX regression bug 1159490

> [1] data:text/html,<body onpaste="console.log(1)"><input onfocus="this.style.display='none'"><input>
> [2] data:text/html,<script>addEventListener('paste',function(e){console.log(e)},false)</script><input onfocus="this.style.display='none';"><input>
Component: Untriaged → DOM: Events
Product: Firefox → Core
No longer blocks: 1277113
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.