DoneCreatingElement should be called after adding all attributes. It's now called after adding all children.
Created attachment 585673 [details] [diff] [review] Move DoneCreatingElement
Comment on attachment 585673 [details] [diff] [review] Move DoneCreatingElement r=me. Sorry for the lag.....
Thanks for the r+. Landed. https://hg.mozilla.org/integration/mozilla-inbound/rev/3335984ce688
And backed out, because it turned Android mochitest-8 orange: https://hg.mozilla.org/integration/mozilla-inbound/rev/8f2ca4c209e4
Android-specific XBL seems to be interfering with the Mochitest added here: 1263 INFO TEST-START | /tests/parser/htmlparser/tests/mochitest/test_bug709083.html 1264 ERROR TEST-UNEXPECTED-FAIL | /tests/parser/htmlparser/tests/mochitest/test_bug709083.html | an unexpected uncaught JS exception reported through window.onerror - this.clickToPlay is null at chrome://global/content/bindings/videocontrols.xml:1230 1265 INFO TEST-PASS | /tests/parser/htmlparser/tests/mochitest/test_bug709083.html | Should be muted already. 1266 INFO TEST-END | /tests/parser/htmlparser/tests/mochitest/test_bug709083.html | finished in 5151ms
So the mochitest added here failed in Fennec XUL. Would it be OK to make the test exit early in Fennec XUL considering that Fennec XUL is not in focus anymore?
Yeah, I think so.
Created attachment 607111 [details] [diff] [review] Exclude the test from Fennec I couldn't find a way to check for Fennec XUL specifically in a makefile.
Comment on attachment 607111 [details] [diff] [review] Exclude the test from Fennec r=me if you add a comment with a bug number about this (and of course file said bug).