According to the spec, parameter 'refChild' from insertBefore can be null. http://www.w3.org/TR/DOM-Level-2-Core/core.html However, the GObject DOM bindings generator generates code that don't allow this parameter to be NULL.
Created attachment 203938 [details] Patch
Comment on attachment 203938 [details] Patch Awesome!
Comment on attachment 203938 [details] Patch Clearing flags on attachment: 203938 Committed r151288: <http://trac.webkit.org/changeset/151288>
All reviewed patches have been landed. Closing bug.