blob: ea8060543955c49f37aa23f19d467c02ac684a68 [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.
*/
/**
* @description
*/
import "dart:html";
import "../../testcommon.dart";
main() {
document.body.setInnerHtml('''
<div id="test"><!--SUCESS--></div>
''', treeSanitizer: new NullTreeSanitizer());
var x = document.getElementById("test").firstChild;
shouldBeTrue(x != null && x.nodeType == Node.COMMENT_NODE);
}