Skip to content

Commit

Permalink
Skip test in old browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Nov 29, 2017
1 parent 8d57a6e commit a1bd9a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/unit/polymer.properties-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@
});

test('properties: accessor for native property', function() {
// old browsers with broken native properties on instances
// cannot pass this test.
if (el.hasOwnProperty('id')) {
test.skip();
}
el.setAttribute('id', 'yo');
assert.equal(el.id, 'yo');
el._flushProperties();
Expand Down

0 comments on commit a1bd9a4

Please sign in to comment.