2 <script src=
"../../../resources/js-test.js"></script>
5 description('Tests throwing an exception during registration of constructor');
8 testRunner
.dumpAsText();
10 var proto
= Object
.create(HTMLElement
.prototype, {
13 get: function () { throw "Exception thrown from getter"; }
17 shouldThrow('document.registerElement("x-a", {prototype: proto})', '"Exception thrown from getter"');