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

Unified Diff: tracing/tracing/ui/base/checkbox_picker_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/checkbox_picker_test.html
diff --git a/tracing/tracing/ui/base/checkbox_picker_test.html b/tracing/tracing/ui/base/checkbox_picker_test.html
index 40d83361fb69f2f58571b4d87961c360291773d7..674696d898b1a7101f3b3cabfae787fc623321e5 100644
--- a/tracing/tracing/ui/base/checkbox_picker_test.html
+++ b/tracing/tracing/ui/base/checkbox_picker_test.html
@@ -75,7 +75,7 @@ tr.b.unittest.testSuite(function() {
];
cp.selectCheckbox('Toyota');
cp.selectCheckbox('Tesla');
- container1.appendChild(cp);
+ Polymer.dom(container1).appendChild(cp);
this.addHTMLOutput(container1);
cp.unselectCheckbox('Tesla');
assert.deepEqual(cp.checkedKeys, ['Toyota']);
@@ -93,7 +93,7 @@ tr.b.unittest.testSuite(function() {
{key: 'Honda', label: 'I want to drive Honda'},
{key: 'Tesla', label: 'I want to drive electric car'},
];
- container2.appendChild(cp2);
+ Polymer.dom(container2).appendChild(cp2);
this.addHTMLOutput(container2);
assert.deepEqual(cp2.checkedKeys, ['Toyota']);
});
@@ -110,7 +110,7 @@ tr.b.unittest.testSuite(function() {
cp.settingsKey = 'checkbox-picker-test-one';
cp.selectCheckbox('Toyota');
cp.selectCheckbox('Tesla');
- container1.appendChild(cp);
+ Polymer.dom(container1).appendChild(cp);
this.addHTMLOutput(container1);
assert.deepEqual(cp.checkedKeys.sort(), ['Tesla', 'Toyota']);
@@ -126,7 +126,7 @@ tr.b.unittest.testSuite(function() {
{key: 'Honda', label: 'I want to drive Honda'},
{key: 'Tesla', label: 'I want to drive electric car'},
];
- container2.appendChild(cp2);
+ Polymer.dom(container2).appendChild(cp2);
this.addHTMLOutput(container2);
cp2.settingsKey = 'checkbox-picker-test-one';
assert.deepEqual(cp2.checkedKeys.sort(), ['Tesla', 'Toyota']);
« no previous file with comments | « tracing/tracing/ui/annotations/comment_box_annotation_view.html ('k') | tracing/tracing/ui/base/color_legend.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698