XML processing instructions, such as <?xml-stylesheet ?>, are now added to a XUL document's DOM. This means document.firstChild isn't guaranteed to be the root element, use document.documentElement instead. Also, <?xml-stylesheet ?> and <?xul-overlay ?> processing instructions now have no effect outside the document prolog. (bug 319654)