update components
This commit is contained in:
parent
c4dadd58bd
commit
cee4794cd3
64 changed files with 1378 additions and 297 deletions
|
@ -33,6 +33,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<test-dialog>
|
||||
<p>Dialog</p>
|
||||
<div class="buttons">
|
||||
<button extra>extra</button>
|
||||
<button dialog-dismiss>dismiss</button>
|
||||
<button dialog-confirm>confirm</button>
|
||||
</div>
|
||||
|
@ -164,6 +165,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
});
|
||||
});
|
||||
|
||||
test('removing a child element on click does not cause an exception', function(done) {
|
||||
var dialog = fixture('basic');
|
||||
runAfterOpen(dialog, function() {
|
||||
var button = Polymer.dom(dialog).querySelector('[extra]');
|
||||
button.addEventListener('click', function(event) {
|
||||
Polymer.dom(event.target.parentNode).removeChild(event.target);
|
||||
// should not throw exception here
|
||||
done();
|
||||
});
|
||||
button.click();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
suite('a11y', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue