Skip to content

Commit

Permalink
[ci skip] Add note re: purpose of test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 19, 2017
1 parent 85184e8 commit 7ecbf25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/configure.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,10 @@
var el = document.createElement('x-config-lazy-host');
document.body.appendChild(el);
Polymer(window.XConfigLazy);
// The purpose of this test is to test lazy upgrading an element that
// has a property pre-bound to it (that has an accessor) but that has
// no defaults for it (stresses a prior bug in ready() code that called
// _attachDom twice, which throws in Safari's native SD
Polymer(window.XConfigLazyNoDefaults);
assert.equal(el.$.lazy.noEffectProp, 1);
assert.equal(el.$.lazy.defaultUsesNoEffectProp, 2);
Expand Down

0 comments on commit 7ecbf25

Please sign in to comment.