New issue
Advanced search Search tips

Issue 690776 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Can replace clipboard text on copy

Reported by mishra.d...@gmail.com, Feb 10 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Steps to reproduce the problem:
Upstream Bug's: 690311,352395

Reporting this as a new Bug.

Steps to reproduce:
1. Open copy.html 

Copy the Text from the copy.html file and try pasting what you have copied, you cant'

What is the expected behavior?

What went wrong?
<html>
<head>
<script>
function Test(event) {
  event.preventDefault();
  event.clipboardData.setData('text/plain', 'This is not that text which you copied !');
}
</script>
</head>
<body oncopy="Test(event)">
Please copy this Text !
</body>
</html>

Did this work before? N/A 

Chrome version: 56.0.2924.87 (Official Build) (64-bit)  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 24.0 r0

 
copy.html
264 bytes View Download
Components: Blink>DataTransfer
Labels: -Type-Bug-Security -Restrict-View-SecurityTeam Type-Bug
Status: WontFix (was: Unconfirmed)
Summary: Can replace clipboard text on copy (was: Can set arbitrary clipboard formats.)
This is working as expected. The setData API is a part of the web platform.

Sign in to add a comment