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

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: Merge conflicts with Tommy's CL. 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 afc11570c31a1dc76da58e733f2aeb0be80f427a..0939b41253bfb12f2d5434daf557d851da499bf4 100644
--- a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
@@ -155,7 +155,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);
});
});
@@ -303,7 +303,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);
@@ -512,7 +512,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);
« no previous file with comments | « chrome/test/data/webui/settings/reset_page_test.js ('k') | chrome/test/data/webui/settings/startup_urls_page_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698