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

Unified Diff: tracing/tracing/ui/base/container_that_decorates_its_children_test.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...appendChild() (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 8 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: tracing/tracing/ui/base/container_that_decorates_its_children_test.html
diff --git a/tracing/tracing/ui/base/container_that_decorates_its_children_test.html b/tracing/tracing/ui/base/container_that_decorates_its_children_test.html
index 0f7ff7100613c322f15752158ff3f74e452af2cf..432e1acbbeec3796512440e8939187cec8c294b8 100644
--- a/tracing/tracing/ui/base/container_that_decorates_its_children_test.html
+++ b/tracing/tracing/ui/base/container_that_decorates_its_children_test.html
@@ -38,9 +38,9 @@ tr.b.unittest.testSuite(function() {
test('add', function() {
var container = new SimpleContainer();
- container.appendChild(createChild());
- container.appendChild(createChild());
- container.appendChild(createChild());
+ Polymer.dom(container).appendChild(createChild());
+ Polymer.dom(container).appendChild(createChild());
+ Polymer.dom(container).appendChild(createChild());
assert.isTrue(container.children[0].decorated);
assert.isTrue(container.children[1].decorated);
assert.isTrue(container.children[2].decorated);
@@ -49,7 +49,7 @@ tr.b.unittest.testSuite(function() {
test('clearUsingTextContent', function() {
var c0 = createChild();
var container = new SimpleContainer();
- container.appendChild(c0);
+ Polymer.dom(container).appendChild(c0);
container.textContent = '';
assert.isFalse(c0.decorated);
});
@@ -57,7 +57,7 @@ tr.b.unittest.testSuite(function() {
test('clear', function() {
var c0 = createChild();
var container = new SimpleContainer();
- container.appendChild(c0);
+ Polymer.dom(container).appendChild(c0);
container.clear();
assert.isFalse(c0.decorated);
});
@@ -66,7 +66,7 @@ tr.b.unittest.testSuite(function() {
var c0 = createChild();
var c1 = createChild();
var container = new SimpleContainer();
- container.appendChild(c1);
+ Polymer.dom(container).appendChild(c1);
container.insertBefore(c0, c1);
assert.isTrue(c0.decorated);
assert.isTrue(c1.decorated);
@@ -76,8 +76,8 @@ tr.b.unittest.testSuite(function() {
var c0 = createChild();
var c1 = createChild();
var container = new SimpleContainer();
- container.appendChild(c1);
- container.appendChild(c0);
+ Polymer.dom(container).appendChild(c1);
+ Polymer.dom(container).appendChild(c0);
container.insertBefore(c0, c1);
assert.isTrue(c0.decorated);
assert.isTrue(c1.decorated);
@@ -87,7 +87,7 @@ tr.b.unittest.testSuite(function() {
var c0 = createChild();
var c1 = createChild();
var container = new SimpleContainer();
- container.appendChild(c0);
+ Polymer.dom(container).appendChild(c0);
container.replaceChild(c1, c0);
assert.isFalse(c0.decorated);
assert.isTrue(c1.decorated);
« no previous file with comments | « tracing/tracing/ui/base/container_that_decorates_its_children.html ('k') | tracing/tracing/ui/base/deep_utils_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698