Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: LayoutTests/inspector/sources/debugger/error-in-watch-expressions.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script>
5
6 var foo = 123
7
8 var test = function()
9 {
10 var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExp ressions;
11 watchExpressionsPane.expand();
12 watchExpressionsPane.addExpression("#$%");
13
14 InspectorTest.runAfterPendingDispatches(step1);
15
16 function step1()
17 {
18 InspectorTest.addResult(watchExpressionsPane.bodyElement.textContent.ind exOf("<not available>") !== -1 ? "SUCCESS" : "FAILED");
19
20 // Clear watch expressions after execution.
21 watchExpressionsPane._deleteAllButtonClicked();
22 InspectorTest.completeTest();
23 }
24 }
25
26 </script>
27 </head>
28
29 <body onload="runTest()">
30 <p>
31 Tests that watches pane renders errors in red.
32 </p>
33
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698