nit: origin is not a way to identify apps. I am fine if you keep this in this patch but let's us appWindow.instanceID to identify it in followup.