Sandbox starts with nsIPrincipal and not window.