4 <script src=
"../../../resources/js-test.js"></script>
6 description("This test ensures that the lifecycle callback of a parser-made element is visible in following script block.")
7 proto
= Object
.create(HTMLElement
.prototype, { createdCallback
: { value: function() { window
.callbacksCalled
= true; } } });
8 document
.registerElement("x-foo", { prototype: proto
});
14 shouldBeTrue("window.callbacksCalled");