Commit 7e31bd16 authored by darin@apple.com's avatar darin@apple.com

2008-03-28 Darin Adler <darin@apple.com>

        Reviewed by Sam.

        * fast/encoding/invalid-xml-expected.txt: Update to reflect a true success.
        * fast/encoding/resources/invalid-xml.js: Eliminate race condition by not ending
        the test until the js-test-post.js script has loaded.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3f861464
2008-03-28 Darin Adler <darin@apple.com>
Reviewed by Sam.
* fast/encoding/invalid-xml-expected.txt: Update to reflect a true success.
* fast/encoding/resources/invalid-xml.js: Eliminate race condition by not ending
the test until the js-test-post.js script has loaded.
2008-03-28 Alexey Proskuryakov <ap@webkit.org>
Rubber-stamped by Brady.
......@@ -10,4 +10,7 @@ PASS iframe.contentDocument.documentElement.getElementsByTagName('test').length
Testing: invalid-xml-x-mac-thai.xml
FAIL iframe.contentDocument.documentElement.tagName should be root. Was html.
PASS iframe.contentDocument.documentElement.getElementsByTagName('test').length < 1 is true
PASS successfullyParsed is true
TEST COMPLETE
......@@ -23,10 +23,10 @@ function runNextTest()
if (currentTest >= encodingTests.length) {
var script = document.createElement("script");
script.src = "../js/resources/js-test-post.js";
if (window.layoutTestController)
script.setAttribute("onload", "layoutTestController.notifyDone()");
document.body.appendChild(script);
iframe.parentNode.removeChild(iframe);
if (window.layoutTestController)
layoutTestController.notifyDone();
return;
}
iframe.src = "resources/" + encodingTests[currentTest++];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment