On Thu, Dec 15, 2011 at 8:36 AM, Darin Adler <[email protected]> wrote:

>    ExceptionCode ec;
>    appendChild(newChild, ec);
>    ASSERT(!ec);
>

Often code like this indicates misuse of DOM API functions for internal
purposes. This is inefficient (due to exception related checking and other
spec mandated behaviors) and architecturally bad (ties our internal data
structures to DOM way of presenting them, see stylesheet related classes).

I'm not sure it is a good idea to make these cases less visible.


   antti
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to