| Index: LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-error-frame.html
|
| diff --git a/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-error-frame.html b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-error-frame.html
|
| index 8d07bd7f308b2c00d63b2c9cddba5d82eb6101b7..3095ba797b34950d7d684de02d426f87f45c6eeb 100644
|
| --- a/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-error-frame.html
|
| +++ b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-error-frame.html
|
| @@ -6,11 +6,10 @@ function init()
|
| {
|
| var script = document.createElement("script");
|
| script.src = "does-not-exist.js";
|
| - script.onerror = function () { console.log('PASS'); };
|
| + script.onerror = function () { window.top.done(); };
|
| document.body.appendChild(script);
|
| - window.top.document.adoptNode(document.documentElement);
|
| -
|
| - window.top.done();
|
| + var contextDoc = window.top.document.implementation.createDocument("", null);
|
| + contextDoc.adoptNode(document.documentElement);
|
| }
|
|
|
| init();
|
|
|