blob: cb3a00466277d9ee2554d1b8b2dd440c8e70155f [file] [log] [blame]
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>
var foo = 'fooValue';
Function.prototype.bind = function () { throw ":P"; };
function test()
{
InspectorTest.evaluateInConsole("foo", step1);
function step1()
{
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>
Tests that overriding Function.prototype.bind does not break inspector.
</p>
</body>
</html>