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

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

Issue 1967613003: Migrate child element manipulation, innerHTML, classList, attributes, (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: white space fix. Created 4 years, 7 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/ui/base/dom_helpers.html ('k') | tracing/tracing/ui/base/drag_handle_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/dom_helpers_test.html
diff --git a/tracing/tracing/ui/base/dom_helpers_test.html b/tracing/tracing/ui/base/dom_helpers_test.html
index 64ba68ba36fcb584a0ae04901bc8bf505b29b2a6..79720fb08931eaa0b54e7f3e85ec75140fe10762 100644
--- a/tracing/tracing/ui/base/dom_helpers_test.html
+++ b/tracing/tracing/ui/base/dom_helpers_test.html
@@ -22,8 +22,8 @@ tr.b.unittest.testSuite(function() {
parent: divEl
});
var eltInDocument = document.querySelector('.a-div-class>.a-span-class');
- assert.equal(eltInDocument.textContent, testText);
- eltInDocument.parentElement.removeChild(eltInDocument);
+ assert.equal(Polymer.dom(eltInDocument).textContent, testText);
+ Polymer.dom(eltInDocument.parentElement).removeChild(eltInDocument);
});
test('createSpan_ownerDocument', function() {
« no previous file with comments | « tracing/tracing/ui/base/dom_helpers.html ('k') | tracing/tracing/ui/base/drag_handle_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698