[webkit-dev] How to use ASSERT_NO_EXCEPTION
koivisto at iki.fi
Thu Dec 15 11:23:30 PST 2011
On Thu, Dec 15, 2011 at 8:36 AM, Darin Adler <darin at apple.com> wrote:
> ExceptionCode ec;
> appendChild(newChild, 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev