mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Make test work under native Shadow DOM.
This commit is contained in:
parent
3ece552db5
commit
4f9c2bd289
@ -1317,6 +1317,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
done();
|
||||
});
|
||||
});
|
||||
} else {
|
||||
done();
|
||||
}
|
||||
});
|
||||
|
||||
@ -3222,7 +3224,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
setTimeout(function() {
|
||||
var stamped1 = Polymer.dom(primitive.$.container1).querySelectorAll('*:not(template)');
|
||||
for (var i=0; i<items.length; i++) {
|
||||
assert.equal(stamped1[i].textContent, items[i]);
|
||||
assert.equal(stamped1[i].itemaProp, items[i]);
|
||||
}
|
||||
var prev = items.slice();
|
||||
items.sort();
|
||||
@ -3235,7 +3237,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
setTimeout(function() {
|
||||
var stamped1 = Polymer.dom(primitive.$.container1).querySelectorAll('*:not(template)');
|
||||
for (var i=0; i<items.length; i++) {
|
||||
assert.equal(stamped1[i].textContent, items[i]);
|
||||
assert.equal(stamped1[i].itemaProp, items[i]);
|
||||
}
|
||||
done();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user