This document provides an overview of the window management architecture in Firefox OS. It discusses the AppWindow class and its subclasses like ActivityWindow and HomescreenWindow. It covers modules like AppWindowManager, ActivityWindowManager, and LayoutManager that manage window instances. It outlines principles like wrapping APIs and focusing on single responsibilities. It includes diagrams of window lifecycles and event flows. It proposes future work like improving transitions, removing origin references, and implementing LockScreenWindow and ScreenSaverWindow. The document gives a detailed but technical summary of the Firefox OS window management system.