blob: bf5218a8f7dc7e9d1d672cf7ab2ec645e6feae6d [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 PASS unless crash
* @note test causes stack overflow which is considered as "crash" anyway
import "dart:html";
import "../../../../Utils/expect.dart";
import "../../../testcommon.dart";
class Foo extends HtmlElement {
static const tag = 'x-foo';
factory Foo() => new Element.tag(tag);
Foo.created() : super.created() {
treeSanitizer: new NullTreeSanitizer());
main() {
document.register("x-foo", Foo);