Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / HTMLScriptElement / resources / append-child-adopt-node-error-frame.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 function init()
6 {
7     var script = document.createElement("script");
8     script.src = "does-not-exist.js";
9     script.onerror = function () { window.top.done(); };
10     document.body.appendChild(script);
11     var contextDoc = window.top.document.implementation.createDocument("", null);
12     contextDoc.adoptNode(document.documentElement);
13 }
14
15 init();
16 </script>
17 </body>
18 </html>