Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / sources / debugger-ui / error-in-watch-expressions.html
bloba5ae506db7fb7d805193f115618a21039ee7fb71
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script>
6 var foo = 123
8 var test = function()
10 var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExpressions;
11 watchExpressionsPane.expand();
12 watchExpressionsPane.addExpression("#$%");
14 InspectorTest.runAfterPendingDispatches(step1);
16 function step1()
18 InspectorTest.addResult(watchExpressionsPane.element.textContent.indexOf("<not available>") !== -1 ? "SUCCESS" : "FAILED");
20 // Clear watch expressions after execution.
21 watchExpressionsPane._deleteAllButtonClicked();
22 InspectorTest.completeTest();
26 </script>
27 </head>
29 <body onload="runTest()">
30 <p>
31 Tests that watches pane renders errors in red.
32 </p>
34 </body>
35 </html>