2 <script src=
"../../../resources/js-test.js"></script>
3 <script src=
"testutils.js"></script>
7 // The controlling parent frame
8 description('Tests destroying a context, then trying to register a new custom element.');
10 successfullyParsed
= true;
14 var proto
= Object
.create(HTMLElement
.prototype);
18 document
.registerElement('x-a', {prototype: proto
});
19 log('FAIL expected register to throw an exception');
21 log('PASS caught expected exception "' + ex
+ '"');