You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible for some configurations of elements to break when using dom-template to stamp some DOM. dom-template attempts to notify the "parent" context of property changes, and ends up effectively trying if(foo in undefined) { ... }, which throws.
The text was updated successfully, but these errors were encountered:
Had the same problem while writing a test ...
Got around it by setting the _parentProps property to an empty object (crashes in notifyPath function).
Found the workaround by looking at the commits of app-route mentioned here.
var tmpl = document.querySelector('#my-test-fixture').fixtureTemplates[0]; tmpl._parentProps = {};
It is possible for some configurations of elements to break when using
dom-template
to stamp some DOM.dom-template
attempts to notify the "parent" context of property changes, and ends up effectively tryingif(foo in undefined) { ... }
, which throws.The text was updated successfully, but these errors were encountered: