Currently it returns nsINode*, so callers can't use nsIContent or dom::Element methods.
Created attachment 618212 [details] [diff] [review] Patch v1 This compiles on my machine, and passes the test for bug 685798. I doubt it will cause any test failures, but as usual, you can wait for the try run to finish if you like.
Comment on attachment 618212 [details] [diff] [review] Patch v1 Thanks.
Autoland Patchset: Patches: 618212 Branch: mozilla-central => try Destination: http://hg.mozilla.org/try/pushloghtml?changeset=b08202fd81c5 Try run started, revision b08202fd81c5. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=b08202fd81c5
Try run for b08202fd81c5 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=b08202fd81c5 Results (out of 110 total builds): exception: 18 success: 74 warnings: 18 Builds (or logs if builds failed) available at: http://firstname.lastname@example.org Timed out after 12 hours without completing.