Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / constructor-proto.html
blob3e9bfac2221d18f6ae35cd478995ecdd1b427d4c
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <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');
13 </script>