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
|
|
►
Sign in to add a comment |
|
Comment 1 by elawrence@chromium.org
, Feb 10 2017Labels: -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.)