| <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> |