Bug 911880 - (trusted-window) [Window Management] Rework TrustedUI implementation by BaseWindow or AppWindow

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