Index: LayoutTests/fast/forms/image/image-error-event-crash.html |
diff --git a/LayoutTests/fast/html/font-face-empty-should-not-crash.html b/LayoutTests/fast/forms/image/image-error-event-crash.html |
old mode 100644 |
new mode 100755 |
similarity index 61% |
copy from LayoutTests/fast/html/font-face-empty-should-not-crash.html |
copy to LayoutTests/fast/forms/image/image-error-event-crash.html |
index b23b31cf9339cbfb85414d6a5f9b1f0e61a70b97..340a971d1697bfbe396cee40cd1dde6ded0b9d62 |
--- a/LayoutTests/fast/html/font-face-empty-should-not-crash.html |
+++ b/LayoutTests/fast/forms/image/image-error-event-crash.html |
@@ -1,13 +1,11 @@ |
-<!doctype html> |
+<!DOCTYPE html> |
<html> |
-<head> |
+<body> |
+Test passes if it does not crash. |
+<input id="x" type="image" onerror="x.type=''" src="" /> |
<script> |
if (window.testRunner) |
testRunner.dumpAsText(); |
</script> |
-</head> |
-<body> |
-Test passes if it does not crash. |
-<font face=""></font> |
</body> |
-</html> |
+</html> |