Update test to avoid template polypill issues.

This commit is contained in:
Kevin Schaaf 2015-11-06 15:28:23 -08:00
parent 62f2d2a298
commit fa96ff3020

View File

@ -56,10 +56,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</template>
</div>
<template id="trueif">
<template is="dom-if" if>
<div></div>
</template>
<template is="dom-if" id="simple">
<div></div>
</template>
<script>
@ -502,7 +500,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
suite('queueing race conditions', function() {
test('domif=true, attach, detach', function(done) {
var domif = document.importNode(document.querySelector('#trueif').content, true).firstElementChild;
var domif = document.querySelector('#simple');
domif.if = true;
document.body.appendChild(domif);
document.body.removeChild(domif);
setTimeout(function() {