estharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/custom-elements-helpers.js"></script>
</head>
<body>
<div id="log"></div>
<script>

let iteration = 0;

document_types().forEach(function (entry) {
    var documentName = entry.name;
    var getDocument = entry.create;
    let calls = 0;

    promise_test(function () {
        class Parenter extends HTMLElement {
            connectedCallback() {
                const child = this.firstChild;
            