| Index: LayoutTests/fast/encoding/resources/invalid-xml.js
|
| diff --git a/LayoutTests/fast/encoding/resources/invalid-xml.js b/LayoutTests/fast/encoding/resources/invalid-xml.js
|
| index 0d1ca7c4a8ffb952b88ddc2e6d902be1d1c9e1ba..80af08bca03646913c49d1b77225949c3d2bcdda 100644
|
| --- a/LayoutTests/fast/encoding/resources/invalid-xml.js
|
| +++ b/LayoutTests/fast/encoding/resources/invalid-xml.js
|
| @@ -21,17 +21,14 @@ var encodingTests = [
|
| function runNextTest()
|
| {
|
| if (currentTest >= encodingTests.length) {
|
| - var script = document.createElement("script");
|
| - script.src = "../js/resources/js-test-post.js";
|
| - if (window.testRunner)
|
| - script.setAttribute("onload", "testRunner.notifyDone()");
|
| - document.body.appendChild(script);
|
| iframe.parentNode.removeChild(iframe);
|
| + finishJSTest();
|
| return;
|
| }
|
| iframe.src = "resources/" + encodingTests[currentTest++];
|
| }
|
|
|
| +window.jsTestIsAsync = true;
|
| if (window.testRunner)
|
| testRunner.waitUntilDone();
|
|
|
|
|