implement `AppWindow.contentWindow` with an `HtmlWindow` class + test cases.