2 <script src=
"../../../resources/js-test.js"></script>
3 <div id=
"container"></div>
5 description('Tests that custom element constructors run the createdCallback synchronously.');
7 var proto
= Object
.create(HTMLElement
.prototype);
9 proto
.createdCallback = function () {
12 var A
= document
.registerElement('x-a', {prototype: proto
});
14 shouldBe('ncallbacks', '1');
16 successfullyParsed
= true;