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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-edit-property-value.html

Issue 2658723005: DevTools: remove deprecated shadow dom selectors from inspector LayoutTests (Closed)
Patch Set: consistent quotes Created 3 years, 11 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-edit-property-value.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-edit-property-value.html b/third_party/WebKit/LayoutTests/inspector/console/console-edit-property-value.html
index b6688043b27d7b0fbb1a23ac68b25f29b49d7074..afe9694fe08e96845764b851c9755f6a5780379a 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-edit-property-value.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-edit-property-value.html
@@ -49,7 +49,7 @@ var test = function()
function getValueElements()
{
var messageElement = Console.ConsoleView.instance()._visibleViewMessages[1].element();
- return messageElement.querySelectorAll("::shadow .value");
+ return messageElement.querySelector(".console-message-text *").shadowRoot.querySelectorAll(".value");
}
function doubleClickTypeAndEnter(node, text)
@@ -61,7 +61,7 @@ var test = function()
InspectorTest.addResult("Node was hidden after dblclick: " + node.classList.contains("hidden"));
var messageElement = Console.ConsoleView.instance()._visibleViewMessages[1].element();
- var editPrompt = messageElement.querySelector("::shadow .text-prompt");
+ var editPrompt = messageElement.querySelector(".console-message-text *").shadowRoot.querySelector(".text-prompt");
editPrompt.textContent = text;
editPrompt.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
}

Powered by Google App Engine
This is Rietveld 408576698