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

Unified Diff: third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html

Issue 2967343002: Convert svg/foreignObject/viewport-foreignobject-crash.html using testharness. (Closed)
Patch Set: Created 3 years, 5 months 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html b/third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html
index fc2297d64aec52a9e8884cc846fedc1f223add13..4a61f67f66f2d2fab7a9d4dddc92ea2b20febfef 100644
--- a/third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html
+++ b/third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html
@@ -1,6 +1,9 @@
<html>
<body>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
<script>
+var t = async_test();
var script = document.getElementsByTagName("script")[0];
script.parentNode.removeChild(script);
@@ -13,7 +16,7 @@ function crash() {
document.execCommand('InsertHTML', false, document.body.innerHTML);
if (count == 1) {
document.removeEventListener("DOMNodeInserted", crash, false);
- document.body.innerHTML = "PASS";
+ t.done();
return;
}
count += 1;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/foreignObject/viewport-foreignobject-crash-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698