I've always been slightly annoyed at the fact that Gecko used to have multiple classes for the same concept of a document node without any clear separation these days (nsIDocument and nsDocument).

Over the last week I decided to change that by first merging both in:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1516366
  https://bugzilla.mozilla.org/show_bug.cgi?id=1516853

And finally renaming nsIDocument to the more usual naming convention for DOM objects / WebIDL-exposed things these days in:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1517241

So the end result is that now nsIDocument and nsDocument are the same thing and are called mozilla::dom::Document.

It was quite a big patch (thanks Olli for all the reviews!), but over-all I think the end result is nicer.

Anyhow, this is just a PSA since it's such a common type to be used, in case you don't find something that used to live there :)

  -- Emilio
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to