2 <script src=
"../../resources/js-test.js"></script>
5 description('This tests that setting the proto of a built in constructor is not reset');
7 shouldBe('Object.getPrototypeOf(HTMLElement)', 'Element');
9 var proto
= new Number(42);
10 HTMLElement
.__proto__
= proto
;
11 shouldBe('Object.getPrototypeOf(HTMLElement)', 'proto');