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

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

Issue 905743003: DevTools: Reimplemented WI.WatchExpressionsSidebarPane (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/sources/debugger/error-in-watch-expressions.html
diff --git a/LayoutTests/inspector/sources/debugger/error-in-watch-expressions.html b/LayoutTests/inspector/sources/debugger/error-in-watch-expressions.html
index 742619ddbabeaa829f360cee6cb3ed112af66d4b..7cceabee259ba51149934d1d58f09ec4472650ca 100644
--- a/LayoutTests/inspector/sources/debugger/error-in-watch-expressions.html
+++ b/LayoutTests/inspector/sources/debugger/error-in-watch-expressions.html
@@ -9,22 +9,16 @@ var test = function()
{
var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExpressions;
watchExpressionsPane.expand();
-
- var watchExpressionsSection = watchExpressionsPane.section;
- watchExpressionsSection.watchExpressions = [];
- watchExpressionsSection.watchExpressions.push("#$%");
- watchExpressionsSection.update();
+ watchExpressionsPane.addExpression("#$%");
InspectorTest.runAfterPendingDispatches(step1);
function step1()
{
- InspectorTest.addResult(watchExpressionsSection.element.textContent.indexOf("<not available>") !== -1 ? "SUCCESS" : "FAILED");
+ InspectorTest.addResult(watchExpressionsPane.bodyElement.textContent.indexOf("<not available>") !== -1 ? "SUCCESS" : "FAILED");
// Clear watch expressions after execution.
- watchExpressionsSection.watchExpressions = [];
- watchExpressionsSection.update();
-
+ watchExpressionsPane._deleteAllButtonClicked();
InspectorTest.completeTest();
}
}
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698