Index: third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js |
diff --git a/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js b/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js |
index 52b52b1b650c8485a97fa81e6682465ec6f1fe32..10e46a48974d246a18f14d3fa71a32494079737c 100644 |
--- a/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js |
+++ b/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js |
@@ -107,14 +107,16 @@ |
} |
function focus(target) { |
- Polymer.Base.fire.call(target, 'focus', {}, { |
- bubbles: false |
+ Polymer.Base.fire('focus', {}, { |
+ bubbles: false, |
+ node: target |
}); |
} |
function blur(target) { |
- Polymer.Base.fire.call(target, 'blur', {}, { |
- bubbles: false |
+ Polymer.Base.fire('blur', {}, { |
+ bubbles: false, |
+ node: target |
}); |
} |