Rename getElementInShadowTreeStack to getNodeInShadowTreeStack
[WebKit-https.git] / LayoutTests / fast / dom / shadow / resources / shadow-dom.js
index 31d601f3061baaf442462d91ada3e46c1ef6deb1..15576021299e13f390d43134310e55b3aa13403e 100644 (file)
@@ -42,7 +42,7 @@ function isShadowRoot(node)
 
 // You can spefify youngerShadowRoot by consecutive slashes.
 // See LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.html for actual usages.
-function getElementInShadowTreeStack(path)
+function getNodeInShadowTreeStack(path)
 {
     var ids = path.split('/');
     var node = document.getElementById(ids[0]);