[Webkit-unassigned] [Bug 75891] Safari fails to fire paste events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 13 17:19:48 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=75891
--- Comment #2 from Alexander Ljungberg <aljungberg at wireload.net> 2013-06-13 17:18:25 PST ---
The problem seems to exist in the Webkit Nightly build too (WebKit r151570).
Speaking without any experience on the WebKit source code, this code in EditorCommand.cpp:1277 looks a bit suspicious:
static bool enabledPaste(Frame* frame, Event*, EditorCommandSource)
{
return frame->editor().canPaste();
}
Compare that to the same file, line 1234:
static bool enabledCopy(Frame* frame, Event*, EditorCommandSource)
{
return frame->editor().canDHTMLCopy() || frame->editor().canCopy();
}
enabledCut works similarly. So at least in this instance, paste seems to be treated differently than cut and copy, and canDHTMLPaste() is never consulted.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list