3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/console-test.js"></script>
7 Object = function() {};
11 InspectorTest
.evaluateInConsole("var foo = {bar:2012}; foo", step1
);
15 InspectorTest
.dumpConsoleMessages();
16 InspectorTest
.completeTest();
22 <body onload=
"runTest()">
24 Tests that Web Inspector's console is not broken if Object is overwritten in the inspected page.
25 Test passes if the expression is evaluated in the console and no errors printed.
26 <a href=
"https://bugs.webkit.org/show_bug.cgi?id=101320">Bug
101320.
</a>