Shared components used by Firefox and other Mozilla software, including handling of Web content; Gecko, HTML, CSS, layout, DOM, scripts, images, networking, etc. Issues with web page layout probably go here, while Firefox user interface issues belong in the Firefox product. (More info)
Created attachment 610212[details][diff][review]
We have plenty of code which QIs nsINode to nsIDOMNode.
We could do something faster. Unfortunately virtual method is needed, but at least
we can get rid of Addref/Release.