diff --git a/test/unit/dom-if.html b/test/unit/dom-if.html
index fc98e3a221..33e8d80e21 100644
--- a/test/unit/dom-if.html
+++ b/test/unit/dom-if.html
@@ -84,7 +84,7 @@
suite('hybrid dom-if', function() {
test('parent is parent of ', function() {
- var stamped = Array.from(document.querySelectorAll('[hybrid-stamped]'));
+ var stamped = [].slice.call(document.querySelectorAll('[hybrid-stamped]'));
assert.equal(stamped.length, 1);
assert.equal(stamped[0].parentNode, document.body);
});
@@ -95,12 +95,12 @@
Polymer.dom(document.body).removeChild(wrapper);
CustomElements.takeRecords();
domIf.render();
- var stamped = Array.from(document.querySelectorAll('[hybrid-stamped]'));
+ var stamped = [].slice.call(document.querySelectorAll('[hybrid-stamped]'));
assert.equal(stamped.length, 0);
Polymer.dom(removalContainer).appendChild(wrapper);
CustomElements.takeRecords();
setTimeout(function() {
- stamped = Array.from(document.querySelectorAll('[hybrid-stamped]'));
+ stamped = [].slice.call(document.querySelectorAll('[hybrid-stamped]'));
assert.equal(stamped.length, 1);
assert.equal(stamped[0].parentNode, removalContainer);
done();
@@ -110,7 +110,7 @@
test('children removed correctly', function() {
hybridDomIf.if = false;
hybridDomIf.render();
- var stamped = Array.from(document.querySelectorAll('[hybrid-stamped]'));
+ var stamped = [].slice.call(document.querySelectorAll('[hybrid-stamped]'));
assert.equal(stamped.length, 0);
});