I did all the ones that actually map to Document impl methods, and do not involve types not handled by the bindings generator yet.
Created attachment 7492 [details] autogenerate many Document methods and attributes
The diff doesn't contain Document.idl. Please attach or make a new diff.
Comment on attachment 7492 [details] autogenerate many Document methods and attributes Document.idl missing.
Created attachment 7498 [details] fixed patch
Comment on attachment 7498 [details] fixed patch So I think this is fine to land as-is. However, I also think it would be even better to move more of Document to the idl before landing. I'm going to trust you that all the tests pass. Now we just have to hope that we have enough testing coverage. :)
Created attachment 7520 [details] patch that does all of it, but doesn't work
Created attachment 7522 [details] a version that does the whole thing and actually works!
Comment on attachment 7522 [details] a version that does the whole thing and actually works! r=me I'd like to see a comment in CodeGeneratorJS.pm about why Document needs a special destructor
Mass moving XML DOM bugs to the "DOM" Component.