Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-object-constructor-name.html
blobf22354542224501909480399bb0505b3d71228e6
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
7 function Parent() { }
8 function Child() { }
9 Child.prototype = new Parent();
10 var outer = { inner: function() { } };
11 console.log(new Parent());
12 console.log(new Child());
13 console.log(new outer.inner());
15 function test()
17 InspectorTest.dumpConsoleMessages();
18 InspectorTest.completeTest();
21 </script>
22 </head>
24 <body onload="runTest()">
25 <p>
26 Tests that the name of the function invoked as object constructor will be displayed as its type in the front-end.
27 <a href="https://bugs.webkit.org/show_bug.cgi?id=50063">Bug 50063.</a>
28 </p>
30 </body>
31 </html>