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

Unified Diff: chrome/test/data/webui/settings/settings_autofill_section_browsertest.js

Issue 2180823004: Migrate <cr-dialog> from PaperDialogBehavior to native <dialog>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
diff --git a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
index baaa82ca6c602d014cf079a4db3845dcccf96cee..d9b28cae336f7ce76e1f599e673c10de79d449ea 100644
--- a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
@@ -166,7 +166,7 @@ SettingsAutofillSectionBrowserTest.prototype = {
var section = document.createElement('settings-address-edit-dialog');
section.address = address;
document.body.appendChild(section);
- section.addEventListener('iron-overlay-opened', function() {
+ section.addEventListener('on-update-address-wrapper', function() {
resolve(section);
});
});
@@ -315,7 +315,7 @@ TEST_F('SettingsAutofillSectionBrowserTest', 'CreditCardTests', function() {
done();
});
- creditCardDialog.addEventListener('iron-overlay-closed', function() {
+ creditCardDialog.addEventListener('close', function() {
// Test is |done| in a timeout in order to ensure that
// 'save-credit-card' is NOT fired after this test.
window.setTimeout(done, 100);
@@ -525,7 +525,7 @@ TEST_F('SettingsAutofillSectionBrowserTest', 'AddressTests', function() {
done();
});
- dialog.addEventListener('iron-overlay-closed', function() {
+ dialog.addEventListener('close', function() {
// Test is |done| in a timeout in order to ensure that
// 'save-address' is NOT fired after this test.
window.setTimeout(done, 100);

Powered by Google App Engine
This is Rietveld 408576698