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

Unified Diff: lib/src/iron-form/test/basic.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 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
« no previous file with comments | « lib/src/iron-form/iron-form.html ('k') | lib/src/iron-icon/iron-icon.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/iron-form/test/basic.html
diff --git a/lib/src/iron-form/test/basic.html b/lib/src/iron-form/test/basic.html
index 248431cad88844dd1bf48db62fce03e4863fde09..bacc3b29555b5d059e81040b5e64f62787b7039a 100644
--- a/lib/src/iron-form/test/basic.html
+++ b/lib/src/iron-form/test/basic.html
@@ -310,7 +310,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
form.addEventListener('iron-form-response', function(event) {
expect(submitted).to.be.equal(true);
- var response = event.detail;
+ var response = event.detail.response;
expect(response).to.be.ok;
expect(response).to.be.an('object');
expect(response.success).to.be.equal(true);
@@ -331,7 +331,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
form.addEventListener('iron-form-response', function(event) {
expect(submitted).to.be.equal(true);
- var response = event.detail;
+ var response = event.detail.response;
expect(response).to.be.ok;
expect(response).to.be.an('object');
expect(response.success).to.be.equal(true);
« no previous file with comments | « lib/src/iron-form/iron-form.html ('k') | lib/src/iron-icon/iron-icon.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698