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

Unified Diff: LayoutTests/inspector/elements/elements-panel-shadow-selection-on-refresh.html

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests 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
Index: LayoutTests/inspector/elements/elements-panel-shadow-selection-on-refresh.html
diff --git a/LayoutTests/inspector/elements/elements-panel-shadow-selection-on-refresh.html b/LayoutTests/inspector/elements/elements-panel-shadow-selection-on-refresh.html
index 85ba08c655e20bf2fbdcbb831de34700fb53ee36..4bf06803928dd88de684714e281b554b9270944d 100644
--- a/LayoutTests/inspector/elements/elements-panel-shadow-selection-on-refresh.html
+++ b/LayoutTests/inspector/elements/elements-panel-shadow-selection-on-refresh.html
@@ -14,45 +14,45 @@ function test()
InspectorTest.expandElementsTree(next);
},
- function testAuthorShadowRoot(next)
+ function testOpenShadowRoot(next)
{
- InspectorTest.findNode(isAuthorShadowRoot, selectReloadAndDump.bind(null, next));
+ InspectorTest.findNode(isOpenShadowRoot, selectReloadAndDump.bind(null, next));
},
- function testUserAgentShadowRoot(next)
+ function testClosedShadowRoot(next)
{
- InspectorTest.findNode(isUserAgentShadowRoot, selectReloadAndDump.bind(null, next));
+ InspectorTest.findNode(isClosedShadowRoot, selectReloadAndDump.bind(null, next));
},
- function testAuthorShadowRootChild(next)
+ function testOpenShadowRootChild(next)
{
- InspectorTest.findNode(isAuthorShadowRootChild, selectReloadAndDump.bind(null, next));
+ InspectorTest.findNode(isOpenShadowRootChild, selectReloadAndDump.bind(null, next));
},
- function testUserAgentShadowRootChild(next)
+ function testClosedShadowRootChild(next)
{
- InspectorTest.findNode(isUserAgentShadowRootChild, selectReloadAndDump.bind(null, next));
+ InspectorTest.findNode(isClosedShadowRootChild, selectReloadAndDump.bind(null, next));
}
]);
- function isAuthorShadowRoot(node)
+ function isOpenShadowRoot(node)
{
return node && node.shadowRootType() === WebInspector.DOMNode.ShadowRootTypes.Author;
}
- function isUserAgentShadowRoot(node)
+ function isClosedShadowRoot(node)
{
return node && node.shadowRootType() === WebInspector.DOMNode.ShadowRootTypes.UserAgent;
}
- function isAuthorShadowRootChild(node)
+ function isOpenShadowRootChild(node)
{
- return isAuthorShadowRoot(node.parentNode);
+ return isOpenShadowRoot(node.parentNode);
}
- function isUserAgentShadowRootChild(node)
+ function isClosedShadowRootChild(node)
{
- return isUserAgentShadowRoot(node.parentNode);
+ return isClosedShadowRoot(node.parentNode);
}
function selectReloadAndDump(next, node)

Powered by Google App Engine
This is Rietveld 408576698