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