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

https://bugzilla.mozilla.org/show_bug.cgi?id=911880
identity and payment will create their own iframe and request trustedWindow to open it.