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 585036[details][diff][review]
This method doesn't seem to have any callers within the browser. It used to be used by nsGlobalWindow::SetNewDocument, but that call is now gone. I don't see any reason to keep it around.