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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-copy-treeoutline.html

Issue 2356423002: [DevTools] Turn WebInspector.Panel into a web component.
Patch Set: partial fixes Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/inspector/console/console-copy-treeoutline.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-copy-treeoutline.html b/third_party/WebKit/LayoutTests/inspector/console/console-copy-treeoutline.html
index 9b57c164638c1f6a8aedb852a5465f772086be6b..763a9c9a42773c297081af288b0f3a80caf78cce 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-copy-treeoutline.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-copy-treeoutline.html
@@ -29,7 +29,7 @@ function test()
// Set some initial selection in console.
var base = consoleView.itemElement(0).element();
- window.getSelection().setBaseAndExtent(base, 0, base, 1);
+ base.getComponentSelection().setBaseAndExtent(base, 0, base, 1);
// Try to select all messages.
document.execCommand("selectAll");

Powered by Google App Engine
This is Rietveld 408576698