[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 13:48:34 PDT 2012


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





--- Comment #8 from Ehsan Akhgari [:ehsan] <ehsan at mozilla.com>  2012-04-16 13:48:33 PST ---
(In reply to comment #7)
> This is a generic argument for raising exceptions for every error in every DOM function, and we are obviously not going there. Early error detection is a benefit that comes with draconian error handling, but the Web platform does not work like that. Browser users prefer subtle errors to completely dysfunctional pages.

I think this is an over-generalization of my argument.

> What I'm saying is that execCommand is in less need of exceptions than an average DOM function.

While that may be true, how do you propose that web pages are expected to know when a command that they execute in order to have _some_ effect on the DOM not having any because it is not supported by the current UA?

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