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

Unified Diff: tracing/tracing/ui/extras/about_tracing/record_selection_dialog_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
Index: tracing/tracing/ui/extras/about_tracing/record_selection_dialog_test.html
diff --git a/tracing/tracing/ui/extras/about_tracing/record_selection_dialog_test.html b/tracing/tracing/ui/extras/about_tracing/record_selection_dialog_test.html
index 62fa1553ab082e39ff0b307b04add4482dc09d97..12574200ff7d68447c62c5d66d32963a7d0d4f31 100644
--- a/tracing/tracing/ui/extras/about_tracing/record_selection_dialog_test.html
+++ b/tracing/tracing/ui/extras/about_tracing/record_selection_dialog_test.html
@@ -5,9 +5,9 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<link rel="import" href="/tracing/ui/extras/about_tracing/record_selection_dialog.html">
<link rel="import" href="/tracing/base/settings.html">
<link rel="import" href="/tracing/core/test_utils.html">
+<link rel="import" href="/tracing/ui/extras/about_tracing/record_selection_dialog.html">
<script>
'use strict';
@@ -208,7 +208,7 @@ tr.b.unittest.testSuite(function() {
assert.isFalse(dlg.useSampling);
// Make sure the manual settings are not visible.
- var classList = dlg.categoriesView_.classList;
+ var classList = Polymer.dom(dlg.categoriesView_).classList;
assert.isTrue(classList.contains('categories-column-view-hidden'));
// Verify manual settings do not modify the checkboxes.
@@ -253,7 +253,7 @@ tr.b.unittest.testSuite(function() {
assert.isFalse(dlg.useSampling);
// Make sure the manual settings are not visible.
- var classList = dlg.categoriesView_.classList;
+ var classList = Polymer.dom(dlg.categoriesView_).classList;
assert.isTrue(classList.contains('categories-column-view-hidden'));
// Switch to manual settings and verify the default values are not returned.
@@ -302,7 +302,7 @@ tr.b.unittest.testSuite(function() {
assert.isTrue(dlg.useSampling);
// Make sure the manual settings are not visible.
- var classList = dlg.categoriesView_.classList;
+ var classList = Polymer.dom(dlg.categoriesView_).classList;
assert.isTrue(classList.contains('categories-column-view-hidden'));
// Switch to manual settings and verify the default values are not returned.

Powered by Google App Engine
This is Rietveld 408576698