Files
tubestation/toolkit/components/passwordmgr/shared
Ryan Safaeian 1d329069d4 Bug 1919301 - Throw error in createFromDocumentRoot only when aDocumentRoot is null. r=credential-management-reviewers,issammani
For HTML documents, `createFromDocumentRoot` would normally never throw an error, since the root element for an HTML document is always `HTMLHtmlElement`, however, for any non-empty XML document, the root element is not any specific type. This caused `createFromDocumentRoot` to throw an error in the context menu.

Differential Revision: https://phabricator.services.mozilla.com/D222621
2024-09-18 16:22:54 +00:00
..