blob: b934ffed1ee877ffc0f55680a0bff3ed62fa6e82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>
function Parent() { }
function Child() { }
Child.prototype = new Parent();
var outer = { inner: function() { } };
console.log(new Parent());
console.log(new Child());
console.log(new outer.inner());
function test()
{
InspectorTest.expandConsoleMessages();
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
</script>
</head>
<body onload="runTest()">
<p>
Tests that the name of the function invoked as object constructor will be displayed as its type in the front-end.
<a href="https://bugs.webkit.org/show_bug.cgi?id=50063">Bug 50063.</a>
</p>
</body>
</html>
|