2 <script src=
"../../../resources/js-test.js"></script>
3 <script src=
"testutils.js"></script>
10 // The controlling parent frame
11 description('Tests destroying a context during element upgrade.');
13 successfullyParsed
= true;
18 var proto
= Object
.create(HTMLElement
.prototype);
19 proto
.createdCallback = function () {
24 var A
= document
.registerElement('x-a', {prototype: proto
});