Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html |
deleted file mode 100644 |
index e051e5b963012e20e7d990db517404d7c6851f8a..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../../../resources/js-test.js"></script> |
-</head> |
-<body> |
-<dialog id="test-dialog"></dialog> |
-<script> |
-description("Tests that dialog.returnValue is settable and returns the last value set."); |
- |
-dialog = document.getElementById('test-dialog'); |
-shouldBe("dialog.returnValue", "''"); |
- |
-dialog.returnValue = 'Setting value directly'; |
-shouldBe("dialog.returnValue", "'Setting value directly'"); |
- |
-dialog.returnValue = null; |
-shouldBe("dialog.returnValue", "'null'"); |
- |
-dialog.returnValue = ''; |
-shouldBe("dialog.returnValue", "''"); |
- |
-dialog.returnValue = 7; |
-shouldBe("dialog.returnValue", "'7'"); |
- |
-dialog.show(); |
-dialog.close('Return value set from close()'); |
-shouldBe("dialog.returnValue", "'Return value set from close()'"); |
- |
-dialog.show(); |
-dialog.close(''); |
-shouldBe("dialog.returnValue", "''"); |
- |
-dialog.show(); |
-dialog.close(null); |
-shouldBe("dialog.returnValue", "'null'"); |
- |
-dialog.returnValue = 'Should not change because no argument to close()'; |
-dialog.show(); |
-dialog.close(); |
-shouldBe("dialog.returnValue", "'Should not change because no argument to close()'"); |
- |
-dialog.returnValue = 'Should not change because of undefined argument to close()'; |
-dialog.show(); |
-dialog.close(undefined); |
-shouldBe("dialog.returnValue", "'Should not change because of undefined argument to close()'"); |
- |
-dialog.returnValue = 'Should not change because close() is invalid'; |
-shouldThrow("dialog.close('blah')", '"InvalidStateError: Failed to execute \'close\' on \'HTMLDialogElement\': The element does not have an \'open\' attribute, and therefore cannot be closed."'); |
-shouldBe("dialog.returnValue", "'Should not change because close() is invalid'"); |
-</script> |
-</body> |
-</html> |