Skip to content

Commit

Permalink
Remove test workarounds for wcjs #311.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 7, 2015
1 parent 5beaf03 commit 1c3b546
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions test/unit/dom-bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@
});

test('move dom-bind', function() {
domBind.parentElement.removeChild(domBind);
// TODO(kschaaf): detached/attached not called if takeRecords isn't
// called between remove & insert on polyfill... See wcjs #311.
CustomElements.takeRecords();
container.appendChild(domBind);
CustomElements.takeRecords();
assert.equal(container.firstElementChild, el1);
Expand Down
6 changes: 0 additions & 6 deletions test/unit/dom-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,6 @@ <h4>inDocumentRepeater</h4>

test('move to different container', function() {
var repeater = inDocumentRepeater;
Polymer.dom(repeater.parentElement).removeChild(repeater);
// TODO(kschaaf): detached/attached not called if takeRecords isn't
// called between remove & insert on polyfill... See wcjs #311.
CustomElements.takeRecords();
CustomElements.takeRecords();
CustomElements.takeRecords();
Polymer.dom(inDocumentContainer).appendChild(repeater);
CustomElements.takeRecords();
CustomElements.takeRecords();
Expand Down

0 comments on commit 1c3b546

Please sign in to comment.