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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-search.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-search.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-search.html b/third_party/WebKit/LayoutTests/inspector/console/console-search.html
index afbd673068141e98bd0319c8d71800156f9f4b5e..9919a3548662a01e3207190bd63262898c6f0134 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-search.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-search.html
@@ -140,7 +140,7 @@ function test()
{
function addCurrentMarked()
{
- var matches = document.querySelectorAll(".highlighted-search-result");
+ var matches = consoleView.element.querySelectorAll(".highlighted-search-result");
addResult("number of visible matches: " + matches.length);
for (var i = 0; i < matches.length; ++i)
addResult("match " + i + ": " + matches[i].className);

Powered by Google App Engine
This is Rietveld 408576698