This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
Open
Description
- All of the HUD's UI components should be in an isolated
<iframe>
- Can also consider a shadow DOM a la web components (@legomushroom)
- Add small amount of "bridge" JS that communicates between the Glimpse.Browser.Agent and the HUD
- Can use (
postMessage()
)[https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage] to accomplish this
- Can use (
This will mitigate concerns related to:
- style isolation (there is no guarantee that HUD styles are not overridden by inherited styles)
- performance metrics: currently, the performance numbers (as well as load times, etc.) can be influenced by the HUD, since they are all within the same main thread.
Metadata
Assignees
Labels
No labels