nsAppShell need reabse
Rebase nsAppShell