[Webkit-unassigned] [Bug 25486] execCommand("paste") should log an error when disallowed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 11:17:26 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=25486


Aryeh Gregor <Simetrical+webkit at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Simetrical+webkit at gmail.com




--- Comment #1 from Aryeh Gregor <Simetrical+webkit at gmail.com>  2011-08-18 11:17:26 PST ---
The current spec requires either throwing SECURITY_ERR, or treating it as unsupported (which if you look at the execCommand() definition means throwing NOT_SUPPORTED_ERR):

http://aryeh.name/spec/editing/editing.html#the-paste-command

Firefox 7.0a2 throws NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED.  If you think logging an error is a better idea than throwing, please explain why and I'll consider changing the spec.

-- 
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