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); |