[Webkit-unassigned] [Bug 83993] Unsupported commands in execCommand/queryCommand* should throw except queryCommandSupported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 16 09:25:12 PDT 2012


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2012-04-16 09:25:12 PST ---
(In reply to comment #1)
> Engines support different sets of commands, so raising an exception is particularly likely to completely break a page, as opposed to some minor stylistic difference.
> 
> I think that making execCommand raise an exception for unknown verb would be wrong.

But IE has been and will be throwing exceptions. If anything websites should be calling queryCommandSupported.

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