Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: LayoutTests/fast/encoding/resources/invalid-xml.js

Issue 54473004: Make js-test-post a noop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add mac NeedsRebaselines Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698