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

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

Issue 2902543002: DevTools: migrate WatchExpressionsSidebarPane to shadow (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 5
6 var foo = 123 6 var foo = 123
7 7
8 var test = function() 8 var test = function()
9 { 9 {
10 var watchExpressionsPane = self.runtime.sharedInstance(Sources.WatchExpressi onsSidebarPane); 10 var watchExpressionsPane = self.runtime.sharedInstance(Sources.WatchExpressi onsSidebarPane);
11 UI.panels.sources._sidebarPaneStack.showView(UI.panels.sources._watchSidebar Pane).then(() => { 11 UI.panels.sources._sidebarPaneStack.showView(UI.panels.sources._watchSidebar Pane).then(() => {
12 watchExpressionsPane.doUpdate(); 12 watchExpressionsPane.doUpdate();
13 watchExpressionsPane._createWatchExpression("#$%"); 13 watchExpressionsPane._createWatchExpression("#$%");
14 watchExpressionsPane._saveExpressions(); 14 watchExpressionsPane._saveExpressions();
15 InspectorTest.deprecatedRunAfterPendingDispatches(step1); 15 InspectorTest.deprecatedRunAfterPendingDispatches(step1);
16 }); 16 });
17 17
18 18
19 function step1() 19 function step1()
20 { 20 {
21 InspectorTest.addResult(watchExpressionsPane.element.textContent.indexOf ("<not available>") !== -1 ? "SUCCESS" : "FAILED"); 21 InspectorTest.addResult(watchExpressionsPane.contentElement.textContent. indexOf("<not available>") !== -1 ? "SUCCESS" : "FAILED");
22 22
23 // Clear watch expressions after execution. 23 // Clear watch expressions after execution.
24 watchExpressionsPane._deleteAllButtonClicked(); 24 watchExpressionsPane._deleteAllButtonClicked();
25 InspectorTest.completeTest(); 25 InspectorTest.completeTest();
26 } 26 }
27 } 27 }
28 28
29 </script> 29 </script>
30 </head> 30 </head>
31 31
32 <body onload="runTest()"> 32 <body onload="runTest()">
33 <p> 33 <p>
34 Tests that watches pane renders errors in red. 34 Tests that watches pane renders errors in red.
35 </p> 35 </p>
36 36
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698