Getters and setter methods on Element classes that return strings can be optimized into a single function call that just takes the V8 parameters and the QualifiedName of the attribute (and the new value, for the setter.) I've also thrown in a small optimization to the event handling that avoids multiple calls to V8Proxy::setDOMException in a single method.
Created attachment 43112 [details] patch
Comment on attachment 43112 [details] patch sounds good.
Committed revision 50914.