blob: 13ede2af38ead19284c94874f221a0e0d8c57813 [file] [log] [blame]
/*
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion WindowBase get contentWindow
* @description Checks that the property is of type WindowBase.
* @issue #16937
*/
import "dart:html";
import "../../../Utils/expect.dart";
main() {
IFrameElement ife = new IFrameElement();
document.body?.append(ife);
WindowBase? nw = ife.contentWindow;
Expect.isNotNull(nw);
}