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

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

Issue 1928873003: Use Polymer.dom with many dom manipulations. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: fixes 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/ui/base/table.html ('k') | tracing/tracing/ui/base/ui.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/table_test.html
diff --git a/tracing/tracing/ui/base/table_test.html b/tracing/tracing/ui/base/table_test.html
index 5487d436c2ba71543663037fa74a335c1c138979..b4802fde7973a1ce7b9db617b7b3e7ad652537b0 100644
--- a/tracing/tracing/ui/base/table_test.html
+++ b/tracing/tracing/ui/base/table_test.html
@@ -384,7 +384,8 @@ tr.b.unittest.testSuite(function() {
});
assert.isDefined(bToplevelEl);
var expandButton = bToplevelEl.parentElement.querySelector('expand-button');
- assert.isTrue(expandButton.classList.contains('button-expanded'));
+ assert.isTrue(Polymer.dom(expandButton).classList.contains(
+ 'button-expanded'));
});
@@ -1239,7 +1240,7 @@ tr.b.unittest.testSuite(function() {
this.addHTMLOutput(table);
// check that we don't have 'undefined' anywhere
- assert.isTrue(table.$.body.innerHTML.indexOf('undefined') < 0);
+ assert.isTrue(Polymer.dom(table.$.body).innerHTML.indexOf('undefined') < 0);
});
test('customizeTableRowCallback', function() {
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/base/ui.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698