Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-Object-overwritten.html
blob696cef71d21547b416d5695552b8f832a502b8b4
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 Object = function() {};
9 function test()
11 InspectorTest.evaluateInConsole("var foo = {bar:2012}; foo", step1);
13 function step1()
15 InspectorTest.dumpConsoleMessages();
16 InspectorTest.completeTest();
20 </script>
21 </head>
22 <body onload="runTest()">
23 <p>
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>
27 </p>
28 </body>
29 </html>