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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js

Issue 1675193002: Rename 'composed tree' to 'flat tree' in the layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js
index 17b714ed63050a94c52eea222814ea3e83e44772..c71535cd8246d17b4ab6ca6bdece3c9ef91f06c4 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js
@@ -116,16 +116,6 @@ function dumpTouchList(touches) {
return result;
}
-function dumpComposedShadowTree(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");
- return output;
-}
-
function addEventListeners(nodes)
{
for (var i = 0; i < nodes.length; ++i) {
@@ -187,5 +177,5 @@ function showSandboxTree()
{
var sandbox = document.getElementById('sandbox');
sandbox.offsetLeft;
- debug('\n\nComposed Shadow Tree will be:\n' + dumpComposedShadowTree(sandbox));
+ debug('\n\nFlat Tree will be:\n' + dumpFlatTree(sandbox));
}

Powered by Google App Engine
This is Rietveld 408576698