Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / custom / resources / import-custom-element-abort-child.html
blobb1bfbb3b4f4d498bfc67a9cbc216c31e53c1b9fc
1 <!DOCTYPE html>
2 <script>
3 (function() {
4 var proto = Object.create(HTMLElement.prototype);
5 proto.createdCallback = function () {
6 if (this.id == 'abortIt') {
7 window.parent.checkLater();
8 var e = window.frameElement
9 e.parentNode.removeChild(e);
13 var ctor = document.registerElement('x-a', {prototype: proto});
14 })();
15 </script>
16 <x-a></x-a>
17 <x-a></x-a>
18 <x-a id="abortIt"></x-a>
19 <x-a></x-a>
20 <x-a></x-a>