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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/shadow/reveal-shadow-dom-node.html

Issue 2412023002: DevTools: migrate InspectorView to tabbed view location. (Closed)
Patch Set: made layers panel closeable. Created 4 years, 2 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/elements/shadow/reveal-shadow-dom-node.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/shadow/reveal-shadow-dom-node.html b/third_party/WebKit/LayoutTests/inspector/elements/shadow/reveal-shadow-dom-node.html
index bb1abbd28f5c2b97f5f2cab5e44e6c92392ce7f3..234b475c04db4151ea84e232ece2d304894e1884 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/shadow/reveal-shadow-dom-node.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/shadow/reveal-shadow-dom-node.html
@@ -33,10 +33,11 @@ function test()
{
var shadowDiv = children[0];
InspectorTest.addResult("User-agent shadow DOM hidden:");
- WebInspector.panels.elements.revealAndSelectNode(shadowDiv);
- WebInspector.settingForTest("showUAShadowDOM").set(true);
- InspectorTest.addResult("User-agent shadow DOM shown:");
- WebInspector.panels.elements.revealAndSelectNode(shadowDiv);
+ WebInspector.panels.elements.revealAndSelectNode(shadowDiv).then(() => {
+ WebInspector.settingForTest("showUAShadowDOM").set(true);
+ InspectorTest.addResult("User-agent shadow DOM shown:");
+ WebInspector.panels.elements.revealAndSelectNode(shadowDiv);
+ });
}
});
}

Powered by Google App Engine
This is Rietveld 408576698