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

Unified Diff: tracing/tracing/base/unittest/html_test_results.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
« no previous file with comments | « tracing/tracing/base/base.html ('k') | tracing/tracing/base/unittest/interactive_test_runner.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/unittest/html_test_results.html
diff --git a/tracing/tracing/base/unittest/html_test_results.html b/tracing/tracing/base/unittest/html_test_results.html
index 9f8d54f4910e3bf9e5982d7040ecb8f2107b65ff..ef6205935491500d5dc85a481961a1e5b67fc0fd 100644
--- a/tracing/tracing/base/unittest/html_test_results.html
+++ b/tracing/tracing/base/unittest/html_test_results.html
@@ -173,26 +173,26 @@ tr.exportTo('tr.b.unittest', function() {
addError: function(normalizedException) {
var errorEl = document.createElement('x-html-test-case-error');
- errorEl.appendChild(tr.ui.b.instantiateTemplate(
+ Polymer.dom(errorEl).appendChild(tr.ui.b.instantiateTemplate(
'#x-html-test-case-error-template', THIS_DOC));
errorEl.querySelector('#stack').textContent = normalizedException.stack;
- this.querySelector('#details').appendChild(errorEl);
+ Polymer.dom(this.querySelector('#details')).appendChild(errorEl);
this.updateColorAndStatus_();
},
addFlaky: function() {
var flakyEl = document.createElement('x-html-test-case-flaky');
- flakyEl.appendChild(tr.ui.b.instantiateTemplate(
+ Polymer.dom(flakyEl).appendChild(tr.ui.b.instantiateTemplate(
'#x-html-test-case-flaky-template', THIS_DOC));
flakyEl.querySelector('#message').textContent = 'FLAKY';
- this.querySelector('#details').appendChild(flakyEl);
+ Polymer.dom(this.querySelector('#details')).appendChild(flakyEl);
this.updateColorAndStatus_();
},
addHTMLOutput: function(element) {
var htmlResultEl = document.createElement('x-html-test-case-html-result');
- htmlResultEl.appendChild(element);
- this.querySelector('#details').appendChild(htmlResultEl);
+ Polymer.dom(htmlResultEl).appendChild(element);
+ Polymer.dom(this.querySelector('#details')).appendChild(htmlResultEl);
},
updateHTMLOutputDisplayState_: function() {
« no previous file with comments | « tracing/tracing/base/base.html ('k') | tracing/tracing/base/unittest/interactive_test_runner.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698