mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
added autoclose worker
This commit is contained in:
parent
d423e54d58
commit
36991b9d79
5 changed files with 38 additions and 0 deletions
8
tests/html/parent.html
Normal file
8
tests/html/parent.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<body>
|
||||
<script>
|
||||
var iframe = document.createElement('iframe');
|
||||
iframe.src = "child.html";
|
||||
iframe.onload = function() { iframe.remove(); }
|
||||
document.body.appendChild(iframe);
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue