[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 17:43:19 PDT 2012


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





--- Comment #15 from Ryosuke Niwa <rniwa at webkit.org>  2012-04-16 17:43:19 PST ---
(In reply to comment #13)
> > unless nobody has ever tested them with IE, which would be rather surprising.
> 
> How would testing with IE tell developers that another engine doesn't support a certain verb? This is a flawed argument.
> 
> I think that this is a pretty obvious WONTFIX, as this suggestion is of no use to Web developers, and only carries site compatibility risks to users.

I disagree. Making all browsers consistently throw exceptions would make authors who are mistakenly invoking execCommand with vendor-specific verbs be aware of the problem.

If the author was to write a website and only tests it on WebKit, then he may mistakenly think that unsupported commands will be ignored by execCommand, which isn't case on IE.

In general, I don't care what "the right behavior" is but I do care about the browser interoperability. If we think that throwing an exception here is a bad idea, then we need to convince Microsoft to stop throwing the exception and change 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