| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
|
| index 927d050a3dc0006d1e5ca9ff4f6261e85565ad7f..342730b6951534ad0b4c2c30af2afa2bc02676d2 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
|
| @@ -251,13 +251,13 @@ function testFocusNavigationBackward(elements)
|
| shouldNavigateFocus(elements[i], elements[i + 1], 'backward');
|
| }
|
|
|
| -function dumpComposedShadowTree(node, indent)
|
| +function dumpFlatTree(node, indent)
|
| {
|
| indent = indent || "";
|
| var output = indent + dumpNode(node) + "\n";
|
| var child;
|
| for (child = internals.firstChildInFlatTree(node); child; child = internals.nextSiblingInFlatTree(child))
|
| - output += dumpComposedShadowTree(child, indent + "\t");
|
| + output += dumpFlatTree(child, indent + "\t");
|
| return output;
|
| }
|
|
|
| @@ -269,7 +269,7 @@ function lastNodeInFlatTree(root)
|
| return lastNode;
|
| }
|
|
|
| -function showComposedShadowTreeByTraversingInForward(root)
|
| +function showFlatTreeByTraversingInForward(root)
|
| {
|
| var node = root;
|
| var last = lastNodeInFlatTree(root);
|
| @@ -281,7 +281,7 @@ function showComposedShadowTreeByTraversingInForward(root)
|
| }
|
| }
|
|
|
| -function showComposedShadowTreeByTraversingInBackward(root)
|
| +function showFlatTreeByTraversingInBackward(root)
|
| {
|
| var node = lastNodeInFlatTree(root);
|
| while (node) {
|
| @@ -292,16 +292,16 @@ function showComposedShadowTreeByTraversingInBackward(root)
|
| }
|
| }
|
|
|
| -function showComposedShadowTree(node)
|
| +function showFlatTree(node)
|
| {
|
| - debug('Composed Shadow Tree:');
|
| - debug(dumpComposedShadowTree(node));
|
| + debug('Flat Tree:');
|
| + debug(dumpFlatTree(node));
|
|
|
| debug('Traverse in forward.');
|
| - showComposedShadowTreeByTraversingInForward(node);
|
| + showFlatTreeByTraversingInForward(node);
|
|
|
| debug('Traverse in backward.');
|
| - showComposedShadowTreeByTraversingInBackward(node);
|
| + showFlatTreeByTraversingInBackward(node);
|
|
|
| debug('');
|
| }
|
|
|