[Webkit-unassigned] [Bug 22017] New: Access to clipboardData.getData and setData blocked in oncopy
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 31 14:55:57 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=22017
Summary: Access to clipboardData.getData and setData blocked in
oncopy
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: digitalpacman at hotmail.com
function copyEvent(evt) {
evt.clipboardData.getData('Text'); //undefined
}
document.addEventListener('copy',copyEvent, true);
Access to the clipboard, set and get should be allowed within oncopy and
onpaste.
Data in the clipboard that the user is trying to copy should already be on the
clipboard during the execution of oncopy, or there should be an onaftercopy
function.
Relevance:
Building in browser code editing software and safari incorrectly copies new
line characters entered by the user inside a contentEditable=true /
designMode=true element.
Ability to replace \r with \r\n is required in order to fix this issue on
windows machines.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list