| Index: tracing/tracing/ui/base/overlay_test.html
|
| diff --git a/tracing/tracing/ui/base/overlay_test.html b/tracing/tracing/ui/base/overlay_test.html
|
| index 2d432b9d27588e97d5e7b71546c3c356dded1ca4..66c2905bb90ccaaadc259dce93734dbc661b0e5a 100644
|
| --- a/tracing/tracing/ui/base/overlay_test.html
|
| +++ b/tracing/tracing/ui/base/overlay_test.html
|
| @@ -37,9 +37,9 @@ tr.b.unittest.testSuite(function() {
|
|
|
| test('instantiate', function() {
|
| var dlg = new tr.ui.b.Overlay();
|
| - dlg.classList.add('example-overlay');
|
| + Polymer.dom(dlg).classList.add('example-overlay');
|
| dlg.title = 'ExampleOverlay';
|
| - dlg.innerHTML = 'hello';
|
| + Polymer.dom(dlg).innerHTML = 'hello';
|
| Polymer.dom(dlg.buttons).appendChild(makeButton('i am a button'));
|
| Polymer.dom(dlg.buttons).appendChild(makeCloseButton(dlg));
|
| Polymer.dom(dlg.buttons).appendChild(tr.ui.b.createSpan(
|
| @@ -49,18 +49,18 @@ tr.b.unittest.testSuite(function() {
|
|
|
| test('instantiate_noButtons', function() {
|
| var dlg = new tr.ui.b.Overlay();
|
| - dlg.classList.add('example-overlay');
|
| + Polymer.dom(dlg).classList.add('example-overlay');
|
| dlg.title = 'ExampleOverlay';
|
| - dlg.innerHTML = 'hello';
|
| + Polymer.dom(dlg).innerHTML = 'hello';
|
| addShowButtonForDialog.call(this, dlg);
|
| });
|
|
|
| test('instantiate_disableUserClose', function() {
|
| var dlg = new tr.ui.b.Overlay();
|
| - dlg.classList.add('example-overlay');
|
| + Polymer.dom(dlg).classList.add('example-overlay');
|
| dlg.userCanClose = false;
|
| dlg.title = 'Unclosable';
|
| - dlg.innerHTML = 'This has no close X button.';
|
| + Polymer.dom(dlg).innerHTML = 'This has no close X button.';
|
| Polymer.dom(dlg.buttons).appendChild(makeCloseButton(dlg));
|
| addShowButtonForDialog.call(this, dlg);
|
| });
|
|
|